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.
@@ -0,0 +1,9 @@
1
+ module WebMock
2
+ module API
3
+
4
+ def stub_request(method, uri)
5
+ WebMock::StubRegistry.instance.register_request_stub(WebMock::RequestStub.new(method, '-'))
6
+ end
7
+
8
+ end
9
+ end
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.0.1
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-03-28 00:00:00.000000000 Z
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