radiant-shop_packages-extension 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/radiant-shop_packages-extension.rb +1 -0
- data/radiant-shop_packages-extension.gemspec +65 -66
- data/shop_packages_extension.rb +5 -8
- metadata +7 -7
- data/.gitignore +0 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
@@ -0,0 +1 @@
|
|
1
|
+
# Nothing to see here
|
@@ -1,91 +1,90 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{radiant-shop_packages-extension}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.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{2010-
|
12
|
+
s.date = %q{2010-12-01}
|
13
13
|
s.description = %q{RadiantShop: Group up Products into packages, you can assign a price to a package}
|
14
14
|
s.email = %q{dk@dirkkelly.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"README"
|
17
17
|
]
|
18
18
|
s.files = [
|
19
|
-
"
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
19
|
+
"README",
|
20
|
+
"Rakefile",
|
21
|
+
"VERSION",
|
22
|
+
"app/controllers/.DS_Store",
|
23
|
+
"app/controllers/admin/shop/packages/packings_controller.rb",
|
24
|
+
"app/controllers/admin/shop/packages_controller.rb",
|
25
|
+
"app/datasets/shop_packages.rb",
|
26
|
+
"app/models/shop_package.rb",
|
27
|
+
"app/models/shop_packing.rb",
|
28
|
+
"app/views/admin/shop/packages/edit.html.haml",
|
29
|
+
"app/views/admin/shop/packages/edit/_foot.html.haml",
|
30
|
+
"app/views/admin/shop/packages/edit/_form.html.haml",
|
31
|
+
"app/views/admin/shop/packages/edit/_head.html.haml",
|
32
|
+
"app/views/admin/shop/packages/edit/_inputs.html.haml",
|
33
|
+
"app/views/admin/shop/packages/edit/_meta.html.haml",
|
34
|
+
"app/views/admin/shop/packages/edit/_parts.html.haml",
|
35
|
+
"app/views/admin/shop/packages/edit/_popups.html.haml",
|
36
|
+
"app/views/admin/shop/packages/edit/buttons/_browse_products.html.haml",
|
37
|
+
"app/views/admin/shop/packages/edit/inputs/_name.html.haml",
|
38
|
+
"app/views/admin/shop/packages/edit/inputs/_price.html.haml",
|
39
|
+
"app/views/admin/shop/packages/edit/meta/_sku.html.haml",
|
40
|
+
"app/views/admin/shop/packages/edit/parts/_description.html.haml",
|
41
|
+
"app/views/admin/shop/packages/edit/parts/_products.html.haml",
|
42
|
+
"app/views/admin/shop/packages/edit/popups/_browse_products.html.haml",
|
43
|
+
"app/views/admin/shop/packages/edit/shared/_product.html.haml",
|
44
|
+
"app/views/admin/shop/packages/index.html.haml",
|
45
|
+
"app/views/admin/shop/packages/index/_foot.html.haml",
|
46
|
+
"app/views/admin/shop/packages/index/_head.html.haml",
|
47
|
+
"app/views/admin/shop/packages/index/_package.html.haml",
|
48
|
+
"app/views/admin/shop/packages/index/buttons/_new_package.html.haml",
|
49
|
+
"app/views/admin/shop/packages/new.html.haml",
|
50
|
+
"app/views/admin/shop/packages/remove.html.haml",
|
51
|
+
"config/locales/en.yml",
|
52
|
+
"config/routes.rb",
|
53
|
+
"cucumber.yml",
|
54
|
+
"db/migrate/20101015161749_setup_shop_packages.rb",
|
55
|
+
"lib/radiant-shop_packages-extension.rb",
|
56
|
+
"lib/shop_packages/interface/packages.rb",
|
57
|
+
"lib/shop_packages/models/shop_packageable.rb",
|
58
|
+
"lib/shop_packages/tags/helpers.rb",
|
59
|
+
"lib/shop_packages/tags/package.rb",
|
60
|
+
"lib/tasks/shop_packages_extension_tasks.rake",
|
61
|
+
"public/javascripts/admin/extensions/shop/packages/edit.js",
|
62
|
+
"public/stylesheets/sass/admin/extensions/shop/packages/edit.sass",
|
63
|
+
"radiant-shop_packages-extension.gemspec",
|
64
|
+
"shop_packages_extension.rb",
|
65
|
+
"spec/controllers/admin/shop/packages/packings_controller_spec.rb",
|
66
|
+
"spec/controllers/admin/shop/packages_controller_spec.rb",
|
67
|
+
"spec/datasets/shop_packages.rb",
|
68
|
+
"spec/lib/shop_packages/tags/package_spec.rb",
|
69
|
+
"spec/models/shop_package_spec.rb",
|
70
|
+
"spec/models/shop_packing_spec.rb",
|
71
|
+
"spec/models/shop_product_spec.rb",
|
72
|
+
"spec/spec.opts",
|
73
|
+
"spec/spec_helper.rb"
|
74
74
|
]
|
75
75
|
s.homepage = %q{http://github.com/thefrontiergroup/radiant-shop_packages-extension}
|
76
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
77
76
|
s.require_paths = ["lib"]
|
78
77
|
s.rubygems_version = %q{1.3.7}
|
79
78
|
s.summary = %q{Shop Packages Extension for Radiant CMS}
|
80
79
|
s.test_files = [
|
81
80
|
"spec/controllers/admin/shop/packages/packings_controller_spec.rb",
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
81
|
+
"spec/controllers/admin/shop/packages_controller_spec.rb",
|
82
|
+
"spec/datasets/shop_packages.rb",
|
83
|
+
"spec/lib/shop_packages/tags/package_spec.rb",
|
84
|
+
"spec/models/shop_package_spec.rb",
|
85
|
+
"spec/models/shop_packing_spec.rb",
|
86
|
+
"spec/models/shop_product_spec.rb",
|
87
|
+
"spec/spec_helper.rb"
|
89
88
|
]
|
90
89
|
|
91
90
|
if s.respond_to? :specification_version then
|
data/shop_packages_extension.rb
CHANGED
@@ -1,14 +1,11 @@
|
|
1
|
-
# Uncomment this if you reference any of your controllers in activate
|
2
|
-
# require_dependency 'application_controller'
|
3
|
-
|
4
1
|
class ShopPackagesExtension < Radiant::Extension
|
5
|
-
version
|
6
|
-
description "
|
7
|
-
url "
|
2
|
+
version YAML::load_file(File.join(File.dirname(__FILE__), 'VERSION'))
|
3
|
+
description "Group up Products into packages, you can assign a price to a package"
|
4
|
+
url "https://github.com/thefrontiergroup/radiant-shop_packages-extension/"
|
8
5
|
|
9
6
|
extension_config do |config|
|
10
7
|
config.after_initialize do
|
11
|
-
|
8
|
+
config.gem 'radiant-shop-extension'
|
12
9
|
end
|
13
10
|
end
|
14
11
|
|
@@ -17,7 +14,7 @@ class ShopPackagesExtension < Radiant::Extension
|
|
17
14
|
def activate
|
18
15
|
|
19
16
|
tab "Shop" do
|
20
|
-
add_item "Packages", "/admin/shop/packages", :
|
17
|
+
add_item "Packages", "/admin/shop/packages", :before => "Orders"
|
21
18
|
end
|
22
19
|
|
23
20
|
unless defined? admin.packages
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-shop_packages-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dirk Kelly
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-12-01 00:00:00 +08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -41,7 +41,6 @@ extensions: []
|
|
41
41
|
extra_rdoc_files:
|
42
42
|
- README
|
43
43
|
files:
|
44
|
-
- .gitignore
|
45
44
|
- README
|
46
45
|
- Rakefile
|
47
46
|
- VERSION
|
@@ -78,6 +77,7 @@ files:
|
|
78
77
|
- config/routes.rb
|
79
78
|
- cucumber.yml
|
80
79
|
- db/migrate/20101015161749_setup_shop_packages.rb
|
80
|
+
- lib/radiant-shop_packages-extension.rb
|
81
81
|
- lib/shop_packages/interface/packages.rb
|
82
82
|
- lib/shop_packages/models/shop_packageable.rb
|
83
83
|
- lib/shop_packages/tags/helpers.rb
|
@@ -101,8 +101,8 @@ homepage: http://github.com/thefrontiergroup/radiant-shop_packages-extension
|
|
101
101
|
licenses: []
|
102
102
|
|
103
103
|
post_install_message:
|
104
|
-
rdoc_options:
|
105
|
-
|
104
|
+
rdoc_options: []
|
105
|
+
|
106
106
|
require_paths:
|
107
107
|
- lib
|
108
108
|
required_ruby_version: !ruby/object:Gem::Requirement
|
data/.gitignore
DELETED