storexplore 0.2.0 → 0.2.1

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: f9aad6223151eb82e5a00d692857bae568271a7f
4
- data.tar.gz: 02565e1894429c9afbafe786817a7991c41248f4
3
+ metadata.gz: 4cb24de391c52ca88ee68c6cfd3115a987ca7a49
4
+ data.tar.gz: a913ff3660f8dd1b1a8cff1b953b2711351b1a80
5
5
  SHA512:
6
- metadata.gz: 232031993870546c1bd5abcf442f5710eac133dd75bcd3342aacd41e7d87ec7c68bff2b7b8c911ecb8b3fadc20f3c6a1763b2474a2b9c065204ac756aacddbb1
7
- data.tar.gz: 52d3a90be6cc7bc8c4805752c7fab05083efc6d8f9f0c5d3e255d19abaecd470538850edc8c2b234b6ae01d329e33eef37688eff384640474d16acca1dae9e28
6
+ metadata.gz: b18f30d0fdbfdbdff89709ecc99494129a62dbd86939e4dbc7ab91015c9f1639d07103d3957158552af04a0798ddf40b7f36a6e4dc1edca705814b06e29d9f9a
7
+ data.tar.gz: a01ee0a7c52ac52e3c006ccb6f4bcaa0c90e254c9fae06cba36cd8c92350845b7f9a7c1c909bd4aaf8d52dc3c5ce4c7019c954106f17d481c7b1b4c3623d91b3
checksums.yaml.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -148,6 +148,12 @@ describe "MyStoreApi" do
148
148
  end
149
149
  ```
150
150
 
151
+ ### Testing files to require
152
+
153
+ * To only get the api definition for a previously generated dummy store, it is enough to require 'storexplore/testing/dummy_store_api'
154
+ * To be able to generate and scrap dummy stores, it's needed to require 'storexplore/testing/dummy_store_generator'
155
+ * To do all the previous and to use rspec utilities, require 'storexplore/testing'
156
+
151
157
  ## Contributing
152
158
 
153
159
  1. Fork it
@@ -20,6 +20,8 @@
20
20
  # MA 02110-1301 USA
21
21
 
22
22
  require "fileutils"
23
+ require_relative "configuration"
24
+ require_relative "dummy_store_constants"
23
25
 
24
26
  module Storexplore
25
27
  module Testing
@@ -25,8 +25,8 @@ module Storexplore
25
25
  module Testing
26
26
 
27
27
  # API definition for stores generated Storexplore::DummyStore
28
- # This file can be included on its own, without storexplore/testing.rb and
29
- # without the need for all the runtime testing dependencies (rspec, etc).
28
+ #
29
+ # This file can be required on its own
30
30
  Storexplore::Api.define DummyStoreConstants::NAME do
31
31
 
32
32
  categories 'a.category' do
@@ -19,11 +19,16 @@
19
19
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
20
  # MA 02110-1301 USA
21
21
 
22
+ require_relative 'dummy_store'
23
+ require_relative 'dummy_data'
24
+
22
25
  module Storexplore
23
26
  module Testing
24
27
 
25
28
  # Dummy store generation one liner. Forwards chains of method calls to a
26
29
  # collections of Storexplore::Testing::DummyStore instances.
30
+ #
31
+ # This file can be required on its own
27
32
  class DummyStoreGenerator
28
33
 
29
34
  # * pages : collection of Storexplore::Testing::DummyStore instances to
@@ -20,5 +20,5 @@
20
20
  # MA 02110-1301 USA
21
21
 
22
22
  module Storexplore
23
- VERSION = "0.2.0"
23
+ VERSION = "0.2.1"
24
24
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: storexplore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philou
@@ -31,7 +31,7 @@ cert_chain:
31
31
  yLcl1cmm5ALtJ/+Bkkmp0i4amXeTDMvq9r8PBsVsQwxYOYJBP+Umxz3PX6HjFHrQ
32
32
  XdkXx3oZ
33
33
  -----END CERTIFICATE-----
34
- date: 2014-01-21 00:00:00.000000000 Z
34
+ date: 2014-01-23 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: mechanize
metadata.gz.sig CHANGED
Binary file