active_zuora 2.1.1 → 2.1.2

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.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NTkwNDBiNjM1ODBhZjMyNzA3MjI2YzE4MDQ0MTA3YTQwMjhkYzcwNw==
5
- data.tar.gz: !binary |-
6
- ZDA0MDIwMjE0NTQwZmE1MTQzZDk5ZjA3YzQ3Mzk2NTBkYTc0ZDBkNg==
2
+ SHA1:
3
+ metadata.gz: f7c3b355facf228bec2e57e35c249d91e6df80f9
4
+ data.tar.gz: c931aa666d9cf90af7eeebddf3c6a6d4593d1a8d
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MTk0ODE2YzI3ZjI1MGRmOGM4MDVmYTQ0YjNkOWQzOWZmMWFkNmMxNTBlMzYx
10
- YWJlNDk3Y2ZkNDU5MjNiZDU4ZmYyODlkNDhmOGNkZTQ4ZjdmNzExNTFmZjA4
11
- YzViNTI1MWZmYjg3NjY2Njk4ZmJmNDMwYTljOTcwZWFlMTcyN2M=
12
- data.tar.gz: !binary |-
13
- NDkwODA5ZDc3NDA4MTA4YjU5MGU5NjRhZmMwZjFkODc0NjI2ZDE2YmRjNGFh
14
- NzNlMjFmYjk4ZDgzYzZlZDY5NTRmYTI3ZDg2YzcyMjllMjBjYzQxNWE5MDAw
15
- ZGY1MzM0OGFjNjU3NWIxOGY3MGM3ZTkxZGYyOTNiMTU3NmVhZGM=
6
+ metadata.gz: ec96fbfc3af2f4a27cb80254fc31fa1392970b68afcfd9ae6df2935b89ea399cae278880a2822b0372bbf8c696a309a2f776d3acd18ea604dd01f0dd99a5f2a3
7
+ data.tar.gz: b7f68dbfeaec93fe57925c1a28aaf34e4f46d862f83f3ec8c46eb46cf5ef3a8a45bfc6092262d140b719d425fcedb90efb2ffa9c73f5d68d48b4d29ad6b5f025
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,4 @@
1
+ #### v2.1.2
1
2
  #### v2.1.1
2
3
  #### v2.1.0
3
4
  * Upgrade Savon to 1.2 https://github.com/sportngin/active_zuora/pull/22
data/README.md CHANGED
@@ -14,19 +14,25 @@ Version 1 can be found at https://github.com/sportngin/active_zuora_v1
14
14
 
15
15
  ## Configuration
16
16
 
17
+ ```ruby
17
18
  ActiveZuora.configure(
18
19
  :username => 'user@example.com',
19
20
  :password => 'password'
20
21
  )
22
+ ```
21
23
 
22
- Enable SOAP logging to stderr or provide your own wsdl file.
24
+ Enable SOAP logging to stderr, provide your own wsdl file or add custom
25
+ fields to a list of filtered fields.
23
26
 
27
+ ```ruby
24
28
  ActiveZuora.configure(
25
29
  :username => 'user@example.com',
26
30
  :password => 'password',
27
31
  :log => true,
32
+ :log_filters => [:password, :SessionHeader, :mySecretCustomField1, :mySecretCustomField1], # Defaults to [:password, :SessionHeader]
28
33
  :wsdl => 'path/to/zuora.wsdl'
29
34
  )
35
+ ```
30
36
 
31
37
  ## Defining Classes
32
38
 
data/lib/active_zuora.rb CHANGED
@@ -26,6 +26,7 @@ module ActiveZuora
26
26
  config.log = HTTPI.log = configuration[:log] || false
27
27
  config.log_level = configuration[:log_level] || :info
28
28
  config.logger = configuration[:logger] if configuration[:logger]
29
+ config.logger.filter = configuration[:log_filters] || [:password, :SessionHeader]
29
30
  config.raise_errors = true
30
31
  end
31
32
  # Create a default connection on Base
@@ -1,3 +1,3 @@
1
1
  module ActiveZuora
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -5,7 +5,8 @@ require 'active_zuora'
5
5
  I18n.enforce_available_locales = true
6
6
 
7
7
  ActiveZuora.configure(
8
- :log => ENV['DEBUG'],
8
+ :log => !!ENV['DEBUG'],
9
+ :pretty_print_xml => !!ENV['DEBUG'],
9
10
  :username => ENV['ZUORA_USER'],
10
11
  :password => ENV['ZUORA_PASS']
11
12
  )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_zuora
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Lebert
@@ -15,82 +15,82 @@ dependencies:
15
15
  name: savon
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: 1.2.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: 1.2.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: activesupport
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ! '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: 3.0.0
35
- - - <
35
+ - - "<"
36
36
  - !ruby/object:Gem::Version
37
37
  version: 5.0.0
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - ! '>='
42
+ - - ">="
43
43
  - !ruby/object:Gem::Version
44
44
  version: 3.0.0
45
- - - <
45
+ - - "<"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 5.0.0
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: activemodel
50
50
  requirement: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: 3.0.0
55
- - - <
55
+ - - "<"
56
56
  - !ruby/object:Gem::Version
57
57
  version: 5.0.0
58
58
  type: :runtime
59
59
  prerelease: false
60
60
  version_requirements: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - ! '>='
62
+ - - ">="
63
63
  - !ruby/object:Gem::Version
64
64
  version: 3.0.0
65
- - - <
65
+ - - "<"
66
66
  - !ruby/object:Gem::Version
67
67
  version: 5.0.0
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: rake
70
70
  requirement: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ! '>='
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: 0.8.7
75
75
  type: :development
76
76
  prerelease: false
77
77
  version_requirements: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ! '>='
79
+ - - ">="
80
80
  - !ruby/object:Gem::Version
81
81
  version: 0.8.7
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: rspec
84
84
  requirement: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ! '>='
86
+ - - ">="
87
87
  - !ruby/object:Gem::Version
88
88
  version: 3.0.0
89
89
  type: :development
90
90
  prerelease: false
91
91
  version_requirements: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ! '>='
93
+ - - ">="
94
94
  - !ruby/object:Gem::Version
95
95
  version: 3.0.0
96
96
  description: ActiveZuora - Zuora API based on ActiveModel and auto-generated from
@@ -103,10 +103,10 @@ extensions: []
103
103
  extra_rdoc_files:
104
104
  - README.md
105
105
  files:
106
- - .gitignore
107
- - .octopolo.yml
108
- - .soyuz.yml
109
- - .travis.yml
106
+ - ".gitignore"
107
+ - ".octopolo.yml"
108
+ - ".soyuz.yml"
109
+ - ".travis.yml"
110
110
  - CHANGELOG.markdown
111
111
  - Gemfile
112
112
  - MIT-LICENSE
@@ -156,12 +156,12 @@ require_paths:
156
156
  - lib
157
157
  required_ruby_version: !ruby/object:Gem::Requirement
158
158
  requirements:
159
- - - ! '>='
159
+ - - ">="
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ! '>='
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  requirements: []