shopify-mock 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -3,7 +3,7 @@
3
3
  This gem is used for testing Shopify apps without having to actually connect to
4
4
  Shopify to develop the application.
5
5
 
6
- You can use this gem explicitely for testing, or you can also use it in your
6
+ You can use this gem explicitly for testing, or you can also use it in your
7
7
  development environment to speed things up when fiddling around in the web
8
8
  browser, or in the console.
9
9
 
@@ -57,5 +57,22 @@ Or, if you'd prefer you can point the entire fixture path to a different locatio
57
57
  ShopifyAPI::Mock::Fixtures.path = File.join(Rails.root, 'spec', 'fixtures')
58
58
 
59
59
 
60
- All of the default fixtures are copied directly from the
61
- {Shopify API}[http://api.shopify.com]
60
+ == Contributing to shopify-mock
61
+
62
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
63
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
64
+ * Fork the project
65
+ * Start a feature/bugfix branch
66
+ * Commit and push until you are happy with your contribution
67
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
68
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
69
+
70
+ == Resources
71
+
72
+ * All of the default fixtures were copied directly from the {Shopify API}[http://api.shopify.com]
73
+
74
+
75
+ == Copyright
76
+
77
+ Copyright (c) 2011 Travis Haynes. See LICENSE.txt for further details.
78
+
data/lib/shopify-mock.rb CHANGED
@@ -41,4 +41,4 @@ module ShopifyAPI
41
41
  end
42
42
  end
43
43
 
44
- ShopifyAPI::Mock.enable if defined?(Rails) && Rails.env.test?
44
+ ShopifyAPI::Mock.enabled = defined?(Rails) && Rails.env.test?
@@ -1,3 +1,3 @@
1
1
  module ShopifyMock
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify-mock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-09-07 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fakeweb
16
- requirement: &13655540 !ruby/object:Gem::Requirement
16
+ requirement: &16305320 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.3.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *13655540
24
+ version_requirements: *16305320
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &13648580 !ruby/object:Gem::Requirement
27
+ requirement: &16299000 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 2.6.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *13648580
35
+ version_requirements: *16299000
36
36
  description: ! 'This gem is used for testing Shopify apps without having to actually
37
37
  connect to
38
38