ops 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile CHANGED
@@ -7,6 +7,7 @@ group :development, :test do
7
7
  gem 'rails'
8
8
  gem 'rails-api'
9
9
  gem 'rspec'
10
+ gem 'rack-test'
10
11
  end
11
12
 
12
13
  group :test do
data/Gemfile.lock CHANGED
@@ -1,121 +1,116 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ops (0.2.1)
5
- sinatra (>= 1.3.3)
6
- sinatra-respond_to (>= 0.8.0)
4
+ ops (0.3.0)
5
+ sinatra (>= 1.2.0)
6
+ sinatra-respond_to (>= 0.7.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionmailer (3.2.9)
12
- actionpack (= 3.2.9)
13
- mail (~> 2.4.4)
14
- actionpack (3.2.9)
15
- activemodel (= 3.2.9)
16
- activesupport (= 3.2.9)
17
- builder (~> 3.0.0)
11
+ actionmailer (4.0.0)
12
+ actionpack (= 4.0.0)
13
+ mail (~> 2.5.3)
14
+ actionpack (4.0.0)
15
+ activesupport (= 4.0.0)
16
+ builder (~> 3.1.0)
18
17
  erubis (~> 2.7.0)
19
- journey (~> 1.0.4)
20
- rack (~> 1.4.0)
21
- rack-cache (~> 1.2)
22
- rack-test (~> 0.6.1)
23
- sprockets (~> 2.2.1)
24
- activemodel (3.2.9)
25
- activesupport (= 3.2.9)
26
- builder (~> 3.0.0)
27
- activerecord (3.2.9)
28
- activemodel (= 3.2.9)
29
- activesupport (= 3.2.9)
30
- arel (~> 3.0.2)
31
- tzinfo (~> 0.3.29)
32
- activeresource (3.2.9)
33
- activemodel (= 3.2.9)
34
- activesupport (= 3.2.9)
35
- activesupport (3.2.9)
36
- i18n (~> 0.6)
37
- multi_json (~> 1.0)
38
- arel (3.0.2)
39
- builder (3.0.4)
40
- diff-lcs (1.1.3)
18
+ rack (~> 1.5.2)
19
+ rack-test (~> 0.6.2)
20
+ activemodel (4.0.0)
21
+ activesupport (= 4.0.0)
22
+ builder (~> 3.1.0)
23
+ activerecord (4.0.0)
24
+ activemodel (= 4.0.0)
25
+ activerecord-deprecated_finders (~> 1.0.2)
26
+ activesupport (= 4.0.0)
27
+ arel (~> 4.0.0)
28
+ activerecord-deprecated_finders (1.0.3)
29
+ activesupport (4.0.0)
30
+ i18n (~> 0.6, >= 0.6.4)
31
+ minitest (~> 4.2)
32
+ multi_json (~> 1.3)
33
+ thread_safe (~> 0.1)
34
+ tzinfo (~> 0.3.37)
35
+ arel (4.0.0)
36
+ atomic (1.1.10)
37
+ builder (3.1.4)
38
+ diff-lcs (1.2.4)
41
39
  erubis (2.7.0)
42
- hike (1.2.1)
43
- i18n (0.6.1)
44
- journey (1.0.4)
45
- json (1.7.5)
46
- mail (2.4.4)
47
- i18n (>= 0.4.0)
40
+ hike (1.2.3)
41
+ i18n (0.6.4)
42
+ mail (2.5.4)
48
43
  mime-types (~> 1.16)
49
44
  treetop (~> 1.4.8)
50
- mime-types (1.19)
51
- multi_json (1.3.7)
45
+ mime-types (1.23)
46
+ minitest (4.7.5)
47
+ multi_json (1.7.7)
52
48
  polyglot (0.3.3)
53
- rack (1.4.1)
54
- rack-cache (1.2)
55
- rack (>= 0.4)
49
+ rack (1.5.2)
56
50
  rack-protection (1.5.0)
57
51
  rack
58
- rack-ssl (1.3.2)
59
- rack
60
52
  rack-test (0.6.2)
61
53
  rack (>= 1.0)
62
- rails (3.2.9)
63
- actionmailer (= 3.2.9)
64
- actionpack (= 3.2.9)
65
- activerecord (= 3.2.9)
66
- activeresource (= 3.2.9)
67
- activesupport (= 3.2.9)
68
- bundler (~> 1.0)
69
- railties (= 3.2.9)
70
- rails-api (0.0.2)
71
- actionpack (>= 3.2.0)
72
- railties (>= 3.2.0)
54
+ rails (4.0.0)
55
+ actionmailer (= 4.0.0)
56
+ actionpack (= 4.0.0)
57
+ activerecord (= 4.0.0)
58
+ activesupport (= 4.0.0)
59
+ bundler (>= 1.3.0, < 2.0)
60
+ railties (= 4.0.0)
61
+ sprockets-rails (~> 2.0.0)
62
+ rails-api (0.1.0)
63
+ actionpack (>= 3.2.11)
64
+ railties (>= 3.2.11)
73
65
  tzinfo (~> 0.3.31)
74
- railties (3.2.9)
75
- actionpack (= 3.2.9)
76
- activesupport (= 3.2.9)
77
- rack-ssl (~> 1.3.2)
66
+ railties (4.0.0)
67
+ actionpack (= 4.0.0)
68
+ activesupport (= 4.0.0)
78
69
  rake (>= 0.8.7)
79
- rdoc (~> 3.4)
80
- thor (>= 0.14.6, < 2.0)
81
- rake (10.0.2)
82
- rdoc (3.12)
83
- json (~> 1.4)
84
- rspec (2.12.0)
85
- rspec-core (~> 2.12.0)
86
- rspec-expectations (~> 2.12.0)
87
- rspec-mocks (~> 2.12.0)
88
- rspec-core (2.12.0)
89
- rspec-expectations (2.12.0)
90
- diff-lcs (~> 1.1.3)
91
- rspec-mocks (2.12.0)
70
+ thor (>= 0.18.1, < 2.0)
71
+ rake (10.1.0)
72
+ rspec (2.14.1)
73
+ rspec-core (~> 2.14.0)
74
+ rspec-expectations (~> 2.14.0)
75
+ rspec-mocks (~> 2.14.0)
76
+ rspec-core (2.14.4)
77
+ rspec-expectations (2.14.0)
78
+ diff-lcs (>= 1.1.3, < 2.0)
79
+ rspec-mocks (2.14.2)
92
80
  simplecov (0.7.1)
93
81
  multi_json (~> 1.0)
94
82
  simplecov-html (~> 0.7.1)
95
83
  simplecov-html (0.7.1)
96
- sinatra (1.3.6)
84
+ sinatra (1.4.3)
97
85
  rack (~> 1.4)
98
- rack-protection (~> 1.3)
99
- tilt (~> 1.3, >= 1.3.3)
86
+ rack-protection (~> 1.4)
87
+ tilt (~> 1.3, >= 1.3.4)
100
88
  sinatra-respond_to (0.9.0)
101
89
  sinatra (~> 1.3)
102
- sprockets (2.2.1)
90
+ sprockets (2.10.0)
103
91
  hike (~> 1.2)
104
92
  multi_json (~> 1.0)
105
93
  rack (~> 1.0)
106
94
  tilt (~> 1.1, != 1.3.0)
107
- thor (0.16.0)
108
- tilt (1.3.3)
109
- treetop (1.4.12)
95
+ sprockets-rails (2.0.0)
96
+ actionpack (>= 3.0)
97
+ activesupport (>= 3.0)
98
+ sprockets (~> 2.8)
99
+ thor (0.18.1)
100
+ thread_safe (0.1.2)
101
+ atomic
102
+ tilt (1.4.1)
103
+ treetop (1.4.14)
110
104
  polyglot
111
105
  polyglot (>= 0.3.1)
112
- tzinfo (0.3.35)
106
+ tzinfo (0.3.37)
113
107
 
114
108
  PLATFORMS
115
109
  ruby
116
110
 
117
111
  DEPENDENCIES
118
112
  ops!
113
+ rack-test
119
114
  rails
120
115
  rails-api
121
116
  rake
data/lib/ops/server.rb CHANGED
@@ -20,7 +20,9 @@ module Ops
20
20
  @previous_versions = @version.previous_versions
21
21
  @headers = @version.headers
22
22
  respond_to do |wants|
23
- wants.html { erb :version }
23
+ wants.html do
24
+ erb :version
25
+ end
24
26
  wants.json do
25
27
  JSON.generate({
26
28
  version: @version.version_or_branch,
data/lib/ops/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ops
2
- VERSION = '0.2.1'
2
+ VERSION = '0.3.0'
3
3
  end
data/lib/ops.rb CHANGED
@@ -11,9 +11,9 @@ module Ops
11
11
  end
12
12
 
13
13
  def rack_app(path)
14
- Rack::Builder.new {
15
- map(path) { run Ops.new }
16
- }.to_app
14
+ Rack::Builder.new {
15
+ map(path) { run Ops.new }
16
+ }.to_app
17
17
  end
18
18
  end
19
19
  end
data/ops.gemspec CHANGED
@@ -17,6 +17,6 @@ Gem::Specification.new do |gem|
17
17
  gem.require_paths = ["lib"]
18
18
  gem.version = Ops::VERSION
19
19
  gem.required_ruby_version = '>= 1.9'
20
- gem.add_dependency 'sinatra', '>= 1.3.3'
21
- gem.add_dependency 'sinatra-respond_to', '>= 0.8.0'
20
+ gem.add_dependency 'sinatra', '>= 1.2.0'
21
+ gem.add_dependency 'sinatra-respond_to', '>= 0.7.0'
22
22
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ops
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.3.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Michael Pelz-Sherman
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-07-12 00:00:00.000000000 Z
15
+ date: 2013-08-01 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  prerelease: false
@@ -22,13 +22,13 @@ dependencies:
22
22
  requirements:
23
23
  - - ! '>='
24
24
  - !ruby/object:Gem::Version
25
- version: 1.3.3
25
+ version: 1.2.0
26
26
  none: false
27
27
  requirement: !ruby/object:Gem::Requirement
28
28
  requirements:
29
29
  - - ! '>='
30
30
  - !ruby/object:Gem::Version
31
- version: 1.3.3
31
+ version: 1.2.0
32
32
  none: false
33
33
  - !ruby/object:Gem::Dependency
34
34
  prerelease: false
@@ -38,13 +38,13 @@ dependencies:
38
38
  requirements:
39
39
  - - ! '>='
40
40
  - !ruby/object:Gem::Version
41
- version: 0.8.0
41
+ version: 0.7.0
42
42
  none: false
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.8.0
47
+ version: 0.7.0
48
48
  none: false
49
49
  description: This gem provides standardized support for obtaining version and heartbeat
50
50
  information from Sinatra or Rails-based web applications.
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  segments:
138
138
  - 0
139
- hash: 3108276510238077047
139
+ hash: -23964737425980144
140
140
  version: '0'
141
141
  none: false
142
142
  requirements: []