oxidized-web 0.0.3 → 0.1.0

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: 718bec64d63397b38a6bb90009f7b572441bc1fe
4
- data.tar.gz: efeece58702e4cc3127327c5ea4c5e1bf26b8baf
3
+ metadata.gz: edf7b49826a7eb1a122b20403baf32ee209d1f90
4
+ data.tar.gz: 5fbb830d5e6fbf54a8b67fb91e5aae43bef15304
5
5
  SHA512:
6
- metadata.gz: 590704d01ca7380536100d51c644c784b9df0b82b929d0e133d64a2b71514cb3ed1f5e3154e006e11df82a5e204f2a3641bd66e5e9780f9096f1aed29c8ed3a4
7
- data.tar.gz: f3202b617bfddb9a154fb5069ac89c75a50564f2ad719eb27cf949339a42018b6fd4046938517588da505fa2d7cf8ff9be6f4b400195b05ba6f223d4986decff
6
+ metadata.gz: 4974fa3a4c4687f2e6c5e7098472b9eee1ea46bba2ebfbda98e9568280a168a77237ffcbc08a47ebf77a9841cae5ddd697eb00f394979d14e51724cbb017f266
7
+ data.tar.gz: 1fff2d4537ea72edd634946728d11a54b38c3954a1a2a2fb39772d2ee771523ee913302c053aeedd3584bff59e1d216e04f8be00e324dbcf992bcea815a78eaa
data/Rakefile CHANGED
@@ -43,4 +43,5 @@ end
43
43
  desc 'Push to rubygems'
44
44
  task :push do
45
45
  system "gem push gems/#{file}"
46
+ system "git tag #{gemspec.version}"
46
47
  end
@@ -40,8 +40,12 @@ module Oxidized
40
40
  end
41
41
 
42
42
  get '/node/fetch/:node' do
43
- node, @json = route_parse :node
44
- @data = nodes.fetch node, nil
43
+ begin
44
+ node, @json = route_parse :node
45
+ @data = nodes.fetch node, nil
46
+ rescue NodeNotFound => error
47
+ @data = error.message
48
+ end
45
49
  out :text
46
50
  end
47
51
 
data/oxidized-web.gemspec CHANGED
@@ -1,6 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'oxidized-web'
3
- s.version = '0.0.3'
3
+ s.version = '0.1.0'
4
+ s.licenses = %w( Apache-2.0 )
4
5
  s.platform = Gem::Platform::RUBY
5
6
  s.authors = [ 'Saku Ytti' ]
6
7
  s.email = %w( saku@ytti.fi )
@@ -12,10 +13,11 @@ Gem::Specification.new do |s|
12
13
  s.executables = %w( )
13
14
  s.require_path = 'lib'
14
15
 
15
- s.add_dependency 'oxidized', '>= 0.0.57'
16
- s.add_dependency 'puma'
17
- s.add_dependency 'sinatra'
18
- s.add_dependency 'sinatra-contrib'
19
- s.add_dependency 'haml'
20
- s.add_dependency 'sass'
16
+ s.required_ruby_version = '>= 1.9.3'
17
+ s.add_runtime_dependency 'oxidized', '~> 0.2.2'
18
+ s.add_runtime_dependency 'puma', '~> 2.8'
19
+ s.add_runtime_dependency 'sinatra', '~> 1.4'
20
+ s.add_runtime_dependency 'sinatra-contrib', '~> 1.4'
21
+ s.add_runtime_dependency 'haml', '~> 4.0'
22
+ s.add_runtime_dependency 'sass', '~> 3.3'
21
23
  end
metadata CHANGED
@@ -1,99 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxidized-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
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-05-07 00:00:00.000000000 Z
11
+ date: 2014-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oxidized
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 0.0.57
19
+ version: 0.2.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 0.0.57
26
+ version: 0.2.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: puma
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '2.8'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '2.8'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sinatra
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '1.4'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '1.4'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sinatra-contrib
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '1.4'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '1.4'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: haml
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '4.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '4.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: sass
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '3.3'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '3.3'
97
97
  description: puma+sinatra+haml webUI + REST API for oxidized
98
98
  email:
99
99
  - saku@ytti.fi
@@ -115,7 +115,8 @@ files:
115
115
  - lib/oxidized/web/webapp.rb
116
116
  - oxidized-web.gemspec
117
117
  homepage: http://github.com/ytti/oxidized-web
118
- licenses: []
118
+ licenses:
119
+ - Apache-2.0
119
120
  metadata: {}
120
121
  post_install_message:
121
122
  rdoc_options: []
@@ -125,7 +126,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
126
  requirements:
126
127
  - - '>='
127
128
  - !ruby/object:Gem::Version
128
- version: '0'
129
+ version: 1.9.3
129
130
  required_rubygems_version: !ruby/object:Gem::Requirement
130
131
  requirements:
131
132
  - - '>='