orcid 0.8.1 → 0.8.2

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: e325b389824d646a737db51751aea1ffe7bc2869
4
- data.tar.gz: 336b4bd518961b2f784f948f47bf70afcd252baa
3
+ metadata.gz: be9ad04a8c327b62e782d442e012920e824e3054
4
+ data.tar.gz: fad8d6daf69492a8cf851257e8879562f6219876
5
5
  SHA512:
6
- metadata.gz: f7f07ca24430ed0063f5cfb9bb4dc615263f5c401fc2a406f246f996444f737e31a9ac17960ec11a603be0a9322cb8ec33b873f67f9d1215d3461d123eebffc1
7
- data.tar.gz: e22ac42cc8be96e67a0e720b6388c54ceb9d79c8e9dbe4ac24b1dac17773383f7d057a681ff598475179654694e3169a0a1119ddbebd9aaf119177d6c879c6a0
6
+ metadata.gz: 8ddfbeef40f5ec7c9a810f4ecea25b6d8b968e6e36c7a70b2454728e40c6d13e312e8eb12136b9b3dcfa769a91d3302e66b4a3015b2ec6da6ae19666897428e1
7
+ data.tar.gz: c734a55b50001f919d674b2f70c9f7dd7e2f12b413b1b6c44c00f27f3507296a5ef9c6a6319d8fb94508d9d76996287ca4ac9e9cac0223c6ba27149d811d6b38
data/.hound.yml CHANGED
@@ -15,6 +15,17 @@
15
15
  ## These options were plucked from below and modified accordingly.
16
16
  ##
17
17
  ################################################################################
18
+ AllCops:
19
+ Include:
20
+ - Rakefile
21
+ - config.ru
22
+ Exclude:
23
+ - db/**/*
24
+ - config/**/*
25
+ - lib/**/version.rb
26
+ - spec/internal/**/*
27
+ - spec/*_helper.rb
28
+
18
29
  MethodLength:
19
30
  Max: 10
20
31
  Description: 'Avoid methods longer than 10 lines of code.'
@@ -175,7 +186,7 @@ DefWithParentheses:
175
186
 
176
187
  Delegate:
177
188
  Description: 'Prefer delegate method for delegations.'
178
- Enabled: true
189
+ Enabled: false
179
190
 
180
191
  DeprecatedHashMethods:
181
192
  Description: 'Checks for use of deprecated Hash methods.'
@@ -184,6 +195,9 @@ DeprecatedHashMethods:
184
195
  Documentation:
185
196
  Description: 'Document classes and non-namespace modules.'
186
197
  Enabled: true
198
+ Exclude:
199
+ - spec/**/*
200
+ - lib/**/version.rb
187
201
 
188
202
  DotPosition:
189
203
  Description: 'Checks the position of the dot in multi-line method calls.'
@@ -550,7 +564,7 @@ SpecialGlobalVars:
550
564
 
551
565
  StringLiterals:
552
566
  Description: 'Checks if uses of quotes match the configured preference.'
553
- Enabled: true
567
+ Enabled: false
554
568
 
555
569
  Tab:
556
570
  Description: 'No hard tabs.'
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![Version](https://badge.fury.io/rb/orcid.png)](http://badge.fury.io/rb/orcid)
4
4
  [![Build Status](https://travis-ci.org/projecthydra-labs/orcid.png?branch=master)](https://travis-ci.org/projecthydra-labs/orcid)
5
+ [![Code Climate](https://codeclimate.com/github/projecthydra-labs/orcid.png)](https://codeclimate.com/github/projecthydra-labs/orcid)
5
6
  [![Coverage Status](https://img.shields.io/coveralls/projecthydra-labs/orcid.svg)](https://coveralls.io/r/projecthydra-labs/orcid)
6
7
  [![API Docs](http://img.shields.io/badge/API-docs-blue.svg)](http://rubydoc.info/gems/orcid/0.8.0/frames)
7
8
  [![APACHE 2 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE)
@@ -30,19 +30,21 @@ module Orcid
30
30
  end
31
31
 
32
32
  def append_new_work(*works)
33
- orcid_works = normalize_work(*works)
34
- xml = xml_renderer.call(orcid_works)
35
- remote_service.call(orcid_profile_id, request_method: :post, body: xml)
33
+ request_work_changes_via(:post, *works)
36
34
  end
37
35
 
38
36
  def replace_works_with(*works)
39
- orcid_works = normalize_work(*works)
40
- xml = xml_renderer.call(orcid_works)
41
- remote_service.call(orcid_profile_id, request_method: :put, body: xml)
37
+ request_work_changes_via(:put, *works)
42
38
  end
43
39
 
44
40
  protected
45
41
 
42
+ def request_work_changes_via(request_method, *works)
43
+ orcid_works = normalize_work(*works)
44
+ xml = xml_renderer.call(orcid_works)
45
+ remote_service.call(orcid_profile_id, request_method: request_method, body: xml)
46
+ end
47
+
46
48
  def default_mapper
47
49
  Orcid.mapper
48
50
  end
@@ -2,14 +2,14 @@ module Orcid
2
2
  class Work
3
3
  # Responsible for transforming a Work into an Orcid Work XML document
4
4
  class XmlRenderer
5
- def self.call(works, options = {})
6
- new(works, options).call
5
+ def self.call(works, collaborators = {})
6
+ new(works, collaborators).call
7
7
  end
8
8
 
9
9
  attr_reader :works, :template
10
- def initialize(works, options = {})
10
+ def initialize(works, collaborators = {})
11
11
  self.works = works
12
- @template = options.fetch(:template) { default_template }
12
+ @template = collaborators.fetch(:template) { default_template }
13
13
  end
14
14
 
15
15
  def call
@@ -80,15 +80,16 @@ module Orcid
80
80
  end
81
81
 
82
82
  def handle_pending_connection_for(profile)
83
- message = "Attempted to request ORCID for #{profile_request.class} ID=#{profile_request.to_param}."
84
- message << " There is a pending connection for #{user.class} ID=#{user.to_param}."
85
- logger.notice(message)
83
+ log_proifle_exists("There is a pending connection for #{user.class} ID=#{user.to_param}.")
86
84
  end
87
85
 
88
86
  def handle_authenticated_connection_for(profile)
89
- message = "Attempted to request ORCID for #{profile_request.class} ID=#{profile_request.to_param}."
90
- message << " There is an authenticated connection for #{user.class} ID=#{user.to_param}."
91
- logger.notice(message)
87
+ log_proifle_exists("There is an authenticated connection for #{user.class} ID=#{user.to_param}.")
88
+ end
89
+
90
+ def log_proifle_exists(message)
91
+ pre_amble = "Attempted to request ORCID for #{profile_request.class} ID=#{profile_request.to_param}."
92
+ logger.notice("#{pre_amble} #{message}")
92
93
  end
93
94
 
94
95
  def xml_payload(request)
@@ -23,20 +23,9 @@ module Orcid
23
23
  .each_with_object([]) do |result, returning_value|
24
24
  profile = result.fetch('orcid-profile')
25
25
  begin
26
- identifier = profile.fetch('orcid-identifier').fetch('path')
27
- orcid_bio = profile.fetch('orcid-bio')
28
- given_names = orcid_bio.fetch('personal-details').fetch('given-names').fetch('value')
29
- family_name = orcid_bio.fetch('personal-details').fetch('family-name').fetch('value')
30
- emails = []
31
- contact_details = orcid_bio['contact-details']
32
- if contact_details
33
- emails = (contact_details['email'] || []).map {|email| email.fetch('value') }
34
- end
35
- label = "#{given_names} #{family_name}"
36
- label << ' (' << emails.join(', ') << ')' if emails.any?
37
- label << " [ORCID: #{identifier}]"
38
- biography = ''
39
- biography = orcid_bio['biography']['value'] if orcid_bio['biography']
26
+ identifier = extract_identifier(profile)
27
+ label = extract_label(identifier, profile)
28
+ biography = extract_biography(profile)
40
29
  returning_value << response_builder.new('id' => identifier, 'label' => label, 'biography' => biography)
41
30
  rescue KeyError => e
42
31
  logger.warn("Unexpected ORCID JSON Response, part of the response has been ignored.\tException Encountered:#{e.class}\t#{e}")
@@ -46,6 +35,33 @@ module Orcid
46
35
  end
47
36
 
48
37
  private
38
+ def extract_identifier(profile)
39
+ profile.fetch('orcid-identifier').fetch('path')
40
+ end
41
+
42
+ def extract_label(identifier, profile)
43
+ orcid_bio = profile.fetch('orcid-bio')
44
+ given_names = orcid_bio.fetch('personal-details').fetch('given-names').fetch('value')
45
+ family_name = orcid_bio.fetch('personal-details').fetch('family-name').fetch('value')
46
+ emails = []
47
+ contact_details = orcid_bio['contact-details']
48
+ if contact_details
49
+ emails = (contact_details['email'] || []).map {|email| email.fetch('value') }
50
+ end
51
+ label = "#{given_names} #{family_name}"
52
+ label << ' (' << emails.join(', ') << ')' if emails.any?
53
+ label << " [ORCID: #{identifier}]"
54
+ end
55
+
56
+ def extract_biography(profile)
57
+ orcid_bio = profile.fetch('orcid-bio')
58
+ if orcid_bio['biography']
59
+ orcid_bio['biography'].fetch('value')
60
+ else
61
+ ''
62
+ end
63
+ end
64
+
49
65
  def default_logger
50
66
  Rails.logger
51
67
  end
@@ -53,10 +53,7 @@ module Orcid
53
53
  end
54
54
 
55
55
  def default_headers
56
- {
57
- 'Accept' => 'application/xml',
58
- 'Content-Type' => 'application/orcid+xml'
59
- }
56
+ { 'Accept' => 'application/xml', 'Content-Type' => 'application/orcid+xml' }
60
57
  end
61
58
 
62
59
  def default_path
@@ -46,9 +46,9 @@ module Orcid
46
46
  )
47
47
  end
48
48
 
49
- def access_token_for(orcid_profile_id, options = {})
50
- client = options.fetch(:client) { oauth_client }
51
- tokenizer = options.fetch(:tokenizer) { authentication_model }
49
+ def access_token_for(orcid_profile_id, collaborators = {})
50
+ client = collaborators.fetch(:client) { oauth_client }
51
+ tokenizer = collaborators.fetch(:tokenizer) { authentication_model }
52
52
  tokenizer.to_access_token(
53
53
  uid: orcid_profile_id, provider: 'orcid', client: client
54
54
  )
@@ -83,8 +83,8 @@ module Orcid
83
83
  )
84
84
  end
85
85
 
86
- def client_credentials_token(scope, options = {})
87
- tokenizer = options.fetch(:tokenizer) { oauth_client.client_credentials }
86
+ def client_credentials_token(scope, collaborators = {})
87
+ tokenizer = collaborators.fetch(:tokenizer) { oauth_client.client_credentials }
88
88
  tokenizer.get_token(scope: scope)
89
89
  end
90
90
 
@@ -2,15 +2,11 @@ module Orcid
2
2
  # Responsible for exposing the customization mechanism
3
3
  class Configuration
4
4
  attr_reader :mapper
5
- def initialize(options = {})
6
- @mapper = options.fetch(:mapper) { default_mapper }
7
- @provider = options.fetch(:provider) { default_provider }
8
- @authentication_model = options.fetch(:authentication_model) do
9
- default_authenticaton_model
10
- end
11
- @parent_controller = options.fetch(:parent_controller) do
12
- '::ApplicationController'
13
- end
5
+ def initialize(collaborators = {})
6
+ @mapper = collaborators.fetch(:mapper) { default_mapper }
7
+ @provider = collaborators.fetch(:provider) { default_provider }
8
+ @authentication_model = collaborators.fetch(:authentication_model) { default_authenticaton_model }
9
+ @parent_controller = collaborators.fetch(:parent_controller) { default_parent_controller }
14
10
  end
15
11
 
16
12
  attr_accessor :provider
@@ -19,15 +15,15 @@ module Orcid
19
15
 
20
16
  def register_mapping_to_orcid_work(source_type, legend)
21
17
  mapper.configure do |config|
22
- config.register(
23
- source: source_type,
24
- target: 'orcid/work',
25
- legend: legend
26
- )
18
+ config.register(source: source_type, target: 'orcid/work', legend: legend)
27
19
  end
28
20
  end
29
21
 
30
- protected
22
+ private
23
+
24
+ def default_parent_controller
25
+ '::ApplicationController'
26
+ end
31
27
 
32
28
  def default_mapper
33
29
  require 'mappy'
@@ -11,11 +11,13 @@ module Orcid
11
11
  @store = store
12
12
  end
13
13
 
14
+ # See http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-3 for
15
+ # how to formulate scopes
14
16
  attr_writer :authentication_scope
15
17
  def authentication_scope
16
18
  @authentication_scope ||=
17
19
  store.fetch('ORCID_APP_AUTHENTICATION_SCOPE') do
18
- '/authenticate,/orcid-works/create,/orcid-works/update,/read-public'
20
+ '/authenticate /orcid-works/create /orcid-works/update /read-public'
19
21
  end
20
22
  end
21
23
 
@@ -1,3 +1,3 @@
1
1
  module Orcid
2
- VERSION = '0.8.1'
2
+ VERSION = '0.8.2'
3
3
  end
@@ -41,14 +41,20 @@ Gem::Specification.new do |s|
41
41
 
42
42
  s.add_development_dependency 'sqlite3'
43
43
  s.add_development_dependency 'engine_cart'
44
- s.add_development_dependency 'rspec-rails'
44
+ s.add_development_dependency 'rspec-rails', '~> 2.99'
45
45
  s.add_development_dependency 'database_cleaner'
46
46
  s.add_development_dependency 'factory_girl'
47
- s.add_development_dependency 'rspec-html-matchers'
47
+ s.add_development_dependency 'rspec-html-matchers', '~> 0.5.0'
48
48
  s.add_development_dependency 'capybara'
49
49
  s.add_development_dependency 'capybara-webkit'
50
50
  s.add_development_dependency 'webmock'
51
51
  s.add_development_dependency 'simplecov'
52
52
  s.add_development_dependency 'rest_client'
53
53
  s.add_development_dependency 'rspec-given'
54
+ s.add_development_dependency 'rspec', '~>2.99'
55
+ s.add_development_dependency 'rspec-mocks', '~>2.99'
56
+ s.add_development_dependency 'rspec-core', '~>2.99'
57
+ s.add_development_dependency 'rspec-expectations', '~>2.99'
58
+ s.add_development_dependency 'rspec-its'
59
+ s.add_development_dependency 'rspec-activemodel-mocks'
54
60
  end
@@ -25,6 +25,8 @@ require 'orcid/spec_support'
25
25
  require 'rspec/rails'
26
26
  require 'rspec/autorun'
27
27
  require 'rspec/given'
28
+ require 'rspec/active_model/mocks'
29
+ require 'rspec/its'
28
30
  require 'database_cleaner'
29
31
  require 'factory_girl'
30
32
  require 'rspec-html-matchers'
@@ -84,6 +86,8 @@ RSpec.configure do |config|
84
86
  # rspec-rails.
85
87
  config.infer_base_class_for_anonymous_controllers = false
86
88
 
89
+ config.infer_spec_type_from_file_location!
90
+
87
91
  # Run specs in random order to surface order dependencies. If you find an
88
92
  # order dependency and want to debug it, you can fix the order by providing
89
93
  # the seed, which is printed after each run.
metadata CHANGED
@@ -1,293 +1,377 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orcid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Friesen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-23 00:00:00.000000000 Z
11
+ date: 2014-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.0.3
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: 4.0.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mappy
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.1.0
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: 0.1.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: figaro
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
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: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: devise-multi_auth
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.1.0
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: 0.1.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: omniauth-orcid
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '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
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: virtus
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
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
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: email_validator
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simple_form
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :runtime
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: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: sqlite3
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
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: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: engine_cart
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '>='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '>='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rspec-rails
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - '>='
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '0'
159
+ version: '2.99'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - '>='
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '0'
166
+ version: '2.99'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: database_cleaner
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - '>='
171
+ - - ">="
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - '>='
178
+ - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: factory_girl
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - '>='
185
+ - - ">="
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - '>='
192
+ - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: rspec-html-matchers
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - '>='
199
+ - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '0'
201
+ version: 0.5.0
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - '>='
206
+ - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '0'
208
+ version: 0.5.0
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: capybara
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - '>='
213
+ - - ">="
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
- - - '>='
220
+ - - ">="
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: capybara-webkit
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
- - - '>='
227
+ - - ">="
228
228
  - !ruby/object:Gem::Version
229
229
  version: '0'
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
- - - '>='
234
+ - - ">="
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: webmock
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
- - - '>='
241
+ - - ">="
242
242
  - !ruby/object:Gem::Version
243
243
  version: '0'
244
244
  type: :development
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
- - - '>='
248
+ - - ">="
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: simplecov
253
253
  requirement: !ruby/object:Gem::Requirement
254
254
  requirements:
255
- - - '>='
255
+ - - ">="
256
256
  - !ruby/object:Gem::Version
257
257
  version: '0'
258
258
  type: :development
259
259
  prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
- - - '>='
262
+ - - ">="
263
263
  - !ruby/object:Gem::Version
264
264
  version: '0'
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: rest_client
267
267
  requirement: !ruby/object:Gem::Requirement
268
268
  requirements:
269
- - - '>='
269
+ - - ">="
270
270
  - !ruby/object:Gem::Version
271
271
  version: '0'
272
272
  type: :development
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
- - - '>='
276
+ - - ">="
277
277
  - !ruby/object:Gem::Version
278
278
  version: '0'
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: rspec-given
281
281
  requirement: !ruby/object:Gem::Requirement
282
282
  requirements:
283
- - - '>='
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
286
+ type: :development
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - ">="
291
+ - !ruby/object:Gem::Version
292
+ version: '0'
293
+ - !ruby/object:Gem::Dependency
294
+ name: rspec
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - "~>"
298
+ - !ruby/object:Gem::Version
299
+ version: '2.99'
300
+ type: :development
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - "~>"
305
+ - !ruby/object:Gem::Version
306
+ version: '2.99'
307
+ - !ruby/object:Gem::Dependency
308
+ name: rspec-mocks
309
+ requirement: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - "~>"
312
+ - !ruby/object:Gem::Version
313
+ version: '2.99'
314
+ type: :development
315
+ prerelease: false
316
+ version_requirements: !ruby/object:Gem::Requirement
317
+ requirements:
318
+ - - "~>"
319
+ - !ruby/object:Gem::Version
320
+ version: '2.99'
321
+ - !ruby/object:Gem::Dependency
322
+ name: rspec-core
323
+ requirement: !ruby/object:Gem::Requirement
324
+ requirements:
325
+ - - "~>"
326
+ - !ruby/object:Gem::Version
327
+ version: '2.99'
328
+ type: :development
329
+ prerelease: false
330
+ version_requirements: !ruby/object:Gem::Requirement
331
+ requirements:
332
+ - - "~>"
333
+ - !ruby/object:Gem::Version
334
+ version: '2.99'
335
+ - !ruby/object:Gem::Dependency
336
+ name: rspec-expectations
337
+ requirement: !ruby/object:Gem::Requirement
338
+ requirements:
339
+ - - "~>"
340
+ - !ruby/object:Gem::Version
341
+ version: '2.99'
342
+ type: :development
343
+ prerelease: false
344
+ version_requirements: !ruby/object:Gem::Requirement
345
+ requirements:
346
+ - - "~>"
347
+ - !ruby/object:Gem::Version
348
+ version: '2.99'
349
+ - !ruby/object:Gem::Dependency
350
+ name: rspec-its
351
+ requirement: !ruby/object:Gem::Requirement
352
+ requirements:
353
+ - - ">="
354
+ - !ruby/object:Gem::Version
355
+ version: '0'
356
+ type: :development
357
+ prerelease: false
358
+ version_requirements: !ruby/object:Gem::Requirement
359
+ requirements:
360
+ - - ">="
361
+ - !ruby/object:Gem::Version
362
+ version: '0'
363
+ - !ruby/object:Gem::Dependency
364
+ name: rspec-activemodel-mocks
365
+ requirement: !ruby/object:Gem::Requirement
366
+ requirements:
367
+ - - ">="
284
368
  - !ruby/object:Gem::Version
285
369
  version: '0'
286
370
  type: :development
287
371
  prerelease: false
288
372
  version_requirements: !ruby/object:Gem::Requirement
289
373
  requirements:
290
- - - '>='
374
+ - - ">="
291
375
  - !ruby/object:Gem::Version
292
376
  version: '0'
293
377
  description: A Rails engine for orcid.org integration.
@@ -297,11 +381,11 @@ executables: []
297
381
  extensions: []
298
382
  extra_rdoc_files: []
299
383
  files:
300
- - .coveralls.yml
301
- - .gitignore
302
- - .hound.yml
303
- - .mailmap
304
- - .travis.yml
384
+ - ".coveralls.yml"
385
+ - ".gitignore"
386
+ - ".hound.yml"
387
+ - ".mailmap"
388
+ - ".travis.yml"
305
389
  - CONTRIBUTING.md
306
390
  - Gemfile
307
391
  - LICENSE
@@ -415,17 +499,17 @@ require_paths:
415
499
  - lib
416
500
  required_ruby_version: !ruby/object:Gem::Requirement
417
501
  requirements:
418
- - - '>='
502
+ - - ">="
419
503
  - !ruby/object:Gem::Version
420
504
  version: '0'
421
505
  required_rubygems_version: !ruby/object:Gem::Requirement
422
506
  requirements:
423
- - - '>='
507
+ - - ">="
424
508
  - !ruby/object:Gem::Version
425
509
  version: '0'
426
510
  requirements: []
427
511
  rubyforge_project:
428
- rubygems_version: 2.0.14
512
+ rubygems_version: 2.2.2
429
513
  signing_key:
430
514
  specification_version: 4
431
515
  summary: A Rails engine for orcid.org integration.