shopify_api 1.0.1 → 1.0.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.
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/lib/shopify_api.rb +7 -0
- data/shopify_api.gemspec +2 -2
- metadata +2 -2
data/Rakefile
CHANGED
|
@@ -14,7 +14,7 @@ begin
|
|
|
14
14
|
gem.add_dependency('activeresource', '>= 2.2.2')
|
|
15
15
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
|
16
16
|
end
|
|
17
|
-
|
|
17
|
+
Jeweler::GemcutterTasks.new
|
|
18
18
|
Jeweler::RubyforgeTasks.new
|
|
19
19
|
rescue LoadError
|
|
20
20
|
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
|
@@ -56,4 +56,4 @@ Rake::RDocTask.new do |rdoc|
|
|
|
56
56
|
rdoc.title = "shopify_api #{version}"
|
|
57
57
|
rdoc.rdoc_files.include('README*')
|
|
58
58
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
59
|
-
end
|
|
59
|
+
end
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.2
|
data/lib/shopify_api.rb
CHANGED
|
@@ -452,9 +452,16 @@ module ShopifyAPI
|
|
|
452
452
|
def cancel
|
|
453
453
|
load_attributes_from_response(self.destroy)
|
|
454
454
|
end
|
|
455
|
+
|
|
456
|
+
def activate
|
|
457
|
+
load_attributes_from_response(post(:activate))
|
|
458
|
+
end
|
|
455
459
|
end
|
|
456
460
|
|
|
457
461
|
class ApplicationCharge < Base
|
|
462
|
+
def activate
|
|
463
|
+
load_attributes_from_response(post(:activate))
|
|
464
|
+
end
|
|
458
465
|
end
|
|
459
466
|
|
|
460
467
|
# Include Metafields module in all enabled classes
|
data/shopify_api.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{shopify_api}
|
|
8
|
-
s.version = "1.0.
|
|
8
|
+
s.version = "1.0.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Tobias L\303\274tke", "Cody Fauser", "Dennis Theisen"]
|
|
12
|
-
s.date = %q{
|
|
12
|
+
s.date = %q{2010-01-04}
|
|
13
13
|
s.description = %q{= Shopify API
|
|
14
14
|
|
|
15
15
|
The Shopify API gem allows Ruby developers to programmatically access the admin section of Shopify stores.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shopify_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- "Tobias L\xC3\xBCtke"
|
|
@@ -11,7 +11,7 @@ autorequire:
|
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
13
|
|
|
14
|
-
date:
|
|
14
|
+
date: 2010-01-04 00:00:00 -05:00
|
|
15
15
|
default_executable:
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|