rack-oauth2 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20418667bda9c0f30843d9c378f39d99daa1791f
4
- data.tar.gz: 33594f1506cd93c3e47e113bd0201360cc811509
3
+ metadata.gz: d323b7513cd60355bbdf46ce163a68f6e75f63cb
4
+ data.tar.gz: f508b741b88d65f5bf09ab18d6b679014cfacb3d
5
5
  SHA512:
6
- metadata.gz: f0f8f9efc3a36d4159f357b32a65f340c54892424713eb8a42dea00b278b22237dbd7d2ed4b36061d2b969265c3ced0ef2d9bcfa913fa3af9130380f66a7c627
7
- data.tar.gz: 7971e3390e47f863cb676a09a1d1897fb8ae2a28a68587dca2bff279746b50b1ded7a71c641b9854a0ca61a0e7e8178720f1312d4e6c85ffdcaf7db6d83ba741
6
+ metadata.gz: fc1f0130aecb1bb3eb84d5b2f4bf49ff22de41b21cbb64bbf150e6c98c9e5d89cfe61fda81757f180cabe96d3e630c2e9a502375c2a0e96da3f9ba3634aa7ab0
7
+ data.tar.gz: 1d2ab83033f3609f6a0458034917fcc1954ff419cd77e247c4d06fb0de2008192ebd5e1aa9d9804e8a05d7269586ed6f924972087d0e3d0b8863b4d92b91d78e
data/Rakefile CHANGED
@@ -4,22 +4,16 @@ Bundler::GemHelper.install_tasks
4
4
  require 'rspec/core/rake_task'
5
5
  RSpec::Core::RakeTask.new(:spec)
6
6
 
7
- if RUBY_VERSION >= '1.9'
8
- namespace :cover_me do
9
- desc "Generates and opens code coverage report."
10
- task :report do
11
- require 'cover_me'
12
- CoverMe.complete!
13
- end
14
- end
15
- task :spec do
16
- Rake::Task['cover_me:report'].invoke unless ENV['TRAVIS_RUBY_VERSION']
17
- end
18
- else
19
- RSpec::Core::RakeTask.new(:rcov) do |spec|
20
- spec.rcov = true
21
- spec.rcov_opts = ['-Ilib -Ispec --exclude spec,gems']
7
+ namespace :coverage do
8
+ desc "Open coverage report"
9
+ task :report do
10
+ require 'simplecov'
11
+ `open "#{File.join SimpleCov.coverage_path, 'index.html'}"`
22
12
  end
23
13
  end
24
14
 
15
+ task :spec do
16
+ Rake::Task[:'coverage:report'].invoke unless ENV['TRAVIS_RUBY_VERSION']
17
+ end
18
+
25
19
  task :default => :spec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.7
1
+ 1.0.8
@@ -2,7 +2,7 @@ require 'rack'
2
2
  require 'multi_json'
3
3
  require 'httpclient'
4
4
  require 'logger'
5
- require 'active_support/core_ext'
5
+ require 'active_support/all'
6
6
  require 'attr_required'
7
7
  require 'attr_optional'
8
8
 
@@ -9,6 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.extra_rdoc_files = ["LICENSE", "README.rdoc"]
10
10
  s.rdoc_options = ["--charset=UTF-8"]
11
11
  s.homepage = "http://github.com/nov/rack-oauth2"
12
+ s.license = 'MIT'
12
13
  s.require_paths = ["lib"]
13
14
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
14
15
  s.files = `git ls-files`.split("\n")
@@ -19,11 +20,7 @@ Gem::Specification.new do |s|
19
20
  s.add_runtime_dependency "activesupport", ">= 2.3"
20
21
  s.add_runtime_dependency "attr_required", ">= 0.0.5"
21
22
  s.add_development_dependency "rake", ">= 0.8"
22
- if RUBY_VERSION >= '1.9'
23
- s.add_development_dependency "cover_me", ">= 1.2.0"
24
- else
25
- s.add_development_dependency "rcov", ">= 0.9"
26
- end
23
+ s.add_development_dependency "simplecov"
27
24
  s.add_development_dependency "rspec", ">= 2"
28
25
  s.add_development_dependency "webmock", ">= 1.6.2"
29
26
  end
@@ -1,5 +1,7 @@
1
- if RUBY_VERSION >= '1.9'
2
- require 'cover_me'
1
+ require 'simplecov'
2
+
3
+ SimpleCov.start do
4
+ add_filter 'spec'
3
5
  end
4
6
 
5
7
  require 'rspec'
metadata CHANGED
@@ -1,139 +1,139 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - nov matake
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-21 00:00:00.000000000 Z
11
+ date: 2014-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.1'
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
26
  version: '1.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: multi_json
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.3.6
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
40
  version: 1.3.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: httpclient
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 2.2.0.2
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
54
  version: 2.2.0.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: activesupport
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '2.3'
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
68
  version: '2.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: attr_required
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: 0.0.5
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
82
  version: 0.0.5
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0.8'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.8'
97
97
  - !ruby/object:Gem::Dependency
98
- name: cover_me
98
+ name: simplecov
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 1.2.0
103
+ version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 1.2.0
110
+ version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rspec
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '2'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '2'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: webmock
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: 1.6.2
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: 1.6.2
139
139
  description: OAuth 2.0 Server & Client Library. Both Bearer and MAC token type are
@@ -145,10 +145,10 @@ extra_rdoc_files:
145
145
  - LICENSE
146
146
  - README.rdoc
147
147
  files:
148
- - .document
149
- - .gitignore
150
- - .rspec
151
- - .travis.yml
148
+ - ".document"
149
+ - ".gitignore"
150
+ - ".rspec"
151
+ - ".travis.yml"
152
152
  - Gemfile
153
153
  - LICENSE
154
154
  - README.rdoc
@@ -249,26 +249,27 @@ files:
249
249
  - spec/rack/oauth2/util_spec.rb
250
250
  - spec/spec_helper.rb
251
251
  homepage: http://github.com/nov/rack-oauth2
252
- licenses: []
252
+ licenses:
253
+ - MIT
253
254
  metadata: {}
254
255
  post_install_message:
255
256
  rdoc_options:
256
- - --charset=UTF-8
257
+ - "--charset=UTF-8"
257
258
  require_paths:
258
259
  - lib
259
260
  required_ruby_version: !ruby/object:Gem::Requirement
260
261
  requirements:
261
- - - '>='
262
+ - - ">="
262
263
  - !ruby/object:Gem::Version
263
264
  version: '0'
264
265
  required_rubygems_version: !ruby/object:Gem::Requirement
265
266
  requirements:
266
- - - '>='
267
+ - - ">="
267
268
  - !ruby/object:Gem::Version
268
269
  version: 1.3.6
269
270
  requirements: []
270
271
  rubyforge_project:
271
- rubygems_version: 2.0.3
272
+ rubygems_version: 2.2.2
272
273
  signing_key:
273
274
  specification_version: 4
274
275
  summary: OAuth 2.0 Server & Client Library - Both Bearer and MAC token type are supported