interpol 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -12,9 +12,13 @@ if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'ruby' # MRI only
12
12
 
13
13
  desc "Run cane to check quality metrics"
14
14
  Cane::RakeTask.new(:quality) do |cane|
15
- cane.abc_max = 16
15
+ cane.abc_max = 13
16
16
  cane.add_threshold 'coverage/coverage_percent.txt', :==, 100
17
17
  cane.style_measure = 100
18
+
19
+ cane.abc_exclude = %w[
20
+ Interpol::Endpoint#definitions
21
+ ]
18
22
  end
19
23
  else
20
24
  task(:quality) { } # no-op
@@ -105,6 +105,10 @@ module Interpol
105
105
  erb :layout, :locals => { :endpoints => endpoints,
106
106
  :current_endpoint => current_endpoint }
107
107
  end
108
+
109
+ def self.name
110
+ "Interpol::DocumentationApp (anonymous)"
111
+ end
108
112
  end
109
113
  end
110
114
  end
@@ -39,6 +39,10 @@ module Interpol
39
39
  not_found { JSON.dump(:error => "The requested resource could not be found") }
40
40
  before { content_type "application/json;charset=utf-8" }
41
41
  get('/__ping') { JSON.dump(:message => "Interpol stub app running.") }
42
+
43
+ def self.name
44
+ "Interpol::StubApp (anonymous)"
45
+ end
42
46
  end
43
47
  end
44
48
 
@@ -1,3 +1,3 @@
1
1
  module Interpol
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: interpol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-03 00:00:00.000000000 Z
12
+ date: 2012-09-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json-schema
@@ -98,7 +98,7 @@ dependencies:
98
98
  requirements:
99
99
  - - ~>
100
100
  - !ruby/object:Gem::Version
101
- version: '1.2'
101
+ version: '2.0'
102
102
  type: :development
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ dependencies:
106
106
  requirements:
107
107
  - - ~>
108
108
  - !ruby/object:Gem::Version
109
- version: '1.2'
109
+ version: '2.0'
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: tailor
112
112
  requirement: !ruby/object:Gem::Requirement
@@ -218,7 +218,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
218
218
  version: '0'
219
219
  segments:
220
220
  - 0
221
- hash: 3468144605140067563
221
+ hash: -521228935891374364
222
222
  required_rubygems_version: !ruby/object:Gem::Requirement
223
223
  none: false
224
224
  requirements:
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  version: '0'
228
228
  segments:
229
229
  - 0
230
- hash: 3468144605140067563
230
+ hash: -521228935891374364
231
231
  requirements: []
232
232
  rubyforge_project:
233
233
  rubygems_version: 1.8.24