guidestar 0.2.3 → 0.3.0

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: 36c50b0d4ef5c4b98d1f5aa13b9035c5b25bc8cf
4
- data.tar.gz: d26976812542483914c6b437fa553eb49b781098
3
+ metadata.gz: b35f75bee36f86b2b72951f8fc6758e8481e6502
4
+ data.tar.gz: 6516acb26cf0046b03aa0ac99fb7c018366eab4d
5
5
  SHA512:
6
- metadata.gz: 994cfb8093e6d1a29302bfc10dac32e3b50e79ae57434ad95593443c2f75c9be5c338f3887ee0ff3ce99aba56e7744f00d5b8a01c4174af73f8626354a98d9d8
7
- data.tar.gz: dac2a78c6aeb58e5b4c0b7cff8e409ca59ec425cb5252b55126ebe357f10f69ce0a211aaef47052ef66a413ac8f89bc8eae1ae257970d9216a27191bd522888b
6
+ metadata.gz: 499458b4e1d4c3bc5410776e49c4eb669ab945de46c45aff827507f85f4fe652696b4d129cb59c1db213ed7484de847507cae99badd2965daca885959a2d587f
7
+ data.tar.gz: 798c8ad30ba9aeaa365be5257e13a71f12088c0cc2126686f2dd9a145a97a6745a90b61da772d4128c8629feb978c26330978cc061fab084474ae3584899502f
data/.gitignore CHANGED
@@ -11,8 +11,8 @@ spec/reports
11
11
  test/tmp
12
12
  test/version_tmp
13
13
  tmp
14
-
15
14
  # YARD artifacts
16
15
  .yardoc
17
16
  _yardoc
18
17
  doc/
18
+ Gemfile.lock
@@ -15,9 +15,9 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ['lib']
16
16
  gem.version = Guidestar::VERSION
17
17
 
18
- gem.add_dependency 'faraday', '~> 0.8'
18
+ gem.add_dependency 'faraday', '~> 0.9'
19
19
  gem.add_dependency 'faraday_middleware', '~> 0.9'
20
- gem.add_dependency 'rash', '~> 0.3'
20
+ gem.add_dependency 'hashie', '~> 3'
21
21
  gem.add_dependency 'multi_xml', '~> 0.5'
22
22
  gem.add_dependency 'nokogiri', '~> 1.5'
23
23
  end
@@ -23,6 +23,5 @@ module Guidestar
23
23
  end
24
24
  end
25
25
 
26
- Faraday.register_middleware :response,
27
- :raise_guidestar_error => lambda { Faraday::Response::RaiseGuidestarError }
26
+ Faraday::Response.register_middleware :raise_guidestar_error => Faraday::Response::RaiseGuidestarError
28
27
  end
@@ -25,9 +25,9 @@ module Guidestar
25
25
  @username = options.delete(:username) || Guidestar.username
26
26
  @password = options.delete(:password) || Guidestar.password
27
27
  @ssl_options = options.delete(:ssl_options) || Guidestar.ssl_options
28
- @options = options.reverse_merge!(:version => 1.0,
29
- :page_size => 25,
30
- :page => 1 )
28
+ @options = { :version => 1.0,
29
+ :page_size => 25,
30
+ :page => 1 }.merge options
31
31
  end
32
32
 
33
33
  # Internal: Provides the URL for accessing the API
@@ -56,7 +56,7 @@ module Guidestar
56
56
  #
57
57
  # Returns a Hash of request headers.
58
58
  def default_headers
59
- headers = {
59
+ {
60
60
  :user_agent => 'Guidestar Ruby Gem',
61
61
  :accept => 'application/xml'
62
62
  }
@@ -1,3 +1,3 @@
1
1
  module Guidestar
2
- VERSION = "0.2.3"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guidestar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Martin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-22 00:00:00.000000000 Z
11
+ date: 2014-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.8'
19
+ version: '0.9'
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.8'
26
+ version: '0.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday_middleware
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.9'
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.9'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rash
42
+ name: hashie
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.3'
47
+ version: '3'
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.3'
54
+ version: '3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: multi_xml
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0.5'
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.5'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: nokogiri
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.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: '1.5'
83
83
  description: Allows access to the Guidestar API
@@ -87,7 +87,7 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
- - .gitignore
90
+ - ".gitignore"
91
91
  - Gemfile
92
92
  - LICENSE
93
93
  - README.md
@@ -111,17 +111,17 @@ require_paths:
111
111
  - lib
112
112
  required_ruby_version: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - '>='
114
+ - - ">="
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  requirements:
119
- - - '>='
119
+ - - ">="
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
123
  rubyforge_project:
124
- rubygems_version: 2.0.2
124
+ rubygems_version: 2.2.2
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: Use this gem to access the Guidestar API