oxidized-web 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of oxidized-web might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9432a750c5845ae7ca7f16c2befa4a66e28944e2
4
- data.tar.gz: 9b2b2f27da6047b0a16cddd055e49693e5c20f74
3
+ metadata.gz: 68c88e5da60966a0371cfc8cf1dbe53f8a09d235
4
+ data.tar.gz: 94157b732eacd3f5e8c21e1d3e7e5bb2f22b7d70
5
5
  SHA512:
6
- metadata.gz: 4919234de5e447d6811f1413a3bcd1cded9731663563c19fe55268c4552d76bd91ddd51aad39aae20813986ca602a6e8885fdc0388c934282d077fbf82ebdc9e
7
- data.tar.gz: e3612d188d480ea5a95ffc0bd4446f23182607934de63226b16881c4e6e54b115e25a68da424fcb41da4e3ffbf3b18cae43c8cb7e4454378cffefccc7a4931d6
6
+ metadata.gz: 152831649ea9a713fd82074df3ef8dfcd3af079ddbf97f34c4215143554382bbf352ede7f36274daf974070bda80bdec9845c467535317f9780c1ba6c15b4df5
7
+ data.tar.gz: 4a6d350d9b91cf5e24f78c92b980e5d06a22e940ac912ab8298820df115b43db4b80b341f3e858cf326d65d25fc1d354fe252b14eba3ff9b485fbd68246f2170
data/Rakefile CHANGED
@@ -1,10 +1,9 @@
1
1
  begin
2
2
  require 'rake/testtask'
3
3
  require 'bundler'
4
- Bundler.setup
4
+ # Bundler.setup
5
5
  rescue LoadError
6
6
  warn 'bunler missing'
7
- exit 42
8
7
  end
9
8
 
10
9
  gemspec = eval(File.read(Dir['*.gemspec'].first))
@@ -33,7 +32,7 @@ end
33
32
 
34
33
  desc 'Install gem'
35
34
  task :install => :build do
36
- system "sudo -E sh -c \'umask 022; gem install gems/#{file}\'"
35
+ system "sudo -Es sh -c \'umask 022; gem install gems/#{file}\'"
37
36
  end
38
37
 
39
38
  desc 'Remove gems'
@@ -47,7 +47,10 @@ module Oxidized
47
47
 
48
48
  get '/node/next/:node' do
49
49
  node, @json = route_parse :node
50
- nodes.next node
50
+ begin
51
+ nodes.next node
52
+ rescue NodeNotFound
53
+ end
51
54
  redirect '/nodes' unless @json
52
55
  @data = 'ok'
53
56
  out
data/oxidized-web.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'oxidized-web'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = [ 'Saku Ytti' ]
6
6
  s.email = %w( saku@ytti.fi )
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxidized-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saku Ytti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-16 00:00:00.000000000 Z
11
+ date: 2014-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oxidized
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  version: '0'
133
133
  requirements: []
134
134
  rubyforge_project: oxidized-web
135
- rubygems_version: 2.0.3
135
+ rubygems_version: 2.0.14
136
136
  signing_key:
137
137
  specification_version: 4
138
138
  summary: sinatra API + webUI for oxidized