auchandirect-scrAPI 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +26 -0
- data/.rspec +1 -0
- data/.travis.yml +17 -0
- data/Gemfile +4 -0
- data/Guardfile +9 -0
- data/LICENSE +165 -0
- data/README.md +29 -0
- data/Rakefile +7 -0
- data/auchandirect-scrAPI.gemspec +27 -0
- data/lib/auchandirect/scrAPI.rb +29 -0
- data/lib/auchandirect/scrAPI/base_cart.rb +68 -0
- data/lib/auchandirect/scrAPI/cart.rb +173 -0
- data/lib/auchandirect/scrAPI/dummy_cart.rb +128 -0
- data/lib/auchandirect/scrAPI/invalid_account_error.rb +27 -0
- data/lib/auchandirect/scrAPI/items.rb +62 -0
- data/lib/auchandirect/scrAPI/version.rb +27 -0
- data/lib/auchandirect/scrAPI/webrick_uri_escape_monkey_patch.rb +37 -0
- data/spec/lib/auchandirect/scrAPI/cart_shared_examples.rb +189 -0
- data/spec/lib/auchandirect/scrAPI/cart_spec.rb +51 -0
- data/spec/lib/auchandirect/scrAPI/client_cart_shared_examples.rb +60 -0
- data/spec/lib/auchandirect/scrAPI/dummy_cart_spec.rb +40 -0
- data/spec/lib/auchandirect/scrAPI/items_spec.rb +44 -0
- data/spec/lib/auchandirect/scrAPI/offline_items_spec.rb +114 -0
- data/spec/spec_helper.rb +38 -0
- data/spec/support/enumerator_lazy.rb +38 -0
- data/spec/support/offline_test_helper.rb +49 -0
- data/spec/support_spec/enumerator_lazy_spec.rb +42 -0
- metadata +178 -0
- metadata.gz.sig +0 -0
metadata
ADDED
@@ -0,0 +1,178 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: auchandirect-scrAPI
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Philou
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_ch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
27
|
+
cMHMJ9d/DRU7rynJ8c4xuuM4c3Ri8bGPqI/a1BAp4QPJApS4+ANXXJ220hslrekP
|
28
|
+
9/ExEKFiqiywh1clih9ttuN4cHqJzCP6QHqJznQrvaYToZLxGARDf3Mwz4mFSh4W
|
29
|
+
snSep53DZ1vrY2Gzmig/4PuBF4q3nhwPgxV6H3SH4/Py7QF5COZPQlCdBwPYczqW
|
30
|
+
XxIbXhRVXcgjBHT0w2HsXkOwmmYvBzbrfqtTx5NswwHcIeQZB/NID7berIf9awx3
|
31
|
+
yLcl1cmm5ALtJ/+Bkkmp0i4amXeTDMvq9r8PBsVsQwxYOYJBP+Umxz3PX6HjFHrQ
|
32
|
+
XdkXx3oZ
|
33
|
+
-----END CERTIFICATE-----
|
34
|
+
date: 2014-03-17 00:00:00.000000000 Z
|
35
|
+
dependencies:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: storexplore
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ~>
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0.2'
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ~>
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0.2'
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: bundler
|
52
|
+
requirement: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '1.3'
|
57
|
+
type: :development
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ~>
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '1.3'
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: rake
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '10.1'
|
71
|
+
type: :development
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '10.1'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: guard-rspec
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ~>
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '4.0'
|
85
|
+
type: :development
|
86
|
+
prerelease: false
|
87
|
+
version_requirements: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ~>
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '4.0'
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: net-ping
|
94
|
+
requirement: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ~>
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '1.7'
|
99
|
+
type: :development
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ~>
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '1.7'
|
106
|
+
- !ruby/object:Gem::Dependency
|
107
|
+
name: spec_combos
|
108
|
+
requirement: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ~>
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0.2'
|
113
|
+
type: :development
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ~>
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0.2'
|
120
|
+
description: Through scrapping, an API to the french www.auchandirect.com online grocery
|
121
|
+
email:
|
122
|
+
- philippe.bourgau@gmail.com
|
123
|
+
executables: []
|
124
|
+
extensions: []
|
125
|
+
extra_rdoc_files: []
|
126
|
+
files:
|
127
|
+
- .gitignore
|
128
|
+
- .rspec
|
129
|
+
- .travis.yml
|
130
|
+
- Gemfile
|
131
|
+
- Guardfile
|
132
|
+
- LICENSE
|
133
|
+
- README.md
|
134
|
+
- Rakefile
|
135
|
+
- auchandirect-scrAPI.gemspec
|
136
|
+
- lib/auchandirect/scrAPI.rb
|
137
|
+
- lib/auchandirect/scrAPI/base_cart.rb
|
138
|
+
- lib/auchandirect/scrAPI/cart.rb
|
139
|
+
- lib/auchandirect/scrAPI/dummy_cart.rb
|
140
|
+
- lib/auchandirect/scrAPI/invalid_account_error.rb
|
141
|
+
- lib/auchandirect/scrAPI/items.rb
|
142
|
+
- lib/auchandirect/scrAPI/version.rb
|
143
|
+
- lib/auchandirect/scrAPI/webrick_uri_escape_monkey_patch.rb
|
144
|
+
- spec/lib/auchandirect/scrAPI/cart_shared_examples.rb
|
145
|
+
- spec/lib/auchandirect/scrAPI/cart_spec.rb
|
146
|
+
- spec/lib/auchandirect/scrAPI/client_cart_shared_examples.rb
|
147
|
+
- spec/lib/auchandirect/scrAPI/dummy_cart_spec.rb
|
148
|
+
- spec/lib/auchandirect/scrAPI/items_spec.rb
|
149
|
+
- spec/lib/auchandirect/scrAPI/offline_items_spec.rb
|
150
|
+
- spec/spec_helper.rb
|
151
|
+
- spec/support/enumerator_lazy.rb
|
152
|
+
- spec/support/offline_test_helper.rb
|
153
|
+
- spec/support_spec/enumerator_lazy_spec.rb
|
154
|
+
homepage: https://github.com/philou/auchandirect-scrAPI
|
155
|
+
licenses:
|
156
|
+
- LGPL v3
|
157
|
+
metadata: {}
|
158
|
+
post_install_message:
|
159
|
+
rdoc_options: []
|
160
|
+
require_paths:
|
161
|
+
- lib
|
162
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - '>='
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0'
|
172
|
+
requirements: []
|
173
|
+
rubyforge_project:
|
174
|
+
rubygems_version: 2.0.3
|
175
|
+
signing_key:
|
176
|
+
specification_version: 4
|
177
|
+
summary: auchandirect.com grocery API
|
178
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|