radiant-shop_variants-extension 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/radiant-shop_variants-extension.gemspec +3 -4
- data/shop_variants_extension.rb +2 -3
- metadata +8 -8
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{radiant-shop_variants-extension}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
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"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-01-17}
|
13
13
|
s.description = %q{RadiantShop: Create variants of products, with alternative prices}
|
14
14
|
s.email = %q{dk@dirkkelly.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -81,7 +81,7 @@ Gem::Specification.new do |s|
|
|
81
81
|
]
|
82
82
|
s.homepage = %q{https://github.com/thefrontiergroup/radiant-shop_variants-extension}
|
83
83
|
s.require_paths = ["lib"]
|
84
|
-
s.rubygems_version = %q{1.
|
84
|
+
s.rubygems_version = %q{1.4.1}
|
85
85
|
s.summary = %q{Shop Variants Extension for Radiant CMS}
|
86
86
|
s.test_files = [
|
87
87
|
"spec/controllers/admin/shop/products/variant_templates_controller_spec.rb",
|
@@ -98,7 +98,6 @@ Gem::Specification.new do |s|
|
|
98
98
|
]
|
99
99
|
|
100
100
|
if s.respond_to? :specification_version then
|
101
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
102
101
|
s.specification_version = 3
|
103
102
|
|
104
103
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
data/shop_variants_extension.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
# require_dependency 'application_controller'
|
1
|
+
require 'admin/shop/products_controller'
|
3
2
|
|
4
3
|
class ShopVariantsExtension < Radiant::Extension
|
5
4
|
version YAML::load_file(File.join(File.dirname(__FILE__), 'VERSION'))
|
@@ -13,7 +12,7 @@ class ShopVariantsExtension < Radiant::Extension
|
|
13
12
|
admin.variants = Radiant::AdminUI.load_default_shop_variants_regions
|
14
13
|
end
|
15
14
|
|
16
|
-
Admin::Shop::ProductsController.send :include, ShopVariants::Controllers::ProductsController
|
15
|
+
::Admin::Shop::ProductsController.send :include, ShopVariants::Controllers::ProductsController
|
17
16
|
|
18
17
|
ShopProduct.send :include, ShopVariants::Models::Product
|
19
18
|
Page.send :include, ShopVariants::Tags::ProductVariant
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-shop_variants-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 31
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dirk Kelly
|
@@ -15,12 +15,12 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-01-17 00:00:00 +08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
type: :runtime
|
23
|
-
|
23
|
+
name: radiant-shop-extension
|
24
24
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
segments:
|
31
31
|
- 0
|
32
32
|
version: "0"
|
33
|
-
|
33
|
+
prerelease: false
|
34
34
|
requirement: *id001
|
35
35
|
description: "RadiantShop: Create variants of products, with alternative prices"
|
36
36
|
email: dk@dirkkelly.com
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
requirements: []
|
134
134
|
|
135
135
|
rubyforge_project:
|
136
|
-
rubygems_version: 1.
|
136
|
+
rubygems_version: 1.4.1
|
137
137
|
signing_key:
|
138
138
|
specification_version: 3
|
139
139
|
summary: Shop Variants Extension for Radiant CMS
|