piggybak_coupons 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/piggybak_coupons/engine.rb +1 -0
- data/lib/piggybak_coupons/version.rb +1 -1
- metadata +84 -82
@@ -10,6 +10,7 @@ module PiggybakCoupons
|
|
10
10
|
|
11
11
|
config.before_initialize do
|
12
12
|
Piggybak.config do |config|
|
13
|
+
config.extra_secure_paths << "/apply_coupon"
|
13
14
|
config.line_item_types[:coupon_application] = { :visible => true,
|
14
15
|
:nested_attrs => true,
|
15
16
|
:fields => ["coupon_application"],
|
metadata
CHANGED
@@ -1,145 +1,147 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: piggybak_coupons
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.8
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 0.0.9
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Steph Skardal
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
|
13
|
+
date: 2012-11-07 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
15
16
|
name: rails
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
18
|
none: false
|
18
|
-
requirements:
|
19
|
+
requirements:
|
19
20
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
+
- !ruby/object:Gem::Version
|
21
22
|
version: 3.2.8
|
22
23
|
type: :runtime
|
23
24
|
prerelease: false
|
24
|
-
version_requirements:
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 3.2.8
|
25
|
+
version_requirements: *id001
|
30
26
|
description: Coupon support for Piggybak.
|
31
|
-
email:
|
27
|
+
email:
|
32
28
|
- steph@endpoint.com
|
33
29
|
executables: []
|
30
|
+
|
34
31
|
extensions: []
|
32
|
+
|
35
33
|
extra_rdoc_files: []
|
36
|
-
|
37
|
-
|
38
|
-
- app/assets/javascripts/piggybak_coupons/piggybak_coupons.js
|
39
|
-
- app/models/piggybak_coupons/coupon_application.rb
|
34
|
+
|
35
|
+
files:
|
40
36
|
- app/models/piggybak_coupons/coupon.rb
|
37
|
+
- app/models/piggybak_coupons/coupon_application.rb
|
38
|
+
- app/assets/javascripts/piggybak_coupons/piggybak_coupons.js
|
39
|
+
- app/controllers/piggybak_coupons/coupon_controller.rb
|
41
40
|
- app/views/piggybak_coupons/_apply_coupon.html.erb
|
42
41
|
- config/routes.rb
|
43
42
|
- db/migrate/20121012220537_piggybak_coupons_setup.rb
|
44
43
|
- db/migrate/20121022165051_coupon_decimal_field_update.rb
|
45
|
-
- lib/piggybak_coupons/line_item_decorator.rb
|
46
44
|
- lib/piggybak_coupons/engine.rb
|
47
45
|
- lib/piggybak_coupons/version.rb
|
46
|
+
- lib/piggybak_coupons/line_item_decorator.rb
|
48
47
|
- lib/piggybak_coupons.rb
|
49
48
|
- lib/tasks/piggybak_coupons_tasks.rake
|
50
49
|
- LICENSE
|
51
50
|
- Rakefile
|
52
51
|
- README.md
|
52
|
+
- test/piggybak_coupons_test.rb
|
53
53
|
- test/integration/navigation_test.rb
|
54
|
-
- test/test_helper.rb
|
55
54
|
- test/dummy/script/rails
|
56
|
-
- test/dummy/
|
57
|
-
- test/dummy/
|
58
|
-
- test/dummy/
|
59
|
-
- test/dummy/
|
60
|
-
- test/dummy/app/assets/javascripts/application.js
|
55
|
+
- test/dummy/public/favicon.ico
|
56
|
+
- test/dummy/public/422.html
|
57
|
+
- test/dummy/public/404.html
|
58
|
+
- test/dummy/public/500.html
|
61
59
|
- test/dummy/app/helpers/application_helper.rb
|
60
|
+
- test/dummy/app/assets/javascripts/application.js
|
61
|
+
- test/dummy/app/assets/stylesheets/application.css
|
62
|
+
- test/dummy/app/controllers/application_controller.rb
|
62
63
|
- test/dummy/app/views/layouts/application.html.erb
|
63
|
-
- test/dummy/config
|
64
|
+
- test/dummy/config.ru
|
65
|
+
- test/dummy/README.rdoc
|
66
|
+
- test/dummy/Rakefile
|
64
67
|
- test/dummy/config/environment.rb
|
65
|
-
- test/dummy/config/routes.rb
|
66
|
-
- test/dummy/config/environments/production.rb
|
67
|
-
- test/dummy/config/environments/test.rb
|
68
|
-
- test/dummy/config/environments/development.rb
|
69
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
70
|
-
- test/dummy/config/initializers/secret_token.rb
|
71
|
-
- test/dummy/config/initializers/mime_types.rb
|
72
|
-
- test/dummy/config/initializers/session_store.rb
|
73
68
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
69
|
+
- test/dummy/config/initializers/session_store.rb
|
74
70
|
- test/dummy/config/initializers/inflections.rb
|
71
|
+
- test/dummy/config/initializers/secret_token.rb
|
72
|
+
- test/dummy/config/initializers/mime_types.rb
|
73
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
74
|
+
- test/dummy/config/environments/development.rb
|
75
|
+
- test/dummy/config/environments/test.rb
|
76
|
+
- test/dummy/config/environments/production.rb
|
75
77
|
- test/dummy/config/boot.rb
|
76
|
-
- test/dummy/config/application.rb
|
77
78
|
- test/dummy/config/database.yml
|
78
|
-
- test/dummy/
|
79
|
-
- test/dummy/
|
80
|
-
- test/dummy/
|
81
|
-
- test/
|
82
|
-
- test/dummy/config.ru
|
83
|
-
- test/piggybak_coupons_test.rb
|
79
|
+
- test/dummy/config/locales/en.yml
|
80
|
+
- test/dummy/config/application.rb
|
81
|
+
- test/dummy/config/routes.rb
|
82
|
+
- test/test_helper.rb
|
84
83
|
homepage: http://www.piggybak.org/
|
85
84
|
licenses: []
|
85
|
+
|
86
86
|
post_install_message:
|
87
87
|
rdoc_options: []
|
88
|
-
|
88
|
+
|
89
|
+
require_paths:
|
89
90
|
- lib
|
90
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
91
92
|
none: false
|
92
|
-
requirements:
|
93
|
-
- -
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
|
96
|
-
segments:
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
hash: 3990000493742053227
|
97
|
+
segments:
|
97
98
|
- 0
|
98
|
-
|
99
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
+
version: "0"
|
100
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
101
|
none: false
|
101
|
-
requirements:
|
102
|
-
- -
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
|
105
|
-
segments:
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
hash: 3990000493742053227
|
106
|
+
segments:
|
106
107
|
- 0
|
107
|
-
|
108
|
+
version: "0"
|
108
109
|
requirements: []
|
110
|
+
|
109
111
|
rubyforge_project:
|
110
112
|
rubygems_version: 1.8.23
|
111
113
|
signing_key:
|
112
114
|
specification_version: 3
|
113
115
|
summary: Coupon support for Piggybak.
|
114
|
-
test_files:
|
116
|
+
test_files:
|
117
|
+
- test/piggybak_coupons_test.rb
|
115
118
|
- test/integration/navigation_test.rb
|
116
|
-
- test/test_helper.rb
|
117
119
|
- test/dummy/script/rails
|
118
|
-
- test/dummy/
|
119
|
-
- test/dummy/
|
120
|
-
- test/dummy/
|
121
|
-
- test/dummy/
|
122
|
-
- test/dummy/app/assets/javascripts/application.js
|
120
|
+
- test/dummy/public/favicon.ico
|
121
|
+
- test/dummy/public/422.html
|
122
|
+
- test/dummy/public/404.html
|
123
|
+
- test/dummy/public/500.html
|
123
124
|
- test/dummy/app/helpers/application_helper.rb
|
125
|
+
- test/dummy/app/assets/javascripts/application.js
|
126
|
+
- test/dummy/app/assets/stylesheets/application.css
|
127
|
+
- test/dummy/app/controllers/application_controller.rb
|
124
128
|
- test/dummy/app/views/layouts/application.html.erb
|
125
|
-
- test/dummy/config
|
129
|
+
- test/dummy/config.ru
|
130
|
+
- test/dummy/README.rdoc
|
131
|
+
- test/dummy/Rakefile
|
126
132
|
- test/dummy/config/environment.rb
|
127
|
-
- test/dummy/config/routes.rb
|
128
|
-
- test/dummy/config/environments/production.rb
|
129
|
-
- test/dummy/config/environments/test.rb
|
130
|
-
- test/dummy/config/environments/development.rb
|
131
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
132
|
-
- test/dummy/config/initializers/secret_token.rb
|
133
|
-
- test/dummy/config/initializers/mime_types.rb
|
134
|
-
- test/dummy/config/initializers/session_store.rb
|
135
133
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
134
|
+
- test/dummy/config/initializers/session_store.rb
|
136
135
|
- test/dummy/config/initializers/inflections.rb
|
136
|
+
- test/dummy/config/initializers/secret_token.rb
|
137
|
+
- test/dummy/config/initializers/mime_types.rb
|
138
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
139
|
+
- test/dummy/config/environments/development.rb
|
140
|
+
- test/dummy/config/environments/test.rb
|
141
|
+
- test/dummy/config/environments/production.rb
|
137
142
|
- test/dummy/config/boot.rb
|
138
|
-
- test/dummy/config/application.rb
|
139
143
|
- test/dummy/config/database.yml
|
140
|
-
- test/dummy/
|
141
|
-
- test/dummy/
|
142
|
-
- test/dummy/
|
143
|
-
- test/
|
144
|
-
- test/dummy/config.ru
|
145
|
-
- test/piggybak_coupons_test.rb
|
144
|
+
- test/dummy/config/locales/en.yml
|
145
|
+
- test/dummy/config/application.rb
|
146
|
+
- test/dummy/config/routes.rb
|
147
|
+
- test/test_helper.rb
|