commission_junction 1.7.0 → 1.7.1

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: a0e6f1b42dd2d195b97770b78aa586354c218f04
4
- data.tar.gz: 0d53981e7c2969a08806c413477d1028f161fe37
3
+ metadata.gz: bafc377290960323c66d4b5f9896d87e42ab50fc
4
+ data.tar.gz: cf4ddcb839f9b1874c7f78fd1125ff9f08a129df
5
5
  SHA512:
6
- metadata.gz: 1126696f19d0758c392f89d10f4d14f75396e1cc326b098d570e6541ce06dc92778c741c184c34d9d06a831832296202517ea2d7e52b2d82e392f2b909bd15d2
7
- data.tar.gz: 0ae2926cdfdcbb76b0fe94923a80ccfa48744eef38e23ee5b42356537d61a9204e9e31399a986fba561a9c64804b629da08888599bf2288dc79c1f04bf322e83
6
+ metadata.gz: 79688b4fc4c47888685c67652ef547c256f83d5758a2f9a6d7cb8c4316d0e95a398e203dce167dd8a962b4a2bb509c198dee62136355420ded3eb9e7711ef4ce
7
+ data.tar.gz: b318559c47762d3092bdfdf0ecf7d6e79832e258e45be7ff43272e8670e55fecec7ad2d387012d87e2dc24af38d20732c1482c18be323422f2c1259a191f9b05
@@ -16,7 +16,8 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ['lib']
19
- gem.add_dependency 'httparty', '~> 0.12'
20
- gem.add_development_dependency 'minitest'
19
+ gem.add_dependency 'httparty', '~> 0.13'
20
+ gem.add_development_dependency 'minitest', '~> 0'
21
21
  gem.add_dependency 'ox', '~> 2.1'
22
+ gem.license = 'BSD-3-Clause'
22
23
  end
@@ -2,21 +2,10 @@ require 'commission_junction/version'
2
2
  require 'ox'
3
3
  require 'httparty'
4
4
 
5
- # Silence peer certificate warnings from Net::HTTP.
6
- # Credit: http://www.5dollarwhitebox.org/drupal/node/64
7
- class Net::HTTP
8
- alias_method :old_initialize, :initialize
9
-
10
- def initialize(*args)
11
- old_initialize(*args)
12
- @ssl_context = OpenSSL::SSL::SSLContext.new
13
- @ssl_context.verify_mode = OpenSSL::SSL::VERIFY_NONE
14
- end
15
- end
16
-
17
5
  # Interact with CJ web services.
18
6
  class CommissionJunction
19
7
  include HTTParty
8
+ default_options.update(verify: false) # Skip SSL certificate verification.
20
9
  format(:xml)
21
10
  #debug_output $stderr
22
11
 
@@ -1,3 +1,3 @@
1
1
  class CommissionJunction
2
- VERSION = '1.7.0'
2
+ VERSION = '1.7.1'
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commission_junction
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Albert Vernon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-13 00:00:00.000000000 Z
11
+ date: 2014-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.12'
19
+ version: '0.13'
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.12'
26
+ version: '0.13'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
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'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: ox
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '2.1'
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: '2.1'
55
55
  description: Ruby wrapper for the Commission Junction web services APIs (REST)
@@ -58,7 +58,7 @@ executables: []
58
58
  extensions: []
59
59
  extra_rdoc_files: []
60
60
  files:
61
- - .gitignore
61
+ - ".gitignore"
62
62
  - Gemfile
63
63
  - LICENSE
64
64
  - README.md
@@ -69,7 +69,8 @@ files:
69
69
  - test/commission_junction_test.rb
70
70
  - test/test_helper.rb
71
71
  homepage: https://github.com/aevernon/commission_junction
72
- licenses: []
72
+ licenses:
73
+ - BSD-3-Clause
73
74
  metadata: {}
74
75
  post_install_message:
75
76
  rdoc_options: []
@@ -77,17 +78,17 @@ require_paths:
77
78
  - lib
78
79
  required_ruby_version: !ruby/object:Gem::Requirement
79
80
  requirements:
80
- - - '>='
81
+ - - ">="
81
82
  - !ruby/object:Gem::Version
82
83
  version: '0'
83
84
  required_rubygems_version: !ruby/object:Gem::Requirement
84
85
  requirements:
85
- - - '>='
86
+ - - ">="
86
87
  - !ruby/object:Gem::Version
87
88
  version: '0'
88
89
  requirements: []
89
90
  rubyforge_project:
90
- rubygems_version: 2.0.5
91
+ rubygems_version: 2.2.2
91
92
  signing_key:
92
93
  specification_version: 4
93
94
  summary: Commission Junction web services APIs (REST)