order_cloud 0.0.2 → 0.0.3

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: 4c7b3cff6308e2c4d8b355429fbfcdd56af63576
4
- data.tar.gz: 4df681e2b92eefaf7b11bf2519774202fa3a4cd4
3
+ metadata.gz: 250f74731c2d25ffcecea2f0abbe0ec24f5595a8
4
+ data.tar.gz: 5a09a7e6c7c4923dd9260adb008d21331fb7e5b6
5
5
  SHA512:
6
- metadata.gz: d41e97378ca05c568cae330af17fda3a390a3bdc707c61f9604ad547c2c848efcc47a0d60c9b508f63005decef33e9c2e5e49899cf676e84e84123e3b38dc0a7
7
- data.tar.gz: 26e2cc1041aa410217308ddb65500469cca49ef5ba8b53e64683dee330fce822e85359a9aa9837d1a595c86d2e8979d51ab8930178150d8a11a7875056c737e4
6
+ metadata.gz: e4013ace0f650a42cc554889601b42ffbf16ca11898894866e76bb082a9ea776c66a292342302d2e6008f2a63dd2a0891a96e9c7ca9e63577806ab0f487028f5
7
+ data.tar.gz: f999c9f19d5f8bff2e34951da562dcdb9732febebe3eba1a0389ac75e91c31a58713ef068b2b12c6869cf7d9aefc9eaf02d6256e8046c52350be9fdd1c1bc791
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'typhoeus'
4
+ gem 'rake'
5
+ gem 'rspec'
@@ -0,0 +1,34 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.2.5)
5
+ ethon (0.9.0)
6
+ ffi (>= 1.3.0)
7
+ ffi (1.9.14)
8
+ rake (11.2.2)
9
+ rspec (3.5.0)
10
+ rspec-core (~> 3.5.0)
11
+ rspec-expectations (~> 3.5.0)
12
+ rspec-mocks (~> 3.5.0)
13
+ rspec-core (3.5.3)
14
+ rspec-support (~> 3.5.0)
15
+ rspec-expectations (3.5.0)
16
+ diff-lcs (>= 1.2.0, < 2.0)
17
+ rspec-support (~> 3.5.0)
18
+ rspec-mocks (3.5.0)
19
+ diff-lcs (>= 1.2.0, < 2.0)
20
+ rspec-support (~> 3.5.0)
21
+ rspec-support (3.5.0)
22
+ typhoeus (1.1.0)
23
+ ethon (>= 0.9.0)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ rake
30
+ rspec
31
+ typhoeus
32
+
33
+ BUNDLED WITH
34
+ 1.13.1
data/README.md CHANGED
@@ -9,8 +9,8 @@ OrderCloud - the Ruby gem for the OrderCloud
9
9
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
10
10
 
11
11
  - API version: 1.0
12
- - Package version: 0.0.2
13
- - Build date: 2016-09-14T11:33:46.332-05:00
12
+ - Package version: 0.0.3
13
+ - Build date: 2016-09-14T14:59:22.725-05:00
14
14
  - Build package: class io.swagger.codegen.languages.RubyClientCodegen
15
15
 
16
16
  For more information, please visit [http://public.four51.com/](http://public.four51.com/)
@@ -22,7 +22,7 @@ For more information, please visit [http://public.four51.com/](http://public.fou
22
22
 
23
23
  Add this line to your `Gemfile`:
24
24
 
25
- gem 'order_cloud', '~> 0.0.2'
25
+ gem 'order_cloud', '~> 0.0.3'
26
26
 
27
27
  Or run this in your terminal:
28
28
  ```shell
@@ -33,7 +33,7 @@ if [ "$git_repo_id" = "" ]; then
33
33
  fi
34
34
 
35
35
  if [ "$release_note" = "" ]; then
36
- release_note="Added auth_url definition to configuration"
36
+ release_note="Bumped gem version to 0.0.3"
37
37
  echo "[INFO] No command line input provided. Set \$release_note to $release_note"
38
38
  fi
39
39
 
@@ -35,7 +35,6 @@ module OrderCloud
35
35
  def impersonating?
36
36
  !@impersonation_token.empty?
37
37
  end
38
- u will need to provide the ClientID which identifies the Organization or Buyer Company you will be interacting with. The ClientID can be found in the application tab of your Dashboard. Check out this guide for more information. Once you have the ClientID you can configure it with the following function.
39
38
 
40
39
  # Returns the appropriate token
41
40
  def get_access_token
@@ -22,5 +22,5 @@ limitations under the License.
22
22
  =end
23
23
 
24
24
  module OrderCloud
25
- VERSION = "0.0.2"
25
+ VERSION = "0.0.3"
26
26
  end
Binary file
@@ -27,10 +27,10 @@ describe OrderCloud::Configuration do
27
27
  let(:config) { OrderCloud::Configuration.default }
28
28
  let(:impersonation_token) { 'sI3PGLztu7HXfLoHobb9' }
29
29
  let(:access_token) { 'HteOBUPWe7ccTSpQKLVC' }
30
-
30
+
31
31
  before(:each) do
32
32
  OrderCloud::Configuration.reset
33
- require 'URI'
33
+ require 'uri'
34
34
  uri = URI.parse("https://api.ordercloud.io/v1")
35
35
  OrderCloud.configure do |c|
36
36
  c.host = uri.host
@@ -52,7 +52,7 @@ describe OrderCloud::Configuration do
52
52
  end
53
53
  end
54
54
  end
55
-
55
+
56
56
  describe '#get_access_token' do
57
57
  it 'returns the access_token if not impersonating' do
58
58
  config.access_token = access_token
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: order_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Le Cam
@@ -211,6 +211,8 @@ executables: []
211
211
  extensions: []
212
212
  extra_rdoc_files: []
213
213
  files:
214
+ - Gemfile
215
+ - Gemfile.lock
214
216
  - LICENSE
215
217
  - README.md
216
218
  - Rakefile
@@ -471,6 +473,7 @@ files:
471
473
  - lib/order_cloud/models/web_hook_route.rb
472
474
  - lib/order_cloud/models/xp_index.rb
473
475
  - lib/order_cloud/version.rb
476
+ - order_cloud-0.0.2.gem
474
477
  - order_cloud.gemspec
475
478
  - spec/api/address_api_spec.rb
476
479
  - spec/api/admin_address_api_spec.rb