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 +4 -4
- data/lib/survey_gizmo/configuration.rb +3 -3
- data/lib/survey_gizmo/version.rb +1 -1
- data/spec/configuration_spec.rb +3 -0
- data/survey-gizmo-ruby.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0df56a925ae1b46ab339112104842f941081b571
|
4
|
+
data.tar.gz: 6492ac9c08f5398fa2722df6898738b5ec480c58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
12
|
-
yield(configuration) if block_given?
|
11
|
+
reset!
|
12
|
+
yield(@configuration) if block_given?
|
13
13
|
end
|
14
14
|
|
15
15
|
def reset!
|
16
|
-
|
16
|
+
@configuration = Configuration.new
|
17
17
|
Connection.reset!
|
18
18
|
end
|
19
19
|
end
|
data/lib/survey_gizmo/version.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
@@ -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'
|
data/survey-gizmo-ruby.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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.
|
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:
|