a_marmita 0.0.1 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +2 -0
- data/.rspec +4 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +9 -1
- data/lib/a_marmita.rb +40 -21
- data/lib/a_marmita/authentication.rb +29 -0
- data/lib/a_marmita/cart/base.rb +66 -0
- data/lib/a_marmita/cart/scrapper.rb +50 -0
- data/lib/a_marmita/client_module.rb +24 -0
- data/lib/a_marmita/helpers.rb +62 -0
- data/lib/a_marmita/meals/base.rb +64 -0
- data/lib/a_marmita/meals/scrapper.rb +54 -0
- data/lib/a_marmita/orders/base.rb +39 -0
- data/lib/a_marmita/orders/scrapper.rb +76 -0
- data/lib/a_marmita/payment.rb +21 -0
- data/lib/a_marmita/scrapper.rb +46 -0
- data/lib/a_marmita/version.rb +1 -1
- data/lib/a_marmita/web_agent.rb +24 -0
- data/run.rb +23 -0
- data/spec/a_marmita/client_spec.rb +68 -0
- data/spec/a_marmita/meals_spec.rb +18 -0
- data/spec/spec_helper.rb +47 -0
- data/spec/support/environment.rb +9 -0
- data/spec/support/meals_parsed_response.rb +5 -0
- data/spec/support/meals_server_response.rb +3498 -0
- data/spec/support/web_mock.rb +9 -0
- metadata +31 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: a_marmita
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- João Gonçalves
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -46,6 +46,7 @@ extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
48
|
- .gitignore
|
49
|
+
- .rspec
|
49
50
|
- .rvmrc
|
50
51
|
- Gemfile
|
51
52
|
- Gemfile.lock
|
@@ -53,7 +54,27 @@ files:
|
|
53
54
|
- README.md
|
54
55
|
- a_marmita.gemspec
|
55
56
|
- lib/a_marmita.rb
|
57
|
+
- lib/a_marmita/authentication.rb
|
58
|
+
- lib/a_marmita/cart/base.rb
|
59
|
+
- lib/a_marmita/cart/scrapper.rb
|
60
|
+
- lib/a_marmita/client_module.rb
|
61
|
+
- lib/a_marmita/helpers.rb
|
62
|
+
- lib/a_marmita/meals/base.rb
|
63
|
+
- lib/a_marmita/meals/scrapper.rb
|
64
|
+
- lib/a_marmita/orders/base.rb
|
65
|
+
- lib/a_marmita/orders/scrapper.rb
|
66
|
+
- lib/a_marmita/payment.rb
|
67
|
+
- lib/a_marmita/scrapper.rb
|
56
68
|
- lib/a_marmita/version.rb
|
69
|
+
- lib/a_marmita/web_agent.rb
|
70
|
+
- run.rb
|
71
|
+
- spec/a_marmita/client_spec.rb
|
72
|
+
- spec/a_marmita/meals_spec.rb
|
73
|
+
- spec/spec_helper.rb
|
74
|
+
- spec/support/environment.rb
|
75
|
+
- spec/support/meals_parsed_response.rb
|
76
|
+
- spec/support/meals_server_response.rb
|
77
|
+
- spec/support/web_mock.rb
|
57
78
|
homepage: https://github.com/goncalvesjoao/a_marmita
|
58
79
|
licenses:
|
59
80
|
- MIT
|
@@ -79,4 +100,11 @@ signing_key:
|
|
79
100
|
specification_version: 4
|
80
101
|
summary: This gem allows you to get the 'meals', login, logout and make 'orders' in
|
81
102
|
your behalf, at the "A Marmita" website.
|
82
|
-
test_files:
|
103
|
+
test_files:
|
104
|
+
- spec/a_marmita/client_spec.rb
|
105
|
+
- spec/a_marmita/meals_spec.rb
|
106
|
+
- spec/spec_helper.rb
|
107
|
+
- spec/support/environment.rb
|
108
|
+
- spec/support/meals_parsed_response.rb
|
109
|
+
- spec/support/meals_server_response.rb
|
110
|
+
- spec/support/web_mock.rb
|