survey-gizmo-ruby 6.0.2 → 6.0.3

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: 30f8503c9d46c13e9b4e6eb1d4f43b590b3190b9
4
- data.tar.gz: 00583ecebd74b93a0d6c9111860f45ef8b79e289
3
+ metadata.gz: 0df56a925ae1b46ab339112104842f941081b571
4
+ data.tar.gz: 6492ac9c08f5398fa2722df6898738b5ec480c58
5
5
  SHA512:
6
- metadata.gz: 4332bf1ec4094d68e58866578c2a1b6a31755e0d59127c162502cf73a7e47d7dab52dddbbce4a1b24dcdbdf0f2070896f4e7c48b283f8780a2c74ebe264dbd87
7
- data.tar.gz: 8569ffac734405c8e1d54afbdd2c458dfdbd609a35650b676708c508e64c7d45370e18a49be0ee2b43a691700e2c4ef3077abec2311dcdc5bc57e80613ee85d7
6
+ metadata.gz: ee894f64477a704f7c77139c4732c73a81d0b29ef9cc29e4f42f12034f932726fe9722276e7a2c8565b7eeb48168a99a5881dfa62020e9582074852b7997f005
7
+ data.tar.gz: e56cceae702194825ed8f608efafad7c17da1266cf3957e9c934d85fe73144e05af5c145d9d1c33d2b7ceb109381ca02116d0c4770f100450b900cf4c6477347
@@ -8,12 +8,12 @@ module SurveyGizmo
8
8
  end
9
9
 
10
10
  def configure
11
- @configuration ||= Configuration.new
12
- yield(configuration) if block_given?
11
+ reset!
12
+ yield(@configuration) if block_given?
13
13
  end
14
14
 
15
15
  def reset!
16
- self.configuration = Configuration.new
16
+ @configuration = Configuration.new
17
17
  Connection.reset!
18
18
  end
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module SurveyGizmo
2
- VERSION = '6.0.2'
2
+ VERSION = '6.0.3'
3
3
  end
@@ -14,6 +14,9 @@ describe SurveyGizmo::Configuration do
14
14
  end
15
15
 
16
16
  it 'should allow changing user and pass' do
17
+ # preload connection to verify that memoization is purged
18
+ SurveyGizmo::Connection.send(:connection)
19
+
17
20
  SurveyGizmo.configure do |config|
18
21
  config.api_token = 'slimthug'
19
22
  config.api_token_secret = 'fourfourz'
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
19
19
  gem.add_dependency 'addressable', '~> 2'
20
20
  gem.add_dependency 'awesome_print', '~> 1'
21
21
  gem.add_dependency 'faraday', '>= 0.9.1', '~> 0.9'
22
- gem.add_dependency 'faraday_middleware', '~> 0.10'
22
+ gem.add_dependency 'faraday_middleware', '~> 0.9'
23
23
  gem.add_dependency 'i18n'
24
24
  gem.add_dependency 'virtus', '>= 1.0.0'
25
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: survey-gizmo-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.2
4
+ version: 6.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kabari Hendrick
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-02-29 00:00:00.000000000 Z
14
+ date: 2016-03-04 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
@@ -81,14 +81,14 @@ dependencies:
81
81
  requirements:
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: '0.10'
84
+ version: '0.9'
85
85
  type: :runtime
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - "~>"
90
90
  - !ruby/object:Gem::Version
91
- version: '0.10'
91
+ version: '0.9'
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: i18n
94
94
  requirement: !ruby/object:Gem::Requirement
@@ -253,3 +253,4 @@ test_files:
253
253
  - spec/test_json/page.json
254
254
  - spec/test_json/question.json
255
255
  - spec/test_json/survey.json
256
+ has_rdoc: