Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
Noah
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Noah
Commits
27dfe15e
Commit
27dfe15e
authored
Apr 18, 2011
by
John E. Vincent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bumping version. prerelase gem cut
parent
455220e0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
Rakefile
Rakefile
+0
-1
applications.rb
lib/noah/routes/applications.rb
+6
-6
version.rb
lib/noah/version.rb
+1
-1
noah.gemspec
noah.gemspec
+2
-1
No files found.
Rakefile
View file @
27dfe15e
...
...
@@ -11,7 +11,6 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
spec
.
pattern
=
FileList
[
'spec/**/*_spec.rb'
]
end
task
:default
=>
:run
task
:test
=>
:run
...
...
lib/noah/routes/applications.rb
View file @
27dfe15e
...
...
@@ -2,12 +2,9 @@ class Noah::App
# Application URIs
get
'/applications/:appname/:config/?'
do
|
appname
,
config
|
app
=
Noah
::
Application
.
find
(
:name
=>
appname
).
first
if
app
.
nil?
halt
404
else
c
=
app
.
configurations
.
find
(
:name
=>
config
).
first
c
.
to_json
end
(
halt
404
)
if
app
.
nil?
c
=
app
.
configurations
.
find
(
:name
=>
config
).
first
c
.
to_json
end
get
'/applications/:appname/?'
do
|
appname
|
...
...
@@ -66,6 +63,9 @@ class Noah::App
r
.
to_json
end
delete
'/applications/:appname/configurations/:configname/?'
do
|
appname
,
configname
|
end
get
'/applications/?'
do
apps
=
Noah
::
Applications
.
all
(
halt
404
)
if
apps
.
size
==
0
...
...
lib/noah/version.rb
View file @
27dfe15e
module
Noah
VERSION
=
"0.
4
"
VERSION
=
"0.
6
"
end
noah.gemspec
View file @
27dfe15e
...
...
@@ -4,7 +4,8 @@ require "noah/version"
Gem
::
Specification
.
new
do
|
s
|
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 = "jruby"
s
.
authors
=
[
"John E. Vincent"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment