radiant-shop-extension 0.93.2 → 0.93.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.93.2
1
+ 0.93.3
@@ -107,7 +107,7 @@ class ShopProduct < ActiveRecord::Base
107
107
  # Converts a url to a pretty sku and removes the shop prefix /shop/page/category/product page-category-product
108
108
  def to_sku(url)
109
109
  if url.present?
110
- url.downcase.strip.gsub(/^(\/*)(.*)(\/)$/,'\2').gsub(/[\s\.:;=+~]+/,'_').gsub(/\//,'-')
110
+ url.downcase.strip.gsub(/[^a-zA-Z0-9_]/,"_")
111
111
  end
112
112
  end
113
113
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-shop-extension}
8
- s.version = "0.93.2"
8
+ s.version = "0.93.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dirk Kelly", "John Barker", "Darcy Laycock"]
12
- s.date = %q{2011-01-01}
12
+ s.date = %q{2011-01-07}
13
13
  s.description = %q{Radiant Shop is an attempt at a simple but complete store. It includes Products, Categories, Orders and Credit Card Payments}
14
14
  s.email = %q{dk@dirkkelly.com}
15
15
  s.extra_rdoc_files = [
@@ -227,7 +227,7 @@ Gem::Specification.new do |s|
227
227
  ]
228
228
  s.homepage = %q{http://github.com/squaretalent/radiant-shop-extension}
229
229
  s.require_paths = ["lib"]
230
- s.rubygems_version = %q{1.3.7}
230
+ s.rubygems_version = %q{1.4.1}
231
231
  s.summary = %q{Shop Extension for Radiant CMS}
232
232
  s.test_files = [
233
233
  "spec/controllers/admin/shop/categories_controller_spec.rb",
@@ -277,7 +277,6 @@ Gem::Specification.new do |s|
277
277
  ]
278
278
 
279
279
  if s.respond_to? :specification_version then
280
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
281
280
  s.specification_version = 3
282
281
 
283
282
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-shop-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 367
5
- prerelease: false
4
+ hash: 365
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 93
9
- - 2
10
- version: 0.93.2
9
+ - 3
10
+ version: 0.93.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dirk Kelly
@@ -17,12 +17,12 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-01-01 00:00:00 +08:00
20
+ date: 2011-01-07 00:00:00 +08:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  type: :runtime
25
- prerelease: false
25
+ name: radiant
26
26
  version_requirements: &id001 !ruby/object:Gem::Requirement
27
27
  none: false
28
28
  requirements:
@@ -34,11 +34,11 @@ dependencies:
34
34
  - 9
35
35
  - 1
36
36
  version: 0.9.1
37
- name: radiant
37
+ prerelease: false
38
38
  requirement: *id001
39
39
  - !ruby/object:Gem::Dependency
40
40
  type: :runtime
41
- prerelease: false
41
+ name: activemerchant
42
42
  version_requirements: &id002 !ruby/object:Gem::Requirement
43
43
  none: false
44
44
  requirements:
@@ -50,11 +50,11 @@ dependencies:
50
50
  - 8
51
51
  - 0
52
52
  version: 1.8.0
53
- name: activemerchant
53
+ prerelease: false
54
54
  requirement: *id002
55
55
  - !ruby/object:Gem::Dependency
56
56
  type: :runtime
57
- prerelease: false
57
+ name: fastercsv
58
58
  version_requirements: &id003 !ruby/object:Gem::Requirement
59
59
  none: false
60
60
  requirements:
@@ -66,11 +66,11 @@ dependencies:
66
66
  - 5
67
67
  - 3
68
68
  version: 1.5.3
69
- name: fastercsv
69
+ prerelease: false
70
70
  requirement: *id003
71
71
  - !ruby/object:Gem::Dependency
72
72
  type: :runtime
73
- prerelease: false
73
+ name: acts_as_list
74
74
  version_requirements: &id004 !ruby/object:Gem::Requirement
75
75
  none: false
76
76
  requirements:
@@ -82,11 +82,11 @@ dependencies:
82
82
  - 1
83
83
  - 2
84
84
  version: 0.1.2
85
- name: acts_as_list
85
+ prerelease: false
86
86
  requirement: *id004
87
87
  - !ruby/object:Gem::Dependency
88
88
  type: :runtime
89
- prerelease: false
89
+ name: radiant-settings-extension
90
90
  version_requirements: &id005 !ruby/object:Gem::Requirement
91
91
  none: false
92
92
  requirements:
@@ -98,11 +98,11 @@ dependencies:
98
98
  - 1
99
99
  - 1
100
100
  version: 1.1.1
101
- name: radiant-settings-extension
101
+ prerelease: false
102
102
  requirement: *id005
103
103
  - !ruby/object:Gem::Dependency
104
104
  type: :runtime
105
- prerelease: false
105
+ name: radiant-images-extension
106
106
  version_requirements: &id006 !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements:
@@ -114,11 +114,11 @@ dependencies:
114
114
  - 5
115
115
  - 0
116
116
  version: 0.5.0
117
- name: radiant-images-extension
117
+ prerelease: false
118
118
  requirement: *id006
119
119
  - !ruby/object:Gem::Dependency
120
120
  type: :runtime
121
- prerelease: false
121
+ name: radiant-forms-extension
122
122
  version_requirements: &id007 !ruby/object:Gem::Requirement
123
123
  none: false
124
124
  requirements:
@@ -130,11 +130,11 @@ dependencies:
130
130
  - 2
131
131
  - 6
132
132
  version: 3.2.6
133
- name: radiant-forms-extension
133
+ prerelease: false
134
134
  requirement: *id007
135
135
  - !ruby/object:Gem::Dependency
136
136
  type: :runtime
137
- prerelease: false
137
+ name: radiant-users-extension
138
138
  version_requirements: &id008 !ruby/object:Gem::Requirement
139
139
  none: false
140
140
  requirements:
@@ -146,11 +146,11 @@ dependencies:
146
146
  - 0
147
147
  - 2
148
148
  version: 0.0.2
149
- name: radiant-users-extension
149
+ prerelease: false
150
150
  requirement: *id008
151
151
  - !ruby/object:Gem::Dependency
152
152
  type: :runtime
153
- prerelease: false
153
+ name: radiant-drag_order-extension
154
154
  version_requirements: &id009 !ruby/object:Gem::Requirement
155
155
  none: false
156
156
  requirements:
@@ -162,7 +162,7 @@ dependencies:
162
162
  - 3
163
163
  - 9
164
164
  version: 0.3.9
165
- name: radiant-drag_order-extension
165
+ prerelease: false
166
166
  requirement: *id009
167
167
  description: Radiant Shop is an attempt at a simple but complete store. It includes Products, Categories, Orders and Credit Card Payments
168
168
  email: dk@dirkkelly.com
@@ -411,7 +411,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
411
411
  requirements: []
412
412
 
413
413
  rubyforge_project:
414
- rubygems_version: 1.3.7
414
+ rubygems_version: 1.4.1
415
415
  signing_key:
416
416
  specification_version: 3
417
417
  summary: Shop Extension for Radiant CMS