zuora_api 1.8.2 → 1.9.01
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 +4 -4
- data/MIT-LICENSE +20 -0
- data/README.md +9 -0
- data/lib/zuora_api.rb +2 -0
- data/lib/zuora_api/exceptions.rb +17 -3
- data/lib/zuora_api/login.rb +351 -284
- data/lib/zuora_api/logins/basic.rb +10 -101
- data/lib/zuora_api/logins/oauth.rb +24 -84
- data/lib/zuora_api/version.rb +1 -1
- metadata +52 -23
- data/.gitignore +0 -10
- data/.gitlab-ci.yml +0 -63
- data/.rspec +0 -2
- data/.travis.yml +0 -5
- data/CHANGELOG.md +0 -105
- data/Gemfile +0 -4
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/gemfiles/Gemfile-rails.5.0.x +0 -5
- data/gemfiles/Gemfile-rails.5.1.x +0 -5
- data/gemfiles/Gemfile-rails.5.2.x +0 -5
- data/gemfiles/Gemfile-rails.6.0.x +0 -5
- data/zuora_api.gemspec +0 -30
data/.rspec
DELETED
data/.travis.yml
DELETED
data/CHANGELOG.md
DELETED
@@ -1,105 +0,0 @@
|
|
1
|
-
# Changelog
|
2
|
-
All notable changes to this project will be documented in this file.
|
3
|
-
|
4
|
-
## [1.7.07] - 2018-9-10
|
5
|
-
### Changed
|
6
|
-
- Cookie name for service endpoint integration
|
7
|
-
|
8
|
-
## [1.7.06] - 2018-8-25
|
9
|
-
### Added
|
10
|
-
- Retry for 502/503
|
11
|
-
- Standard exception for 504
|
12
|
-
|
13
|
-
## [1.7.05] - 2018-8-25
|
14
|
-
### Added
|
15
|
-
- Added support for oauth token forbidden
|
16
|
-
|
17
|
-
## [1.7.02] - 2018-8-23
|
18
|
-
### Added
|
19
|
-
- Added mulit part support for rest call
|
20
|
-
|
21
|
-
## [1.7.01] - 2018-8-06
|
22
|
-
### Changed
|
23
|
-
- Changed library used to determine host
|
24
|
-
- Added retry for 504 timouts in file download
|
25
|
-
|
26
|
-
## [1.7.00] - 2018-8-05
|
27
|
-
### Changed
|
28
|
-
- Raise proper exception when oauth client is from deactivated user.
|
29
|
-
- Support for rails < 6
|
30
|
-
|
31
|
-
## [1.6.53] - 2018-7-29
|
32
|
-
### Changed
|
33
|
-
- Don't attempt zsession login if bearer token is bad
|
34
|
-
|
35
|
-
## [1.6.51 - 1.6.51] - 2018-7-22
|
36
|
-
### Changed
|
37
|
-
- Retry on address not available.
|
38
|
-
|
39
|
-
## [1.6.47 - 1.6.48] - 2018-6-26
|
40
|
-
### Changed
|
41
|
-
- Changed error raise statements when incorrect credentials are supplied to Basic/Oauth Logins
|
42
|
-
|
43
|
-
## [1.6.45] - 2018-5-30
|
44
|
-
### Changed
|
45
|
-
- Fix retry so headers are reinstaniated on session failure.
|
46
|
-
|
47
|
-
## [1.6.41] - 2018-5-30
|
48
|
-
### Changed
|
49
|
-
- Retry added on SSL connection failure
|
50
|
-
|
51
|
-
## [1.6.39-1.6.40] - 2018-5-30
|
52
|
-
### Changed
|
53
|
-
- Added validation to fix bad urls entered into object initialization
|
54
|
-
|
55
|
-
## [1.6.38] - 2018-5-26
|
56
|
-
### Changed
|
57
|
-
- HttpParty validation before code extraction
|
58
|
-
|
59
|
-
## [1.6.37] - 2018-5-23
|
60
|
-
### Added
|
61
|
-
- Added method to determine rest endpoint domain
|
62
|
-
|
63
|
-
## [1.6.36] - 2018-5-22
|
64
|
-
### Changed
|
65
|
-
- Fixed zuora staging 2 endpoint
|
66
|
-
|
67
|
-
## [1.6.33] - 2018-5-15
|
68
|
-
### Changed
|
69
|
-
- Added Errno::EHOSTUNREACH to list of retriable error codes
|
70
|
-
|
71
|
-
## [1.6.32] - 2018-5-14
|
72
|
-
### Changed
|
73
|
-
- Don't log fatal errors, allow application to decide for file download
|
74
|
-
- Don't change api url if the user set a high api url
|
75
|
-
|
76
|
-
###Removed
|
77
|
-
- Force encoding
|
78
|
-
|
79
|
-
## [1.6.28] - 2018-3-12
|
80
|
-
### Added
|
81
|
-
- Way to avoid force encoding for filedownload
|
82
|
-
|
83
|
-
## [1.6.28] - 2018-3-12
|
84
|
-
### Added
|
85
|
-
- Way to avoid force encoding for filedownload
|
86
|
-
|
87
|
-
## [1.6.22] - 2019-01-03
|
88
|
-
### Changed
|
89
|
-
- get_identity method - supports ZSession auth now
|
90
|
-
- updated rspecs accordingly
|
91
|
-
|
92
|
-
## [1.6.18] - 2018-12-06
|
93
|
-
### Added
|
94
|
-
- zconnect_provider attribute accessor for identifying ZConnect cookies
|
95
|
-
- Methods for Hallway integration:
|
96
|
-
- get_identity
|
97
|
-
- get_full_nav
|
98
|
-
- set_nav
|
99
|
-
- refresh_nav
|
100
|
-
- get_oauth_client
|
101
|
-
|
102
|
-
### Changed
|
103
|
-
- The way environment and region are set
|
104
|
-
|
105
|
-
|
data/Gemfile
DELETED
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "zuora"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|
data/bin/setup
DELETED
data/zuora_api.gemspec
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'zuora_api/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "zuora_api"
|
8
|
-
spec.version = ZuoraAPI::VERSION
|
9
|
-
spec.authors = ["Zuora Strategic Solutions Group"]
|
10
|
-
spec.email = ["connect@zuora.com"]
|
11
|
-
|
12
|
-
spec.summary = %q{Gem that provides easy integration to Zuora}
|
13
|
-
spec.description = %q{Gem that provides easy integration to Zuora}
|
14
|
-
spec.homepage = "https://connect.zuora.com"
|
15
|
-
|
16
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
-
spec.bindir = "exe"
|
18
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
-
spec.require_paths = ["lib"]
|
20
|
-
|
21
|
-
spec.add_development_dependency "bundler", "~> 1.12"
|
22
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
24
|
-
spec.add_development_dependency("webmock")
|
25
|
-
spec.add_development_dependency("simplecov")
|
26
|
-
spec.add_dependency("nokogiri")
|
27
|
-
spec.add_dependency("httparty")
|
28
|
-
spec.add_dependency("rubyzip")
|
29
|
-
spec.add_dependency 'railties', '>= 4.1.0', '< 6.1'
|
30
|
-
end
|