spree_reffiliate 2.3.1 → 2.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77a9b01c5eb8422a610145b80f1d11435a6771f1
4
- data.tar.gz: 1d594af8533cb3147f70467b4f05b0ccba940886
3
+ metadata.gz: 0cb2a0743f72efd459954c61b99ec93c04a2dd58
4
+ data.tar.gz: 1438eec961321536fc4e82b777fd4be5f4399cde
5
5
  SHA512:
6
- metadata.gz: 7da5e58657f86c5304f78017afcd1607762a5b2ebc4f966c7b6d924488b511f389f9e422f7934d71f34af94b036eb55219fd5262237111f2ab35bd044a975164
7
- data.tar.gz: 8e4953bcb70cf171baf418d5e4479875e343b167c814a2dcf7e6b498bd372504db964ced8598558e1dec7c106e962ac17307741886a73226a14d9c9a87bb9aee
6
+ metadata.gz: 5ffbbfe72137b82b5e027b20e6d2fe072e2c687d48b2abd6b9363e4d99233abbbd8ff1952f2b37117f276c5f8ef3aa6feafa35fdb94321fd4e23e2ff8f97d81d
7
+ data.tar.gz: 46336e4b57a98584340d628704a9b73b370de835d5ed7c026612bfd4823303a98058f4c5b0f94bb846230606d5049443d34dbcdfc3a26bbb0787ace2fe2e77df
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'spree', github: 'spree/spree', branch: '2-4-stable'
4
+ # Provides basic authentication functionality for testing parts of your engine
5
+ gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-4-stable'
6
+
7
+ gem "codeclimate-test-reporter", group: :test, require: nil
8
+
9
+ gemspec
@@ -0,0 +1,347 @@
1
+ GIT
2
+ remote: git://github.com/spree/spree.git
3
+ revision: 3a5259640ff76e2c571bf007fbdbf4069cf2aeae
4
+ branch: 2-4-stable
5
+ specs:
6
+ spree (2.4.7.beta)
7
+ spree_api (= 2.4.7.beta)
8
+ spree_backend (= 2.4.7.beta)
9
+ spree_cmd (= 2.4.7.beta)
10
+ spree_core (= 2.4.7.beta)
11
+ spree_frontend (= 2.4.7.beta)
12
+ spree_sample (= 2.4.7.beta)
13
+ spree_api (2.4.7.beta)
14
+ rabl (~> 0.9.4.pre1)
15
+ spree_core (= 2.4.7.beta)
16
+ versioncake (~> 2.3.1)
17
+ spree_backend (2.4.7.beta)
18
+ jquery-rails (~> 3.1.2)
19
+ jquery-ui-rails (~> 5.0.0)
20
+ select2-rails (= 3.5.9.1)
21
+ spree_api (= 2.4.7.beta)
22
+ spree_core (= 2.4.7.beta)
23
+ spree_cmd (2.4.7.beta)
24
+ thor (~> 0.14)
25
+ spree_core (2.4.7.beta)
26
+ activemerchant (~> 1.44.1)
27
+ acts_as_list (~> 0.3)
28
+ awesome_nested_set (~> 3.0.1)
29
+ cancancan (~> 1.9.2)
30
+ carmen (~> 1.0.0)
31
+ deface (~> 1.0.0)
32
+ ffaker (~> 1.16)
33
+ font-awesome-rails (~> 4.0)
34
+ friendly_id (~> 5.0.4)
35
+ highline (~> 1.6.18)
36
+ httparty (~> 0.11)
37
+ json (~> 1.7)
38
+ kaminari (~> 0.15, >= 0.15.1)
39
+ monetize (~> 1.1)
40
+ paperclip (~> 4.2.0)
41
+ paranoia (~> 2.0.5)
42
+ premailer-rails
43
+ rails (~> 4.1.8)
44
+ ransack (~> 1.4.1)
45
+ state_machine (= 1.2.0)
46
+ stringex (~> 1.5.1)
47
+ truncate_html (= 0.9.2)
48
+ twitter_cldr (~> 3.0)
49
+ spree_frontend (2.4.7.beta)
50
+ canonical-rails (~> 0.0.4)
51
+ jquery-rails (~> 3.1.2)
52
+ spree_api (= 2.4.7.beta)
53
+ spree_core (= 2.4.7.beta)
54
+ spree_sample (2.4.7.beta)
55
+ spree_core (= 2.4.7.beta)
56
+
57
+ GIT
58
+ remote: git://github.com/spree/spree_auth_devise.git
59
+ revision: 997382fcb1f6ed78a201ee7016384cfe71745aea
60
+ branch: 2-4-stable
61
+ specs:
62
+ spree_auth_devise (2.2.0)
63
+ devise (~> 3.2.3)
64
+ devise-encryptable (= 0.1.2)
65
+ json
66
+ multi_json
67
+ spree_core (~> 2.4.0)
68
+
69
+ PATH
70
+ remote: .
71
+ specs:
72
+ spree_reffiliate (2.4)
73
+ spree_core (~> 2.3)
74
+
75
+ GEM
76
+ remote: https://rubygems.org/
77
+ specs:
78
+ actionmailer (4.1.9)
79
+ actionpack (= 4.1.9)
80
+ actionview (= 4.1.9)
81
+ mail (~> 2.5, >= 2.5.4)
82
+ actionpack (4.1.9)
83
+ actionview (= 4.1.9)
84
+ activesupport (= 4.1.9)
85
+ rack (~> 1.5.2)
86
+ rack-test (~> 0.6.2)
87
+ actionview (4.1.9)
88
+ activesupport (= 4.1.9)
89
+ builder (~> 3.1)
90
+ erubis (~> 2.7.0)
91
+ active_utils (2.2.3)
92
+ activesupport (>= 2.3.11)
93
+ i18n
94
+ activemerchant (1.44.1)
95
+ active_utils (~> 2.2.0)
96
+ activesupport (>= 3.2.14, < 5.0.0)
97
+ builder (>= 2.1.2, < 4.0.0)
98
+ i18n (>= 0.6.9)
99
+ json (~> 1.7)
100
+ nokogiri (~> 1.4)
101
+ offsite_payments (~> 2.0.0)
102
+ activemodel (4.1.9)
103
+ activesupport (= 4.1.9)
104
+ builder (~> 3.1)
105
+ activerecord (4.1.9)
106
+ activemodel (= 4.1.9)
107
+ activesupport (= 4.1.9)
108
+ arel (~> 5.0.0)
109
+ activesupport (4.1.9)
110
+ i18n (~> 0.6, >= 0.6.9)
111
+ json (~> 1.7, >= 1.7.7)
112
+ minitest (~> 5.1)
113
+ thread_safe (~> 0.1)
114
+ tzinfo (~> 1.1)
115
+ acts_as_list (0.6.0)
116
+ activerecord (>= 3.0)
117
+ addressable (2.3.7)
118
+ arel (5.0.1.20140414130214)
119
+ awesome_nested_set (3.0.2)
120
+ activerecord (>= 4.0.0, < 5)
121
+ bcrypt (3.1.10)
122
+ builder (3.2.2)
123
+ camertron-eprun (1.1.0)
124
+ cancancan (1.9.2)
125
+ canonical-rails (0.0.8)
126
+ rails (>= 3.1, < 5.0)
127
+ capybara (2.4.4)
128
+ mime-types (>= 1.16)
129
+ nokogiri (>= 1.3.3)
130
+ rack (>= 1.0.0)
131
+ rack-test (>= 0.5.4)
132
+ xpath (~> 2.0)
133
+ carmen (1.0.1)
134
+ unicode_utils (~> 1.4.0)
135
+ childprocess (0.5.5)
136
+ ffi (~> 1.0, >= 1.0.11)
137
+ cldr-plurals-runtime-rb (1.0.0)
138
+ climate_control (0.0.3)
139
+ activesupport (>= 3.0)
140
+ cocaine (0.5.7)
141
+ climate_control (>= 0.0.3, < 1.0)
142
+ codeclimate-test-reporter (0.4.7)
143
+ simplecov (>= 0.7.1, < 1.0.0)
144
+ coffee-rails (4.1.0)
145
+ coffee-script (>= 2.2.0)
146
+ railties (>= 4.0.0, < 5.0)
147
+ coffee-script (2.3.0)
148
+ coffee-script-source
149
+ execjs
150
+ coffee-script-source (1.9.1)
151
+ colorize (0.7.5)
152
+ css_parser (1.3.6)
153
+ addressable
154
+ database_cleaner (1.4.1)
155
+ deface (1.0.1)
156
+ colorize (>= 0.5.8)
157
+ nokogiri (~> 1.6.0)
158
+ polyglot
159
+ rails (>= 3.1)
160
+ devise (3.2.4)
161
+ bcrypt (~> 3.0)
162
+ orm_adapter (~> 0.1)
163
+ railties (>= 3.2.6, < 5)
164
+ thread_safe (~> 0.1)
165
+ warden (~> 1.2.3)
166
+ devise-encryptable (0.1.2)
167
+ devise (>= 2.1.0)
168
+ diff-lcs (1.2.5)
169
+ docile (1.1.5)
170
+ erubis (2.7.0)
171
+ execjs (2.4.0)
172
+ factory_girl (4.5.0)
173
+ activesupport (>= 3.0.0)
174
+ ffaker (1.32.1)
175
+ ffi (1.9.6)
176
+ font-awesome-rails (4.3.0.0)
177
+ railties (>= 3.2, < 5.0)
178
+ friendly_id (5.0.5)
179
+ activerecord (>= 4.0.0)
180
+ highline (1.6.21)
181
+ hike (1.2.3)
182
+ htmlentities (4.3.3)
183
+ httparty (0.13.3)
184
+ json (~> 1.8)
185
+ multi_xml (>= 0.5.2)
186
+ i18n (0.7.0)
187
+ jquery-rails (3.1.2)
188
+ railties (>= 3.0, < 5.0)
189
+ thor (>= 0.14, < 2.0)
190
+ jquery-ui-rails (5.0.3)
191
+ railties (>= 3.2.16)
192
+ json (1.8.2)
193
+ kaminari (0.16.3)
194
+ actionpack (>= 3.0.0)
195
+ activesupport (>= 3.0.0)
196
+ mail (2.6.3)
197
+ mime-types (>= 1.16, < 3)
198
+ mime-types (2.4.3)
199
+ mini_portile (0.6.2)
200
+ minitest (5.5.1)
201
+ monetize (1.1.0)
202
+ money (~> 6.5.0)
203
+ money (6.5.1)
204
+ i18n (>= 0.6.4, <= 0.7.0)
205
+ multi_json (1.11.0)
206
+ multi_xml (0.5.5)
207
+ nokogiri (1.6.6.2)
208
+ mini_portile (~> 0.6.0)
209
+ offsite_payments (2.0.1)
210
+ active_utils (~> 2.2.0)
211
+ activesupport (>= 3.2.14, < 5.0.0)
212
+ builder (>= 2.1.2, < 4.0.0)
213
+ i18n (~> 0.5)
214
+ json (~> 1.7)
215
+ money (< 7.0.0)
216
+ nokogiri (~> 1.4)
217
+ orm_adapter (0.5.0)
218
+ paperclip (4.2.1)
219
+ activemodel (>= 3.0.0)
220
+ activesupport (>= 3.0.0)
221
+ cocaine (~> 0.5.3)
222
+ mime-types
223
+ paranoia (2.0.5)
224
+ activerecord (~> 4.0)
225
+ polyamorous (1.1.0)
226
+ activerecord (>= 3.0)
227
+ polyglot (0.3.5)
228
+ premailer (1.8.4)
229
+ css_parser (>= 1.3.6)
230
+ htmlentities (>= 4.0.0)
231
+ premailer-rails (1.8.0)
232
+ actionmailer (>= 3, < 5)
233
+ premailer (~> 1.7, >= 1.7.9)
234
+ rabl (0.9.4.pre1)
235
+ activesupport (>= 2.3.14)
236
+ rack (1.5.2)
237
+ rack-test (0.6.3)
238
+ rack (>= 1.0)
239
+ rails (4.1.9)
240
+ actionmailer (= 4.1.9)
241
+ actionpack (= 4.1.9)
242
+ actionview (= 4.1.9)
243
+ activemodel (= 4.1.9)
244
+ activerecord (= 4.1.9)
245
+ activesupport (= 4.1.9)
246
+ bundler (>= 1.3.0, < 2.0)
247
+ railties (= 4.1.9)
248
+ sprockets-rails (~> 2.0)
249
+ railties (4.1.9)
250
+ actionpack (= 4.1.9)
251
+ activesupport (= 4.1.9)
252
+ rake (>= 0.8.7)
253
+ thor (>= 0.18.1, < 2.0)
254
+ rake (10.4.2)
255
+ ransack (1.4.1)
256
+ actionpack (>= 3.0)
257
+ activerecord (>= 3.0)
258
+ activesupport (>= 3.0)
259
+ i18n
260
+ polyamorous (~> 1.1)
261
+ rspec-collection_matchers (1.1.2)
262
+ rspec-expectations (>= 2.99.0.beta1)
263
+ rspec-core (2.99.2)
264
+ rspec-expectations (2.99.2)
265
+ diff-lcs (>= 1.1.3, < 2.0)
266
+ rspec-mocks (2.99.3)
267
+ rspec-rails (2.99.0)
268
+ actionpack (>= 3.0)
269
+ activemodel (>= 3.0)
270
+ activesupport (>= 3.0)
271
+ railties (>= 3.0)
272
+ rspec-collection_matchers
273
+ rspec-core (~> 2.99.0)
274
+ rspec-expectations (~> 2.99.0)
275
+ rspec-mocks (~> 2.99.0)
276
+ rubyzip (1.1.7)
277
+ sass (3.2.19)
278
+ sass-rails (4.0.5)
279
+ railties (>= 4.0.0, < 5.0)
280
+ sass (~> 3.2.2)
281
+ sprockets (~> 2.8, < 3.0)
282
+ sprockets-rails (~> 2.0)
283
+ select2-rails (3.5.9.1)
284
+ thor (~> 0.14)
285
+ selenium-webdriver (2.45.0)
286
+ childprocess (~> 0.5)
287
+ multi_json (~> 1.0)
288
+ rubyzip (~> 1.0)
289
+ websocket (~> 1.0)
290
+ simplecov (0.9.2)
291
+ docile (~> 1.1.0)
292
+ multi_json (~> 1.0)
293
+ simplecov-html (~> 0.9.0)
294
+ simplecov-html (0.9.0)
295
+ sprockets (2.12.3)
296
+ hike (~> 1.2)
297
+ multi_json (~> 1.0)
298
+ rack (~> 1.0)
299
+ tilt (~> 1.1, != 1.3.0)
300
+ sprockets-rails (2.2.4)
301
+ actionpack (>= 3.0)
302
+ activesupport (>= 3.0)
303
+ sprockets (>= 2.8, < 4.0)
304
+ sqlite3 (1.3.10)
305
+ state_machine (1.2.0)
306
+ stringex (1.5.1)
307
+ thor (0.19.1)
308
+ thread_safe (0.3.4)
309
+ tilt (1.4.1)
310
+ truncate_html (0.9.2)
311
+ twitter_cldr (3.1.2)
312
+ camertron-eprun
313
+ cldr-plurals-runtime-rb (~> 1.0.0)
314
+ json
315
+ tzinfo
316
+ tzinfo (1.2.2)
317
+ thread_safe (~> 0.1)
318
+ unicode_utils (1.4.0)
319
+ versioncake (2.3.1)
320
+ actionpack (>= 3.2)
321
+ activesupport (>= 3.2)
322
+ railties (>= 3.2)
323
+ tzinfo
324
+ warden (1.2.3)
325
+ rack (>= 1.0)
326
+ websocket (1.2.1)
327
+ xpath (2.0.0)
328
+ nokogiri (~> 1.3)
329
+
330
+ PLATFORMS
331
+ ruby
332
+
333
+ DEPENDENCIES
334
+ capybara (~> 2.1)
335
+ codeclimate-test-reporter
336
+ coffee-rails
337
+ database_cleaner
338
+ factory_girl (~> 4.4)
339
+ ffaker
340
+ rspec-rails (~> 2.13)
341
+ sass-rails (~> 4.0.2)
342
+ selenium-webdriver
343
+ simplecov
344
+ spree!
345
+ spree_auth_devise!
346
+ spree_reffiliate!
347
+ sqlite3
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  Spree Reffiliate
2
2
  ================
3
+
3
4
  [![Codeship Status for kinduff/spree_reffiliate](https://codeship.com/projects/ab504f70-4b22-0132-8f9f-22e1dbe6882e/status)](https://codeship.com/projects/46636)
4
5
  [![Build Status](https://travis-ci.org/kinduff/spree_reffiliate.svg?branch=master)](https://travis-ci.org/kinduff/spree_reffiliate)
5
6
  [![Code Climate](https://codeclimate.com/github/kinduff/spree_reffiliate/badges/gpa.svg)](https://codeclimate.com/github/kinduff/spree_reffiliate)
@@ -24,7 +25,13 @@ Spree Reffiliate is a [Spree] Extension that adds the referral and affiliate fea
24
25
 
25
26
  ## Installation
26
27
 
27
- Add spree_reffiliate to your Gemfile:
28
+ To use the stable branch, add this line to your Gemfile:
29
+
30
+ ```ruby
31
+ gem 'spree_reffiliate'
32
+ ```
33
+
34
+ Alternatively, if you want to use the bleeding edge version, use this line:
28
35
 
29
36
  ```ruby
30
37
  gem 'spree_reffiliate', github: 'kinduff/spree_reffiliate'
@@ -4,7 +4,7 @@ Deface::Override.new(
4
4
  :insert_after => "[data-hook='admin_user_api_key']"
5
5
  ) do
6
6
  <<-CODE.chomp
7
- <fieldset>
7
+ <fieldset data-hook="admin_user_referral_table">
8
8
  <legend>Referral Information</legend>
9
9
  <table>
10
10
  <tr>
@@ -28,7 +28,7 @@ Deface::Override.new(
28
28
  <%= "No referred orders yet." if @user.referral.referred_orders.count == 0 %>
29
29
  <ol style="margin-left: 20px;">
30
30
  <% @user.referral.referred_orders.each do |order| %>
31
- <li><%= link_to order.number, edit_admin_order_path(order) %></li>
31
+ <li><%= link_to order.number, edit_admin_order_path(order) %> (<%= order.state %>)</li>
32
32
  <% end %>
33
33
  <ol>
34
34
  </td>
@@ -2,21 +2,21 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'spree_reffiliate'
5
- s.version = '2.3.1'
5
+ s.version = '2.4.1'
6
6
  s.author = 'Alejandro AR'
7
7
  s.email = 'abarcadabra@gmail.com'
8
8
  s.summary = 'Spree Affiliate and Referrals extension'
9
9
  s.description = 'Configurable affiliates and referrals features for Spree'
10
10
  s.homepage = 'https://github.com/kinduff/spree_reffiliate'
11
11
  s.license = 'New-BSD'
12
-
12
+
13
13
  s.required_ruby_version = '>= 1.9.3'
14
14
 
15
15
  s.files = `git ls-files`.split($/)
16
16
  s.test_files = s.files.grep(%r{^spec/})
17
17
  s.require_path = 'lib'
18
18
 
19
- s.add_dependency 'spree_core', '~> 2.3.1'
19
+ s.add_dependency 'spree_core', '~> 2.3'
20
20
 
21
21
  s.add_development_dependency 'capybara', '~> 2.1'
22
22
  s.add_development_dependency 'coffee-rails'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_reffiliate
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alejandro AR
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-25 00:00:00.000000000 Z
11
+ date: 2015-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.3.1
19
+ version: '2.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.3.1
26
+ version: '2.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: capybara
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -174,6 +174,8 @@ files:
174
174
  - ".gitignore"
175
175
  - ".rspec"
176
176
  - Gemfile
177
+ - Gemfile-2.4
178
+ - Gemfile-2.4.lock
177
179
  - LICENSE
178
180
  - README.md
179
181
  - Rakefile