shopify_api 1.2.5 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. data/CHANGELOG +10 -0
  2. data/README.rdoc +6 -1
  3. data/RELEASING +16 -0
  4. data/lib/active_resource/connection_ext.rb +16 -0
  5. data/lib/shopify_api.rb +12 -533
  6. data/lib/shopify_api/cli.rb +9 -9
  7. data/lib/shopify_api/countable.rb +7 -0
  8. data/lib/shopify_api/events.rb +7 -0
  9. data/lib/shopify_api/json_format.rb +23 -0
  10. data/lib/shopify_api/limits.rb +76 -0
  11. data/lib/shopify_api/metafields.rb +18 -0
  12. data/lib/shopify_api/resources.rb +40 -0
  13. data/lib/shopify_api/resources/address.rb +4 -0
  14. data/lib/shopify_api/resources/application_charge.rb +9 -0
  15. data/lib/shopify_api/resources/article.rb +12 -0
  16. data/lib/shopify_api/resources/asset.rb +95 -0
  17. data/lib/shopify_api/resources/base.rb +6 -0
  18. data/lib/shopify_api/resources/billing_address.rb +4 -0
  19. data/lib/shopify_api/resources/blog.rb +10 -0
  20. data/lib/shopify_api/resources/collect.rb +5 -0
  21. data/lib/shopify_api/resources/comment.rb +13 -0
  22. data/lib/shopify_api/resources/country.rb +4 -0
  23. data/lib/shopify_api/resources/custom_collection.rb +19 -0
  24. data/lib/shopify_api/resources/customer.rb +4 -0
  25. data/lib/shopify_api/resources/customer_group.rb +4 -0
  26. data/lib/shopify_api/resources/event.rb +10 -0
  27. data/lib/shopify_api/resources/fulfillment.rb +5 -0
  28. data/lib/shopify_api/resources/image.rb +16 -0
  29. data/lib/shopify_api/resources/line_item.rb +4 -0
  30. data/lib/shopify_api/resources/metafield.rb +15 -0
  31. data/lib/shopify_api/resources/note_attribute.rb +4 -0
  32. data/lib/shopify_api/resources/option.rb +4 -0
  33. data/lib/shopify_api/resources/order.rb +25 -0
  34. data/lib/shopify_api/resources/page.rb +6 -0
  35. data/lib/shopify_api/resources/payment_details.rb +4 -0
  36. data/lib/shopify_api/resources/product.rb +33 -0
  37. data/lib/shopify_api/resources/product_search_engine.rb +4 -0
  38. data/lib/shopify_api/resources/province.rb +5 -0
  39. data/lib/shopify_api/resources/receipt.rb +4 -0
  40. data/lib/shopify_api/resources/recurring_application_charge.rb +23 -0
  41. data/lib/shopify_api/resources/redirect.rb +4 -0
  42. data/lib/shopify_api/resources/rule.rb +4 -0
  43. data/lib/shopify_api/resources/script_tag.rb +4 -0
  44. data/lib/shopify_api/resources/shipping_address.rb +4 -0
  45. data/lib/shopify_api/resources/shipping_line.rb +4 -0
  46. data/lib/shopify_api/resources/shop.rb +23 -0
  47. data/lib/shopify_api/resources/smart_collection.rb +10 -0
  48. data/lib/shopify_api/resources/tax_line.rb +4 -0
  49. data/lib/shopify_api/resources/theme.rb +4 -0
  50. data/lib/shopify_api/resources/transaction.rb +5 -0
  51. data/lib/shopify_api/resources/variant.rb +11 -0
  52. data/lib/shopify_api/resources/webhook.rb +4 -0
  53. data/lib/shopify_api/session.rb +165 -0
  54. data/shopify_api.gemspec +13 -92
  55. data/test/cli_test.rb +109 -0
  56. data/test/limits_test.rb +37 -0
  57. data/test/shopify_api_test.rb +13 -1
  58. metadata +76 -82
data/shopify_api.gemspec CHANGED
@@ -2,105 +2,27 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{shopify_api}
5
- s.version = "1.2.5"
5
+ s.version = "2.0.0"
6
+ s.author = "Shopify"
6
7
 
7
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Tobias L\303\274tke", "Cody Fauser", "Dennis Theisen", "Edward Ocampo-Gooding"]
9
- s.date = %q{2010-10-05}
10
- s.description = %q{= Shopify API
11
-
12
- The Shopify API gem allows Ruby developers to programmatically access the admin section of Shopify stores.
13
-
14
- The API is implemented as XML over HTTP using all four verbs (GET/POST/PUT/DELETE). Each resource, like Order, Product, or Collection, has its own URL and is manipulated in isolation. In other words, we've tried to make the API follow the REST principles as much as possible.
15
-
16
-
17
- == Usage
18
-
19
- === Requirements
20
-
21
- All API usage happens through Shopify applications, created by either shop owners for their own shops, or by Shopify Partners for use by other shop owners:
22
-
23
- * Shop owners can create applications for themselves through their own admin (under the Preferences > Applications tab).
24
- * Shopify Partners create applications through their admin: http://app.shopify.com/services/partners
25
-
26
- For more information and detailed documentation about the API visit http://api.shopify.com
27
-
28
- === Getting Started
29
-
30
- ShopifyAPI uses ActiveResource to communicate with the REST web service. ActiveResource has to be configured with a fully authorized URL of a particular store first. To obtain that URL you can follow these steps:
31
-
32
- 1. First create a new application in either the partners admin or your store admin and write down your API_KEY and SHARED_SECRET.
33
-
34
- 2. You will need to supply two parameters to the Session class before you instantiate it:
35
-
36
- ShopifyAPI::Session.setup({:api_key => API_KEY, :secret => SHARED_SECRET})
37
-
38
- 3. Create a new Session for a specific shop. That session is not fully valid yet, but it can be used to create a URL that you will redirect your users to:
39
-
40
- session = ShopifyAPI::Session.new("yourshopname.myshopify.com")
41
- session.valid? # returns false
42
-
43
- 4. To access the API shop owners need a "token" from that specific shop. In order to get this token they need to authorize with that shop first. The URL to redirect your user to can be generated via:
44
-
45
- url = session.create_permission_url
46
-
47
- 5. After visiting this URL, the shop redirects the owner to a custom URL of your application where the "token" gets sent to (it's param name is just "t"). Use that token to instantiate a "valid" session, that is ready to make calls to that particular shop.
48
-
49
- token = params[:t]
50
- session = ShopifyAPI::Session.new("yourshopname.myshopify.com", token)
51
- session.valid? # returns true
52
-
53
- 6. Now you can finally get the fully authorized URL for that shop. Use that URL to configure ActiveResource and you're set:
54
-
55
- ActiveResource::Base.site = session.site
56
-
57
- 7. Get data from that shop (returns ActiveResource instances):
58
-
59
- shop = ShopifyAPI::Shop.current
60
- latest_orders = ShopifyAPI::Order.find(:all)
61
-
62
- == Copyright
63
-
64
- Copyright (c) 2009 "JadedPixel inc.". See LICENSE for details.
65
- }
8
+ s.summary = %q{The Shopify API gem is a lightweight gem for accessing the Shopify admin REST web services}
9
+ s.description = %q{The Shopify API gem allows Ruby developers to programmatically access the admin section of Shopify stores. The API is implemented as JSON or XML over HTTP using all four verbs (GET/POST/PUT/DELETE). Each resource, like Order, Product, or Collection, has its own URL and is manipulated in isolation.}
66
10
  s.email = %q{developers@jadedpixel.com}
11
+ s.homepage = %q{http://www.shopify.com/partners/apps}
12
+
67
13
  s.extra_rdoc_files = [
68
14
  "LICENSE",
69
- "README.rdoc"
15
+ "README.rdoc"
70
16
  ]
71
- s.files = [
72
- ".document",
73
- ".gitignore",
74
- "CHANGELOG",
75
- "LICENSE",
76
- "README.rdoc",
77
- "Rakefile",
78
- "lib/shopify_api.rb",
79
- "lib/shopify_api/cli.rb",
80
- "shopify_api.gemspec",
81
- "test/order_test.rb",
82
- "test/shopify_api_test.rb",
83
- "test/test_helper.rb"
84
- ]
85
- s.homepage = %q{http://github.com/Shopify/shopify_api}
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+
86
21
  s.rdoc_options = ["--charset=UTF-8"]
87
- s.require_paths = ["lib"]
88
- s.rubyforge_project = %q{shopify-api}
89
- s.rubygems_version = %q{1.3.7}
90
22
  s.summary = %q{ShopifyAPI is a lightweight gem for accessing the Shopify admin REST web services}
91
- s.test_files = [
92
- "test/order_test.rb",
93
- "test/shopify_api_test.rb",
94
- "test/test_helper.rb"
95
- ]
96
- s.executables = ['shopify']
23
+ s.license = 'MIT'
97
24
 
98
- if s.respond_to? :specification_version
99
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
100
- s.specification_version = 3
101
- end
102
-
103
- s.add_dependency("activeresource", [">= 2.2.2"])
25
+ s.add_dependency("activeresource", [">= 3.0.0"])
104
26
  s.add_dependency("thor", [">= 0.14.4"])
105
27
 
106
28
  if s.respond_to?(:add_development_dependency)
@@ -109,4 +31,3 @@ Copyright (c) 2009 "JadedPixel inc.". See LICENSE for details.
109
31
  s.add_dependency("mocha", ">= 0.9.8")
110
32
  end
111
33
  end
112
-
data/test/cli_test.rb ADDED
@@ -0,0 +1,109 @@
1
+ require 'test_helper'
2
+ require 'shopify_api/cli'
3
+ require 'fileutils'
4
+
5
+ class CliTest < Test::Unit::TestCase
6
+ def setup
7
+ @test_home = File.join(File.expand_path(File.dirname(__FILE__)), 'files', 'home')
8
+ @shop_config_dir = File.join(@test_home, '.shopify', 'shops')
9
+ @default_symlink = File.join(@shop_config_dir, 'default')
10
+ `rm -rf #{@test_home}`
11
+ ENV['HOME'] = @test_home
12
+ @cli = ShopifyAPI::Cli.new
13
+
14
+ FileUtils.mkdir_p(@shop_config_dir)
15
+ File.open(config_file('foo'), 'w') do |file|
16
+ file.puts valid_options.merge('domain' => 'foo.myshopify.com').to_yaml
17
+ end
18
+ File.symlink(config_file('foo'), @default_symlink)
19
+ File.open(config_file('bar'), 'w') do |file|
20
+ file.puts valid_options.merge('domain' => 'bar.myshopify.com').to_yaml
21
+ end
22
+ end
23
+
24
+ def teardown
25
+ `rm -rf #{@test_home}`
26
+ end
27
+
28
+ test "add with blank domain" do
29
+ `rm -rf #{@shop_config_dir}/*`
30
+ $stdout.expects(:print).with("Domain? (leave blank for foo.myshopify.com) ")
31
+ $stdout.expects(:print).with("API key? ")
32
+ $stdout.expects(:print).with("Password? ")
33
+ $stdin.expects(:gets).times(3).returns("", "key", "pass")
34
+ @cli.expects(:puts).with("\nopen https://foo.myshopify.com/admin/api in your browser to get API credentials\n")
35
+ @cli.expects(:puts).with("Default connection is foo")
36
+
37
+ @cli.add('foo')
38
+
39
+ config = YAML.load(File.read(config_file('foo')))
40
+ assert_equal 'foo.myshopify.com', config['domain']
41
+ assert_equal 'key', config['api_key']
42
+ assert_equal 'pass', config['password']
43
+ assert_equal 'https', config['protocol']
44
+ assert_equal config_file('foo'), File.readlink(@default_symlink)
45
+ end
46
+
47
+ test "add with explicit domain" do
48
+ `rm -rf #{@shop_config_dir}/*`
49
+ $stdout.expects(:print).with("Domain? (leave blank for foo.myshopify.com) ")
50
+ $stdout.expects(:print).with("API key? ")
51
+ $stdout.expects(:print).with("Password? ")
52
+ $stdin.expects(:gets).times(3).returns("bar.myshopify.com", "key", "pass")
53
+ @cli.expects(:puts).with("\nopen https://bar.myshopify.com/admin/api in your browser to get API credentials\n")
54
+ @cli.expects(:puts).with("Default connection is foo")
55
+
56
+ @cli.add('foo')
57
+
58
+ config = YAML.load(File.read(config_file('foo')))
59
+ assert_equal 'bar.myshopify.com', config['domain']
60
+ end
61
+
62
+ test "list" do
63
+ @cli.expects(:puts).with(" bar")
64
+ @cli.expects(:puts).with(" * foo")
65
+
66
+ @cli.list
67
+ end
68
+
69
+ test "show default" do
70
+ @cli.expects(:puts).with("Default connection is foo")
71
+
72
+ @cli.default
73
+ end
74
+
75
+ test "set default" do
76
+ @cli.expects(:puts).with("Default connection is bar")
77
+
78
+ @cli.default('bar')
79
+
80
+ assert_equal config_file('bar'), File.readlink(@default_symlink)
81
+ end
82
+
83
+ test "remove default connection" do
84
+ @cli.remove('foo')
85
+
86
+ assert !File.exist?(@default_symlink)
87
+ assert !File.exist?(config_file('foo'))
88
+ assert File.exist?(config_file('bar'))
89
+ end
90
+
91
+ test "remove non-default connection" do
92
+ @cli.remove('bar')
93
+
94
+ assert_equal config_file('foo'), File.readlink(@default_symlink)
95
+ assert File.exist?(config_file('foo'))
96
+ assert !File.exist?(config_file('bar'))
97
+ end
98
+
99
+ private
100
+
101
+ def valid_options
102
+ {'domain' => 'snowdevil.myshopify.com', 'api_key' => 'key', 'password' => 'pass', 'protocol' => 'https'}
103
+ end
104
+
105
+ def config_file(connection)
106
+ File.join(@shop_config_dir, "#{connection}.yml")
107
+ end
108
+
109
+ end
@@ -0,0 +1,37 @@
1
+ require 'test_helper'
2
+ require 'mocha'
3
+
4
+ class LimitsTest < Test::Unit::TestCase
5
+ def setup
6
+ ShopifyAPI::Base.site = "test.myshopify.com"
7
+ @header_hash = {'http_x_shopify_api_call_limit' => '150/3000',
8
+ 'http_x_shopify_shop_api_call_limit' => '100/300'}
9
+ ShopifyAPI::Base.connection.expects(:response).at_least(0).returns(@header_hash)
10
+ end
11
+
12
+ context "Limits" do
13
+ should "fetch limit total" do
14
+ assert_equal(299, ShopifyAPI.credit_limit(:shop))
15
+ assert_equal(2999, ShopifyAPI.credit_limit(:global))
16
+ end
17
+
18
+ should "fetch used calls" do
19
+ assert_equal(100, ShopifyAPI.credit_used(:shop))
20
+ assert_equal(150, ShopifyAPI.credit_used(:global))
21
+ end
22
+
23
+ should "calculate remaining calls" do
24
+ assert_equal(199, ShopifyAPI.credit_left)
25
+ end
26
+
27
+ should "flag maxed out credits" do
28
+ assert !ShopifyAPI.maxed?
29
+ @header_hash = {'http_x_shopify_api_call_limit' => '2999/3000',
30
+ 'http_x_shopify_shop_api_call_limit' => '299/300'}
31
+ ShopifyAPI::Base.connection.expects(:response).at_least(1).returns(@header_hash)
32
+ assert ShopifyAPI.maxed?
33
+ end
34
+ end
35
+
36
+
37
+ end
@@ -39,5 +39,17 @@ class ShopifyApiTest < Test::Unit::TestCase
39
39
  should "use 'https' protocol by default for all sessions" do
40
40
  assert_equal 'https', ShopifyAPI::Session.protocol
41
41
  end
42
+
43
+ should "#temp reset ShopifyAPI::Base.site to original value" do
44
+ ShopifyAPI::Base.site = 'http://www.original.com'
45
+
46
+ ShopifyAPI::Session.setup(:api_key => "key", :secret => "secret")
47
+ assigned_site = nil
48
+ ShopifyAPI::Session.temp("testshop.myshopify.com", "any-token") {
49
+ assigned_site = ShopifyAPI::Base.site
50
+ }
51
+ assert_equal 'https://key:e56d5793b869753d87cf03ceb6bb5dfc@testshop.myshopify.com/admin', assigned_site.to_s
52
+ assert_equal 'http://www.original.com', ShopifyAPI::Base.site.to_s
53
+ end
42
54
  end
43
- end
55
+ end
metadata CHANGED
@@ -1,24 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_api
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 15
5
+ prerelease:
5
6
  segments:
6
- - 1
7
7
  - 2
8
- - 5
9
- version: 1.2.5
8
+ - 0
9
+ - 0
10
+ version: 2.0.0
10
11
  platform: ruby
11
12
  authors:
12
- - "Tobias L\xC3\xBCtke"
13
- - Cody Fauser
14
- - Dennis Theisen
15
- - Edward Ocampo-Gooding
13
+ - Shopify
16
14
  autorequire:
17
15
  bindir: bin
18
16
  cert_chain: []
19
17
 
20
- date: 2010-10-05 00:00:00 -04:00
21
- default_executable:
18
+ date: 2011-09-20 00:00:00 Z
22
19
  dependencies:
23
20
  - !ruby/object:Gem::Dependency
24
21
  name: activeresource
@@ -28,11 +25,12 @@ dependencies:
28
25
  requirements:
29
26
  - - ">="
30
27
  - !ruby/object:Gem::Version
28
+ hash: 7
31
29
  segments:
32
- - 2
33
- - 2
34
- - 2
35
- version: 2.2.2
30
+ - 3
31
+ - 0
32
+ - 0
33
+ version: 3.0.0
36
34
  type: :runtime
37
35
  version_requirements: *id001
38
36
  - !ruby/object:Gem::Dependency
@@ -43,6 +41,7 @@ dependencies:
43
41
  requirements:
44
42
  - - ">="
45
43
  - !ruby/object:Gem::Version
44
+ hash: 47
46
45
  segments:
47
46
  - 0
48
47
  - 14
@@ -58,6 +57,7 @@ dependencies:
58
57
  requirements:
59
58
  - - ">="
60
59
  - !ruby/object:Gem::Version
60
+ hash: 43
61
61
  segments:
62
62
  - 0
63
63
  - 9
@@ -65,63 +65,7 @@ dependencies:
65
65
  version: 0.9.8
66
66
  type: :development
67
67
  version_requirements: *id003
68
- description: |
69
- = Shopify API
70
-
71
- The Shopify API gem allows Ruby developers to programmatically access the admin section of Shopify stores.
72
-
73
- The API is implemented as XML over HTTP using all four verbs (GET/POST/PUT/DELETE). Each resource, like Order, Product, or Collection, has its own URL and is manipulated in isolation. In other words, we've tried to make the API follow the REST principles as much as possible.
74
-
75
-
76
- == Usage
77
-
78
- === Requirements
79
-
80
- All API usage happens through Shopify applications, created by either shop owners for their own shops, or by Shopify Partners for use by other shop owners:
81
-
82
- * Shop owners can create applications for themselves through their own admin (under the Preferences > Applications tab).
83
- * Shopify Partners create applications through their admin: http://app.shopify.com/services/partners
84
-
85
- For more information and detailed documentation about the API visit http://api.shopify.com
86
-
87
- === Getting Started
88
-
89
- ShopifyAPI uses ActiveResource to communicate with the REST web service. ActiveResource has to be configured with a fully authorized URL of a particular store first. To obtain that URL you can follow these steps:
90
-
91
- 1. First create a new application in either the partners admin or your store admin and write down your API_KEY and SHARED_SECRET.
92
-
93
- 2. You will need to supply two parameters to the Session class before you instantiate it:
94
-
95
- ShopifyAPI::Session.setup({:api_key => API_KEY, :secret => SHARED_SECRET})
96
-
97
- 3. Create a new Session for a specific shop. That session is not fully valid yet, but it can be used to create a URL that you will redirect your users to:
98
-
99
- session = ShopifyAPI::Session.new("yourshopname.myshopify.com")
100
- session.valid? # returns false
101
-
102
- 4. To access the API shop owners need a "token" from that specific shop. In order to get this token they need to authorize with that shop first. The URL to redirect your user to can be generated via:
103
-
104
- url = session.create_permission_url
105
-
106
- 5. After visiting this URL, the shop redirects the owner to a custom URL of your application where the "token" gets sent to (it's param name is just "t"). Use that token to instantiate a "valid" session, that is ready to make calls to that particular shop.
107
-
108
- token = params[:t]
109
- session = ShopifyAPI::Session.new("yourshopname.myshopify.com", token)
110
- session.valid? # returns true
111
-
112
- 6. Now you can finally get the fully authorized URL for that shop. Use that URL to configure ActiveResource and you're set:
113
-
114
- ActiveResource::Base.site = session.site
115
-
116
- 7. Get data from that shop (returns ActiveResource instances):
117
-
118
- shop = ShopifyAPI::Shop.current
119
- latest_orders = ShopifyAPI::Order.find(:all)
120
-
121
- == Copyright
122
-
123
- Copyright (c) 2009 "JadedPixel inc.". See LICENSE for details.
124
-
68
+ description: The Shopify API gem allows Ruby developers to programmatically access the admin section of Shopify stores. The API is implemented as JSON or XML over HTTP using all four verbs (GET/POST/PUT/DELETE). Each resource, like Order, Product, or Collection, has its own URL and is manipulated in isolation.
125
69
  email: developers@jadedpixel.com
126
70
  executables:
127
71
  - shopify
@@ -136,18 +80,68 @@ files:
136
80
  - CHANGELOG
137
81
  - LICENSE
138
82
  - README.rdoc
83
+ - RELEASING
139
84
  - Rakefile
85
+ - bin/shopify
86
+ - lib/active_resource/connection_ext.rb
140
87
  - lib/shopify_api.rb
141
88
  - lib/shopify_api/cli.rb
89
+ - lib/shopify_api/countable.rb
90
+ - lib/shopify_api/events.rb
91
+ - lib/shopify_api/json_format.rb
92
+ - lib/shopify_api/limits.rb
93
+ - lib/shopify_api/metafields.rb
94
+ - lib/shopify_api/resources.rb
95
+ - lib/shopify_api/resources/address.rb
96
+ - lib/shopify_api/resources/application_charge.rb
97
+ - lib/shopify_api/resources/article.rb
98
+ - lib/shopify_api/resources/asset.rb
99
+ - lib/shopify_api/resources/base.rb
100
+ - lib/shopify_api/resources/billing_address.rb
101
+ - lib/shopify_api/resources/blog.rb
102
+ - lib/shopify_api/resources/collect.rb
103
+ - lib/shopify_api/resources/comment.rb
104
+ - lib/shopify_api/resources/country.rb
105
+ - lib/shopify_api/resources/custom_collection.rb
106
+ - lib/shopify_api/resources/customer.rb
107
+ - lib/shopify_api/resources/customer_group.rb
108
+ - lib/shopify_api/resources/event.rb
109
+ - lib/shopify_api/resources/fulfillment.rb
110
+ - lib/shopify_api/resources/image.rb
111
+ - lib/shopify_api/resources/line_item.rb
112
+ - lib/shopify_api/resources/metafield.rb
113
+ - lib/shopify_api/resources/note_attribute.rb
114
+ - lib/shopify_api/resources/option.rb
115
+ - lib/shopify_api/resources/order.rb
116
+ - lib/shopify_api/resources/page.rb
117
+ - lib/shopify_api/resources/payment_details.rb
118
+ - lib/shopify_api/resources/product.rb
119
+ - lib/shopify_api/resources/product_search_engine.rb
120
+ - lib/shopify_api/resources/province.rb
121
+ - lib/shopify_api/resources/receipt.rb
122
+ - lib/shopify_api/resources/recurring_application_charge.rb
123
+ - lib/shopify_api/resources/redirect.rb
124
+ - lib/shopify_api/resources/rule.rb
125
+ - lib/shopify_api/resources/script_tag.rb
126
+ - lib/shopify_api/resources/shipping_address.rb
127
+ - lib/shopify_api/resources/shipping_line.rb
128
+ - lib/shopify_api/resources/shop.rb
129
+ - lib/shopify_api/resources/smart_collection.rb
130
+ - lib/shopify_api/resources/tax_line.rb
131
+ - lib/shopify_api/resources/theme.rb
132
+ - lib/shopify_api/resources/transaction.rb
133
+ - lib/shopify_api/resources/variant.rb
134
+ - lib/shopify_api/resources/webhook.rb
135
+ - lib/shopify_api/session.rb
142
136
  - shopify_api.gemspec
137
+ - test/cli_test.rb
138
+ - test/limits_test.rb
143
139
  - test/order_test.rb
144
140
  - test/shopify_api_test.rb
145
141
  - test/test_helper.rb
146
- - bin/shopify
147
- has_rdoc: true
148
- homepage: http://github.com/Shopify/shopify_api
149
- licenses: []
150
-
142
+ homepage: http://www.shopify.com/partners/apps
143
+ licenses:
144
+ - MIT
151
145
  post_install_message:
152
146
  rdoc_options:
153
147
  - --charset=UTF-8
@@ -158,6 +152,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
158
152
  requirements:
159
153
  - - ">="
160
154
  - !ruby/object:Gem::Version
155
+ hash: 3
161
156
  segments:
162
157
  - 0
163
158
  version: "0"
@@ -166,17 +161,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
161
  requirements:
167
162
  - - ">="
168
163
  - !ruby/object:Gem::Version
164
+ hash: 3
169
165
  segments:
170
166
  - 0
171
167
  version: "0"
172
168
  requirements: []
173
169
 
174
- rubyforge_project: shopify-api
175
- rubygems_version: 1.3.7
170
+ rubyforge_project:
171
+ rubygems_version: 1.8.10
176
172
  signing_key:
177
173
  specification_version: 3
178
174
  summary: ShopifyAPI is a lightweight gem for accessing the Shopify admin REST web services
179
- test_files:
180
- - test/order_test.rb
181
- - test/shopify_api_test.rb
182
- - test/test_helper.rb
175
+ test_files: []
176
+