epom 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +28 -0
  5. data/config/application.yml +41 -0
  6. data/lib/epom.rb +22 -0
  7. data/lib/epom/ad_unit_size.rb +15 -0
  8. data/lib/epom/advertiser.rb +45 -0
  9. data/lib/epom/auth.rb +31 -0
  10. data/lib/epom/banner.rb +525 -0
  11. data/lib/epom/banner_type.rb +15 -0
  12. data/lib/epom/campaign.rb +508 -0
  13. data/lib/epom/day_of_week.rb +11 -0
  14. data/lib/epom/epom_element.rb +61 -0
  15. data/lib/epom/limit_counters.rb +10 -0
  16. data/lib/epom/payment_model.rb +9 -0
  17. data/lib/epom/period_type.rb +9 -0
  18. data/lib/epom/placement.rb +56 -0
  19. data/lib/epom/placement_type.rb +7 -0
  20. data/lib/epom/publisher.rb +6 -0
  21. data/lib/epom/relation.rb +9 -0
  22. data/lib/epom/site.rb +84 -0
  23. data/lib/epom/version.rb +3 -0
  24. data/lib/epom/zone.rb +38 -0
  25. data/lib/tasks/epom_tasks.rake +4 -0
  26. data/test/IMG_5457-128x128.JPG +0 -0
  27. data/test/dummy/README.rdoc +28 -0
  28. data/test/dummy/Rakefile +6 -0
  29. data/test/dummy/app/assets/javascripts/application.js +13 -0
  30. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  31. data/test/dummy/app/controllers/application_controller.rb +5 -0
  32. data/test/dummy/app/helpers/application_helper.rb +2 -0
  33. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  34. data/test/dummy/bin/bundle +3 -0
  35. data/test/dummy/bin/rails +4 -0
  36. data/test/dummy/bin/rake +4 -0
  37. data/test/dummy/bin/setup +29 -0
  38. data/test/dummy/config.ru +4 -0
  39. data/test/dummy/config/application.rb +26 -0
  40. data/test/dummy/config/boot.rb +5 -0
  41. data/test/dummy/config/database.yml +25 -0
  42. data/test/dummy/config/environment.rb +5 -0
  43. data/test/dummy/config/environments/development.rb +41 -0
  44. data/test/dummy/config/environments/production.rb +79 -0
  45. data/test/dummy/config/environments/test.rb +42 -0
  46. data/test/dummy/config/initializers/assets.rb +11 -0
  47. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  48. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  49. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  50. data/test/dummy/config/initializers/inflections.rb +16 -0
  51. data/test/dummy/config/initializers/mime_types.rb +4 -0
  52. data/test/dummy/config/initializers/session_store.rb +3 -0
  53. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  54. data/test/dummy/config/locales/en.yml +23 -0
  55. data/test/dummy/config/routes.rb +56 -0
  56. data/test/dummy/config/secrets.yml +22 -0
  57. data/test/dummy/db/development.sqlite3 +0 -0
  58. data/test/dummy/db/schema.rb +16 -0
  59. data/test/dummy/db/test.sqlite3 +0 -0
  60. data/test/dummy/log/development.log +4 -0
  61. data/test/dummy/log/test.log +17350 -0
  62. data/test/dummy/public/404.html +67 -0
  63. data/test/dummy/public/422.html +67 -0
  64. data/test/dummy/public/500.html +66 -0
  65. data/test/dummy/public/favicon.ico +0 -0
  66. data/test/epom/advertiser_test.rb +85 -0
  67. data/test/epom/auth_test.rb +50 -0
  68. data/test/epom/banner_test.rb +194 -0
  69. data/test/epom/campaign_test.rb +65 -0
  70. data/test/epom/placement_test.rb +53 -0
  71. data/test/epom/site_test.rb +136 -0
  72. data/test/epom/zone_test.rb +67 -0
  73. data/test/epom_test.rb +38 -0
  74. data/test/logo-128x128.png +0 -0
  75. data/test/test.php +51 -0
  76. data/test/test.rb +21 -0
  77. data/test/test_helper.rb +55 -0
  78. metadata +256 -0
metadata ADDED
@@ -0,0 +1,256 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: epom
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Pedro Quintero
8
+ - Adrian Chang
9
+ - Jorge Tomás
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2015-05-19 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rails
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '4.2'
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: 4.2.0
25
+ type: :runtime
26
+ prerelease: false
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - "~>"
30
+ - !ruby/object:Gem::Version
31
+ version: '4.2'
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: 4.2.0
35
+ - !ruby/object:Gem::Dependency
36
+ name: rake
37
+ requirement: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '10.4'
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: 10.4.2
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - "~>"
50
+ - !ruby/object:Gem::Version
51
+ version: '10.4'
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 10.4.2
55
+ - !ruby/object:Gem::Dependency
56
+ name: httmultiparty
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.3'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 0.3.6
65
+ type: :runtime
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - "~>"
70
+ - !ruby/object:Gem::Version
71
+ version: '0.3'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 0.3.6
75
+ - !ruby/object:Gem::Dependency
76
+ name: sqlite3
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '1.3'
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 1.3.10
85
+ type: :development
86
+ prerelease: false
87
+ version_requirements: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: '1.3'
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: 1.3.10
95
+ description: The Epom gem is a wrapper for Epom API in ruby.
96
+ email:
97
+ - pecuerre@gmail.com
98
+ - adrian.chang.alcover@gmail.com
99
+ - jotolo7@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - MIT-LICENSE
105
+ - README.rdoc
106
+ - Rakefile
107
+ - config/application.yml
108
+ - lib/epom.rb
109
+ - lib/epom/ad_unit_size.rb
110
+ - lib/epom/advertiser.rb
111
+ - lib/epom/auth.rb
112
+ - lib/epom/banner.rb
113
+ - lib/epom/banner_type.rb
114
+ - lib/epom/campaign.rb
115
+ - lib/epom/day_of_week.rb
116
+ - lib/epom/epom_element.rb
117
+ - lib/epom/limit_counters.rb
118
+ - lib/epom/payment_model.rb
119
+ - lib/epom/period_type.rb
120
+ - lib/epom/placement.rb
121
+ - lib/epom/placement_type.rb
122
+ - lib/epom/publisher.rb
123
+ - lib/epom/relation.rb
124
+ - lib/epom/site.rb
125
+ - lib/epom/version.rb
126
+ - lib/epom/zone.rb
127
+ - lib/tasks/epom_tasks.rake
128
+ - test/IMG_5457-128x128.JPG
129
+ - test/dummy/README.rdoc
130
+ - test/dummy/Rakefile
131
+ - test/dummy/app/assets/javascripts/application.js
132
+ - test/dummy/app/assets/stylesheets/application.css
133
+ - test/dummy/app/controllers/application_controller.rb
134
+ - test/dummy/app/helpers/application_helper.rb
135
+ - test/dummy/app/views/layouts/application.html.erb
136
+ - test/dummy/bin/bundle
137
+ - test/dummy/bin/rails
138
+ - test/dummy/bin/rake
139
+ - test/dummy/bin/setup
140
+ - test/dummy/config.ru
141
+ - test/dummy/config/application.rb
142
+ - test/dummy/config/boot.rb
143
+ - test/dummy/config/database.yml
144
+ - test/dummy/config/environment.rb
145
+ - test/dummy/config/environments/development.rb
146
+ - test/dummy/config/environments/production.rb
147
+ - test/dummy/config/environments/test.rb
148
+ - test/dummy/config/initializers/assets.rb
149
+ - test/dummy/config/initializers/backtrace_silencers.rb
150
+ - test/dummy/config/initializers/cookies_serializer.rb
151
+ - test/dummy/config/initializers/filter_parameter_logging.rb
152
+ - test/dummy/config/initializers/inflections.rb
153
+ - test/dummy/config/initializers/mime_types.rb
154
+ - test/dummy/config/initializers/session_store.rb
155
+ - test/dummy/config/initializers/wrap_parameters.rb
156
+ - test/dummy/config/locales/en.yml
157
+ - test/dummy/config/routes.rb
158
+ - test/dummy/config/secrets.yml
159
+ - test/dummy/db/development.sqlite3
160
+ - test/dummy/db/schema.rb
161
+ - test/dummy/db/test.sqlite3
162
+ - test/dummy/log/development.log
163
+ - test/dummy/log/test.log
164
+ - test/dummy/public/404.html
165
+ - test/dummy/public/422.html
166
+ - test/dummy/public/500.html
167
+ - test/dummy/public/favicon.ico
168
+ - test/epom/advertiser_test.rb
169
+ - test/epom/auth_test.rb
170
+ - test/epom/banner_test.rb
171
+ - test/epom/campaign_test.rb
172
+ - test/epom/placement_test.rb
173
+ - test/epom/site_test.rb
174
+ - test/epom/zone_test.rb
175
+ - test/epom_test.rb
176
+ - test/logo-128x128.png
177
+ - test/test.php
178
+ - test/test.rb
179
+ - test/test_helper.rb
180
+ homepage: https://github.com/kewelta/epom
181
+ licenses:
182
+ - MIT
183
+ metadata: {}
184
+ post_install_message:
185
+ rdoc_options: []
186
+ require_paths:
187
+ - lib
188
+ required_ruby_version: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ required_rubygems_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ requirements: []
199
+ rubyforge_project:
200
+ rubygems_version: 2.4.6
201
+ signing_key:
202
+ specification_version: 4
203
+ summary: Epom gem.
204
+ test_files:
205
+ - test/test.php
206
+ - test/test_helper.rb
207
+ - test/IMG_5457-128x128.JPG
208
+ - test/logo-128x128.png
209
+ - test/epom_test.rb
210
+ - test/epom/banner_test.rb
211
+ - test/epom/placement_test.rb
212
+ - test/epom/zone_test.rb
213
+ - test/epom/site_test.rb
214
+ - test/epom/auth_test.rb
215
+ - test/epom/advertiser_test.rb
216
+ - test/epom/campaign_test.rb
217
+ - test/test.rb
218
+ - test/dummy/db/test.sqlite3
219
+ - test/dummy/db/schema.rb
220
+ - test/dummy/db/development.sqlite3
221
+ - test/dummy/config/boot.rb
222
+ - test/dummy/config/environment.rb
223
+ - test/dummy/config/environments/production.rb
224
+ - test/dummy/config/environments/development.rb
225
+ - test/dummy/config/environments/test.rb
226
+ - test/dummy/config/routes.rb
227
+ - test/dummy/config/database.yml
228
+ - test/dummy/config/secrets.yml
229
+ - test/dummy/config/application.rb
230
+ - test/dummy/config/locales/en.yml
231
+ - test/dummy/config/initializers/mime_types.rb
232
+ - test/dummy/config/initializers/wrap_parameters.rb
233
+ - test/dummy/config/initializers/assets.rb
234
+ - test/dummy/config/initializers/inflections.rb
235
+ - test/dummy/config/initializers/filter_parameter_logging.rb
236
+ - test/dummy/config/initializers/backtrace_silencers.rb
237
+ - test/dummy/config/initializers/session_store.rb
238
+ - test/dummy/config/initializers/cookies_serializer.rb
239
+ - test/dummy/config.ru
240
+ - test/dummy/Rakefile
241
+ - test/dummy/public/404.html
242
+ - test/dummy/public/500.html
243
+ - test/dummy/public/422.html
244
+ - test/dummy/public/favicon.ico
245
+ - test/dummy/README.rdoc
246
+ - test/dummy/app/helpers/application_helper.rb
247
+ - test/dummy/app/views/layouts/application.html.erb
248
+ - test/dummy/app/controllers/application_controller.rb
249
+ - test/dummy/app/assets/javascripts/application.js
250
+ - test/dummy/app/assets/stylesheets/application.css
251
+ - test/dummy/bin/rake
252
+ - test/dummy/bin/rails
253
+ - test/dummy/bin/bundle
254
+ - test/dummy/bin/setup
255
+ - test/dummy/log/test.log
256
+ - test/dummy/log/development.log