summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-03-14 20:48:49 +0200
committerSaku Ytti <saku@ytti.fi>2014-03-14 20:48:49 +0200
commit37ef9b055c9bd0504bb969f91ed35588cacc6002 (patch)
treeaa0e8717543a777baad154e9b2672c26cb5d2e94
parentc045382479da3ec369e54bab678056cad804a343 (diff)
Update to match the new sinatra/puma API
-rw-r--r--Gemfile.lock57
-rw-r--r--extra/rest_client.rb2
2 files changed, 1 insertions, 58 deletions
diff --git a/Gemfile.lock b/Gemfile.lock
deleted file mode 100644
index 54ace4b..0000000
--- a/Gemfile.lock
+++ /dev/null
@@ -1,57 +0,0 @@
-PATH
- remote: .
- specs:
- oxidized (0.0.37)
- grit
- haml
- net-ssh
- puma
- sass
- sequel
- sinatra
- sinatra-contrib
- sqlite3
-
-GEM
- remote: https://rubygems.org/
- specs:
- backports (3.6.0)
- diff-lcs (1.2.5)
- grit (2.5.0)
- diff-lcs (~> 1.1)
- mime-types (~> 1.15)
- posix-spawn (~> 0.3.6)
- haml (4.0.5)
- tilt
- mime-types (1.25)
- multi_json (1.8.4)
- net-ssh (2.8.0)
- posix-spawn (0.3.8)
- puma (2.7.1)
- rack (>= 1.1, < 2.0)
- rack (1.5.2)
- rack-protection (1.5.2)
- rack
- rack-test (0.6.2)
- rack (>= 1.0)
- sass (3.2.14)
- sequel (4.7.0)
- sinatra (1.4.4)
- rack (~> 1.4)
- rack-protection (~> 1.4)
- tilt (~> 1.3, >= 1.3.4)
- sinatra-contrib (1.4.2)
- backports (>= 2.0)
- multi_json
- rack-protection
- rack-test
- sinatra (~> 1.4.0)
- tilt (~> 1.3)
- sqlite3 (1.3.8)
- tilt (1.4.1)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- oxidized!
diff --git a/extra/rest_client.rb b/extra/rest_client.rb
index 19f2439..a16bd42 100644
--- a/extra/rest_client.rb
+++ b/extra/rest_client.rb
@@ -18,7 +18,7 @@ module Oxidized
def next opt
data = JSON.dump opt
- @web.put '/nodes/next/' + opt[:name].to_s, data
+ @web.put '/node/next/' + opt[:name].to_s, data
end
end