piggybak_giftcerts 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ module PiggybakGiftcerts
14
14
 
15
15
  config.before_initialize do
16
16
  Piggybak.config do |config|
17
+ config.extra_secure_paths << "/apply_giftcert"
17
18
  config.line_item_types[:giftcert_application] = { :visible => true,
18
19
  :nested_attrs => true,
19
20
  :fields => ["giftcert_application"],
@@ -1,3 +1,3 @@
1
1
  module PiggybakGiftcerts
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,181 +1,173 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: piggybak_giftcerts
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.5
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.0.6
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Steph Skardal
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-05 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
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: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: 3.2.8
30
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
31
27
  name: piggybak
32
- requirement: !ruby/object:Gem::Requirement
28
+ requirement: &id002 !ruby/object:Gem::Requirement
33
29
  none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
38
34
  type: :runtime
39
35
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
47
38
  name: piggybak_variants
48
- requirement: !ruby/object:Gem::Requirement
39
+ requirement: &id003 !ruby/object:Gem::Requirement
49
40
  none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: "0"
54
45
  type: :runtime
55
46
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
47
+ version_requirements: *id003
62
48
  description: Gift Certificate support for Piggybak.
63
- email:
49
+ email:
64
50
  - steph@endpoint.com
65
51
  executables: []
52
+
66
53
  extensions: []
54
+
67
55
  extra_rdoc_files: []
68
- files:
69
- - app/controllers/piggybak_giftcerts/giftcert_controller.rb
70
- - app/assets/javascripts/piggybak_giftcerts/piggybak_giftcerts.js
71
- - app/models/piggybak_giftcerts/buyable_giftcert.rb
56
+
57
+ files:
72
58
  - app/models/piggybak_giftcerts/giftcert_application.rb
59
+ - app/models/piggybak_giftcerts/buyable_giftcert.rb
73
60
  - app/models/piggybak_giftcerts/giftcert.rb
61
+ - app/assets/javascripts/piggybak_giftcerts/piggybak_giftcerts.js
62
+ - app/controllers/piggybak_giftcerts/giftcert_controller.rb
63
+ - app/mailers/piggybak_giftcerts/giftcert_mailer.rb
74
64
  - app/views/piggybak_giftcerts/giftcert/purchase.html.erb
75
65
  - app/views/piggybak_giftcerts/_apply_giftcert.html.erb
76
66
  - app/views/piggybak_giftcerts/giftcert_mailer/info.text.erb
77
- - app/mailers/piggybak_giftcerts/giftcert_mailer.rb
78
67
  - config/routes.rb
79
68
  - db/migrate/20121026200953_piggybak_giftcert_setup.rb
80
- - lib/piggybak_giftcerts/line_item_decorator.rb
81
- - lib/piggybak_giftcerts/percent_decorator.rb
82
69
  - lib/piggybak_giftcerts/order_decorator.rb
83
70
  - lib/piggybak_giftcerts/engine.rb
84
71
  - lib/piggybak_giftcerts/version.rb
72
+ - lib/piggybak_giftcerts/line_item_decorator.rb
73
+ - lib/piggybak_giftcerts/percent_decorator.rb
85
74
  - lib/piggybak_giftcerts.rb
86
75
  - LICENSE
87
76
  - Rakefile
88
77
  - README.md
89
- - test/integration/navigation_test.rb
90
- - test/test_helper.rb
91
78
  - test/piggybak_giftcerts_test.rb
79
+ - test/integration/navigation_test.rb
92
80
  - test/dummy/script/rails
93
- - test/dummy/Rakefile
94
- - test/dummy/README.rdoc
95
- - test/dummy/app/controllers/application_controller.rb
96
- - test/dummy/app/assets/stylesheets/application.css
97
- - test/dummy/app/assets/javascripts/application.js
81
+ - test/dummy/public/favicon.ico
82
+ - test/dummy/public/422.html
83
+ - test/dummy/public/404.html
84
+ - test/dummy/public/500.html
98
85
  - test/dummy/app/helpers/application_helper.rb
86
+ - test/dummy/app/assets/javascripts/application.js
87
+ - test/dummy/app/assets/stylesheets/application.css
88
+ - test/dummy/app/controllers/application_controller.rb
99
89
  - test/dummy/app/views/layouts/application.html.erb
100
- - test/dummy/config/locales/en.yml
90
+ - test/dummy/config.ru
91
+ - test/dummy/README.rdoc
92
+ - test/dummy/Rakefile
101
93
  - test/dummy/config/environment.rb
102
- - test/dummy/config/routes.rb
103
- - test/dummy/config/environments/production.rb
104
- - test/dummy/config/environments/test.rb
105
- - test/dummy/config/environments/development.rb
106
- - test/dummy/config/initializers/wrap_parameters.rb
107
- - test/dummy/config/initializers/secret_token.rb
108
- - test/dummy/config/initializers/mime_types.rb
109
- - test/dummy/config/initializers/session_store.rb
110
94
  - test/dummy/config/initializers/backtrace_silencers.rb
95
+ - test/dummy/config/initializers/session_store.rb
111
96
  - test/dummy/config/initializers/inflections.rb
97
+ - test/dummy/config/initializers/secret_token.rb
98
+ - test/dummy/config/initializers/mime_types.rb
99
+ - test/dummy/config/initializers/wrap_parameters.rb
100
+ - test/dummy/config/environments/development.rb
101
+ - test/dummy/config/environments/test.rb
102
+ - test/dummy/config/environments/production.rb
112
103
  - test/dummy/config/boot.rb
113
- - test/dummy/config/application.rb
114
104
  - test/dummy/config/database.yml
115
- - test/dummy/public/500.html
116
- - test/dummy/public/422.html
117
- - test/dummy/public/favicon.ico
118
- - test/dummy/public/404.html
119
- - test/dummy/config.ru
105
+ - test/dummy/config/locales/en.yml
106
+ - test/dummy/config/application.rb
107
+ - test/dummy/config/routes.rb
108
+ - test/test_helper.rb
120
109
  homepage: http://www.piggybak.org/
121
110
  licenses: []
111
+
122
112
  post_install_message:
123
113
  rdoc_options: []
124
- require_paths:
114
+
115
+ require_paths:
125
116
  - lib
126
- required_ruby_version: !ruby/object:Gem::Requirement
117
+ required_ruby_version: !ruby/object:Gem::Requirement
127
118
  none: false
128
- requirements:
129
- - - ! '>='
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- segments:
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ hash: 118553770716881012
123
+ segments:
133
124
  - 0
134
- hash: -355042258588563082
135
- required_rubygems_version: !ruby/object:Gem::Requirement
125
+ version: "0"
126
+ required_rubygems_version: !ruby/object:Gem::Requirement
136
127
  none: false
137
- requirements:
138
- - - ! '>='
139
- - !ruby/object:Gem::Version
140
- version: '0'
141
- segments:
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ hash: 118553770716881012
132
+ segments:
142
133
  - 0
143
- hash: -355042258588563082
134
+ version: "0"
144
135
  requirements: []
136
+
145
137
  rubyforge_project:
146
138
  rubygems_version: 1.8.23
147
139
  signing_key:
148
140
  specification_version: 3
149
141
  summary: Gift Certificate support for Piggybak.
150
- test_files:
151
- - test/integration/navigation_test.rb
152
- - test/test_helper.rb
142
+ test_files:
153
143
  - test/piggybak_giftcerts_test.rb
144
+ - test/integration/navigation_test.rb
154
145
  - test/dummy/script/rails
155
- - test/dummy/Rakefile
156
- - test/dummy/README.rdoc
157
- - test/dummy/app/controllers/application_controller.rb
158
- - test/dummy/app/assets/stylesheets/application.css
159
- - test/dummy/app/assets/javascripts/application.js
146
+ - test/dummy/public/favicon.ico
147
+ - test/dummy/public/422.html
148
+ - test/dummy/public/404.html
149
+ - test/dummy/public/500.html
160
150
  - test/dummy/app/helpers/application_helper.rb
151
+ - test/dummy/app/assets/javascripts/application.js
152
+ - test/dummy/app/assets/stylesheets/application.css
153
+ - test/dummy/app/controllers/application_controller.rb
161
154
  - test/dummy/app/views/layouts/application.html.erb
162
- - test/dummy/config/locales/en.yml
155
+ - test/dummy/config.ru
156
+ - test/dummy/README.rdoc
157
+ - test/dummy/Rakefile
163
158
  - test/dummy/config/environment.rb
164
- - test/dummy/config/routes.rb
165
- - test/dummy/config/environments/production.rb
166
- - test/dummy/config/environments/test.rb
167
- - test/dummy/config/environments/development.rb
168
- - test/dummy/config/initializers/wrap_parameters.rb
169
- - test/dummy/config/initializers/secret_token.rb
170
- - test/dummy/config/initializers/mime_types.rb
171
- - test/dummy/config/initializers/session_store.rb
172
159
  - test/dummy/config/initializers/backtrace_silencers.rb
160
+ - test/dummy/config/initializers/session_store.rb
173
161
  - test/dummy/config/initializers/inflections.rb
162
+ - test/dummy/config/initializers/secret_token.rb
163
+ - test/dummy/config/initializers/mime_types.rb
164
+ - test/dummy/config/initializers/wrap_parameters.rb
165
+ - test/dummy/config/environments/development.rb
166
+ - test/dummy/config/environments/test.rb
167
+ - test/dummy/config/environments/production.rb
174
168
  - test/dummy/config/boot.rb
175
- - test/dummy/config/application.rb
176
169
  - test/dummy/config/database.yml
177
- - test/dummy/public/500.html
178
- - test/dummy/public/422.html
179
- - test/dummy/public/favicon.ico
180
- - test/dummy/public/404.html
181
- - test/dummy/config.ru
170
+ - test/dummy/config/locales/en.yml
171
+ - test/dummy/config/application.rb
172
+ - test/dummy/config/routes.rb
173
+ - test/test_helper.rb