tropo-provisioning 0.0.25 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock
CHANGED
data/changelog.md
CHANGED
|
@@ -35,7 +35,7 @@ class TropoProvisioning
|
|
|
35
35
|
def initialize(username, password, params={})
|
|
36
36
|
@base_uri = (params[:base_uri] || "https://api.tropo.com/v1/").sub(/(\/)+$/,'/')
|
|
37
37
|
proxy = params[:proxy] || nil
|
|
38
|
-
@verify_certificate = params[:verify_certificate]
|
|
38
|
+
@verify_certificate = params.has_key?(:verify_certificate) ? params[:verify_certificate] : true
|
|
39
39
|
@tropo_client = TropoClient.new(username, password, @base_uri, { 'Content-Type' => 'application/json' }, proxy, @verify_certificate)
|
|
40
40
|
user(username)
|
|
41
41
|
end
|
|
@@ -639,7 +639,7 @@ describe "TropoProvisioning" do
|
|
|
639
639
|
|
|
640
640
|
it "should not validate SSL when told to" do
|
|
641
641
|
tp = TropoProvisioning.new('foo', 'bar', {:verify_certificate => false })
|
|
642
|
-
tp.verify_certificate.should ==
|
|
642
|
+
tp.verify_certificate.should == false
|
|
643
643
|
end
|
|
644
644
|
|
|
645
645
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tropo-provisioning
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.26
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -204,7 +204,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
204
204
|
version: '0'
|
|
205
205
|
segments:
|
|
206
206
|
- 0
|
|
207
|
-
hash:
|
|
207
|
+
hash: 2809798012060433868
|
|
208
208
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
209
|
none: false
|
|
210
210
|
requirements:
|
|
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
213
213
|
version: '0'
|
|
214
214
|
segments:
|
|
215
215
|
- 0
|
|
216
|
-
hash:
|
|
216
|
+
hash: 2809798012060433868
|
|
217
217
|
requirements: []
|
|
218
218
|
rubyforge_project: tropo-provisioning
|
|
219
219
|
rubygems_version: 1.8.23
|