Commit 27dfe15e authored by John E. Vincent's avatar John E. Vincent

bumping version. prerelase gem cut

parent 455220e0
...@@ -11,7 +11,6 @@ RSpec::Core::RakeTask.new(:spec) do |spec| ...@@ -11,7 +11,6 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb'] spec.pattern = FileList['spec/**/*_spec.rb']
end end
task :default => :run task :default => :run
task :test => :run task :test => :run
......
...@@ -2,12 +2,9 @@ class Noah::App ...@@ -2,12 +2,9 @@ class Noah::App
# Application URIs # Application URIs
get '/applications/:appname/:config/?' do |appname, config| get '/applications/:appname/:config/?' do |appname, config|
app = Noah::Application.find(:name => appname).first app = Noah::Application.find(:name => appname).first
if app.nil? (halt 404) if app.nil?
halt 404 c = app.configurations.find(:name => config).first
else c.to_json
c = app.configurations.find(:name => config).first
c.to_json
end
end end
get '/applications/:appname/?' do |appname| get '/applications/:appname/?' do |appname|
...@@ -66,6 +63,9 @@ class Noah::App ...@@ -66,6 +63,9 @@ class Noah::App
r.to_json r.to_json
end end
delete '/applications/:appname/configurations/:configname/?' do |appname, configname|
end
get '/applications/?' do get '/applications/?' do
apps = Noah::Applications.all apps = Noah::Applications.all
(halt 404) if apps.size == 0 (halt 404) if apps.size == 0
......
module Noah module Noah
VERSION = "0.4" VERSION = "0.6"
end end
...@@ -4,7 +4,8 @@ require "noah/version" ...@@ -4,7 +4,8 @@ require "noah/version"
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "noah" s.name = "noah"
s.version = Noah::VERSION s.version = "#{Noah::VERSION}.pre"
s.post_install_message = %q{This release has backwards incompatible changes to the API. Please watch http://goo.gl/jYqp2 for details}
s.platform = Gem::Platform::RUBY s.platform = Gem::Platform::RUBY
#s.platform = "jruby" #s.platform = "jruby"
s.authors = ["John E. Vincent"] s.authors = ["John E. Vincent"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment