storexplore 0.2.0 → 0.2.1
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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.md +6 -0
- data/lib/storexplore/testing/dummy_store.rb +2 -0
- data/lib/storexplore/testing/dummy_store_api.rb +2 -2
- data/lib/storexplore/testing/dummy_store_generator.rb +5 -0
- data/lib/storexplore/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4cb24de391c52ca88ee68c6cfd3115a987ca7a49
|
|
4
|
+
data.tar.gz: a913ff3660f8dd1b1a8cff1b953b2711351b1a80
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
@@ -25,8 +25,8 @@ module Storexplore
|
|
|
25
25
|
module Testing
|
|
26
26
|
|
|
27
27
|
# API definition for stores generated Storexplore::DummyStore
|
|
28
|
-
#
|
|
29
|
-
#
|
|
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
|
data/lib/storexplore/version.rb
CHANGED
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.
|
|
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-
|
|
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
|