forge-cli 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +1 -3
- data/lib/forge-cli.rb +3 -0
- data/lib/forge-cli/application_creator.rb +33 -0
- data/lib/forge-cli/custom_file_copier.rb +27 -0
- data/lib/forge-cli/forge_addon_requirer.rb +14 -0
- data/lib/forge-cli/logo.txt +11 -0
- data/lib/forge-cli/module_installer.rb +31 -5
- data/lib/forge-cli/modules/banners/forge_routes.rb +3 -0
- data/lib/forge-cli/modules/banners/manifest.yml +8 -0
- data/lib/forge-cli/modules/banners/post_hooks.rb +12 -0
- data/lib/forge-cli/modules/banners/routes.rb +15 -0
- data/lib/forge-cli/modules/base/forge_routes.rb +5 -0
- data/lib/forge-cli/modules/base/manifest.yml +7 -12
- data/lib/forge-cli/modules/base/post_hooks.rb +10 -29
- data/lib/forge-cli/modules/dispatches/forge_routes.rb +6 -0
- data/lib/forge-cli/modules/dispatches/manifest.yml +25 -0
- data/lib/forge-cli/modules/dispatches/post_hooks.rb +13 -0
- data/lib/forge-cli/modules/dispatches/routes.rb +4 -0
- data/lib/forge-cli/modules/ecommerce/forge_routes.rb +33 -0
- data/lib/forge-cli/modules/ecommerce/manifest.yml +49 -1
- data/lib/forge-cli/modules/ecommerce/post_hooks.rb +33 -0
- data/lib/forge-cli/modules/ecommerce/routes.rb +43 -0
- data/lib/forge-cli/modules/events/forge_routes.rb +1 -0
- data/lib/forge-cli/modules/events/manifest.yml +12 -0
- data/lib/forge-cli/modules/events/post_hooks.rb +16 -0
- data/lib/forge-cli/modules/events/routes.rb +4 -0
- data/lib/forge-cli/modules/galleries/forge_routes.rb +3 -0
- data/lib/forge-cli/modules/galleries/manifest.yml +9 -0
- data/lib/forge-cli/modules/galleries/post_hooks.rb +11 -0
- data/lib/forge-cli/modules/posts/forge_routes.rb +6 -0
- data/lib/forge-cli/modules/posts/post_hooks.rb +30 -0
- data/lib/forge-cli/modules/posts/routes.rb +15 -0
- data/lib/forge-cli/modules/subscribers/forge_routes.rb +4 -0
- data/lib/forge-cli/modules/subscribers/manifest.yml +14 -0
- data/lib/forge-cli/modules/subscribers/post_hooks.rb +12 -0
- data/lib/forge-cli/modules/subscribers/routes.rb +1 -0
- data/lib/forge-cli/modules/videos/forge_routes.rb +4 -0
- data/lib/forge-cli/modules/videos/manifest.yml +9 -0
- data/lib/forge-cli/modules/videos/post_hooks.rb +14 -0
- data/lib/forge-cli/modules/videos/routes.rb +15 -0
- data/lib/forge-cli/output.rb +10 -0
- data/lib/forge-cli/post_hooks.rb +24 -11
- data/lib/forge-cli/version.rb +1 -1
- data/lib/forge/Gemfile +2 -2
- data/lib/forge/app/controllers/application_controller.rb +2 -2
- data/lib/forge/app/controllers/events_controller.rb +2 -2
- data/lib/forge/app/controllers/hosted_payment_controller.rb +1 -1
- data/lib/forge/app/controllers/integrated_payment_controller.rb +1 -1
- data/lib/forge/app/controllers/orders_controller.rb +1 -1
- data/lib/forge/app/form_builders/forge_form_builder.rb +2 -2
- data/lib/forge/app/helpers/form_helper.rb +2 -2
- data/lib/forge/app/models/event.rb +4 -0
- data/lib/forge/app/models/order.rb +3 -3
- data/lib/forge/app/models/order_transaction.rb +1 -1
- data/lib/forge/app/models/post.rb +5 -0
- data/lib/forge/app/models/video.rb +24 -19
- data/lib/forge/app/views/forge/dispatches/show.html.haml +2 -2
- data/lib/forge/app/views/forge/help_topics/show.html.haml +4 -4
- data/lib/forge/app/views/forge/settings/show.html.haml +2 -2
- data/lib/forge/app/views/forge/shared/_seo_fields.html.haml +1 -1
- data/lib/forge/app/views/forge/shared/menu_items/_subscribers.html.haml +8 -0
- data/lib/forge/app/views/hosted_payment/_paypal.html.haml +3 -3
- data/lib/forge/app/views/hosted_payment/billing.html.haml +2 -2
- data/lib/forge/app/views/integrated_payment/_credit_card_form.html.haml +3 -3
- data/lib/forge/app/views/integrated_payment/billing.html.haml +3 -3
- data/lib/forge/app/views/layouts/application.html.haml +1 -1
- data/lib/forge/app/views/layouts/forge.html.haml +1 -1
- data/lib/forge/app/views/orders/paid.html.haml +3 -3
- data/lib/forge/config/initializers/ecommerce.rb +2 -2
- data/lib/forge/config/initializers/forge.rb +33 -0
- data/lib/forge/config/routes.rb +2 -4
- data/lib/forge/db/migrate/20130404140735_create_base_forge.rb +187 -0
- data/lib/forge/db/migrate/20130405172025_create_post_categories.rb +1 -1
- data/lib/forge/db/migrate/20130405172026_create_addresses.rb +28 -0
- data/lib/forge/db/migrate/20130405172027_create_countries.rb +20 -0
- data/lib/forge/db/migrate/20130405172028_create_orders.rb +22 -0
- data/lib/forge/db/migrate/20130405172029_create_order_transactions.rb +22 -0
- data/lib/forge/db/migrate/20130405172030_create_products.rb +34 -0
- data/lib/forge/db/migrate/20130405172031_create_product_categories.rb +20 -0
- data/lib/forge/db/migrate/20130405172032_create_product_images.rb +20 -0
- data/lib/forge/db/migrate/20130405172033_create_provinces.rb +19 -0
- data/lib/forge/db/migrate/20130405172034_create_sales.rb +18 -0
- data/lib/forge/db/migrate/20130405172035_create_tax_rates.rb +19 -0
- data/lib/forge/db/migrate/20130405172036_create_banners.rb +20 -0
- data/lib/forge/db/migrate/20130405172037_create_videos.rb +33 -0
- data/lib/forge/db/migrate/20130405172038_create_events.rb +18 -0
- data/lib/forge/db/migrate/20130405172039_create_dispatches.rb +98 -0
- data/lib/forge/db/migrate/20130405172040_create_subscribers copy.rb +32 -0
- data/lib/forge/db/migrate/20130405172041_create_galleries.rb +29 -0
- data/lib/forge/lib/assets/stylesheets/forge/dispatches.css.scss +10 -1
- data/lib/forge/lib/forge.rb +12 -4
- data/lib/forge/{config/initializers → lib/forge}/can_be_foreign.rb +0 -0
- data/lib/forge/{config/initializers → lib/forge}/can_have_comments.rb +0 -0
- data/lib/forge/{config/initializers → lib/forge}/can_use_asset.rb +0 -0
- data/lib/forge/lib/forge/config/ecommerce.rb +55 -0
- data/lib/forge/lib/forge/config/events.rb +29 -0
- data/lib/forge/lib/forge/config/videos.rb +20 -0
- data/lib/forge/{config/initializers → lib/forge}/reorderable.rb +0 -0
- data/lib/forge/{config/initializers/forge/controllers → lib/forge/shared_controller_methods}/ecommerce.rb +1 -3
- data/lib/forge/{config/initializers/forge/controllers → lib/forge/shared_controller_methods}/posts.rb +0 -2
- data/lib/forge/lib/generators/forge/i18n_migrations/i18n_migrations_generator.rb +3 -3
- data/lib/forge/lib/tasks/forge.rake +1 -1
- data/lib/forge/spec/integration/shopping_spec.rb +9 -9
- data/lib/forge/spec/models/order_spec.rb +5 -5
- metadata +169 -120
- data/forge-cli.rdoc +0 -5
- data/lib/forge/app/controllers/product_images_controller.rb +0 -2
- data/lib/forge/config/ferret_server.yml +0 -24
- data/lib/forge/db/migrate/20130404140735_create_assets.rb +0 -24
- data/lib/forge/db/migrate/20130404141259_create_comments.rb +0 -40
- data/lib/forge/db/migrate/20130404142157_create_help_topics.rb +0 -18
- data/lib/forge/db/migrate/20130404143601_create_settings.rb +0 -18
- data/lib/forge/db/migrate/20130404145209_create_roles.rb +0 -22
- data/lib/forge/db/migrate/20130404145329_create_taggings.rb +0 -25
- data/lib/forge/db/migrate/20130404151730_create_users.rb +0 -30
- data/lib/forge/db/migrate/20130405172022_create_pages.rb +0 -35
- data/lib/forge/lib/active_form.rb +0 -12
- data/lib/forge/lib/forge/settings.rb +0 -4
@@ -9,11 +9,11 @@ describe "Shopping" do
|
|
9
9
|
response.should be_success, response.body
|
10
10
|
end
|
11
11
|
|
12
|
-
it "should shop for products" do
|
12
|
+
it "should shop for products" do
|
13
13
|
product = products(:book_of_bad_puns)
|
14
14
|
get "/products/#{product.id}"
|
15
15
|
assert_response :success
|
16
|
-
|
16
|
+
|
17
17
|
# add an item to the cart
|
18
18
|
lambda do
|
19
19
|
post_via_redirect(add_to_cart_orders_path, { :product_id => product.id, :quantity => 2}, { "HTTP_REFERER" => "/products/#{product.id}" } )
|
@@ -33,7 +33,7 @@ describe "Shopping" do
|
|
33
33
|
product.price.should == @order.line_items.first.price
|
34
34
|
(product.price * 2.0).should == @order.price
|
35
35
|
1.should == @order.products.size
|
36
|
-
|
36
|
+
|
37
37
|
# add another item to the cart
|
38
38
|
post_via_redirect(add_to_cart_orders_path, { :product_id => products(:tiny_digital_man).id, :quantity => 1}, { "HTTP_REFERER" => "/products/#{product.id}" } )
|
39
39
|
assert_response :success
|
@@ -46,7 +46,7 @@ describe "Shopping" do
|
|
46
46
|
assert_response :success
|
47
47
|
flash[:warning].should_not == nil
|
48
48
|
@order.reload
|
49
|
-
assert_equal @order.line_items.size, 2, "the quantity of line items should stay the same, because this addition should have failed"
|
49
|
+
assert_equal @order.line_items.size, 2, "the quantity of line items should stay the same, because this addition should have failed"
|
50
50
|
|
51
51
|
# proceeding to checkout
|
52
52
|
get orders_checkout_path
|
@@ -68,7 +68,7 @@ describe "Shopping" do
|
|
68
68
|
@product = products(:book_of_bad_puns)
|
69
69
|
get "/products/#{product.id}"
|
70
70
|
assert_response :success
|
71
|
-
|
71
|
+
|
72
72
|
# add an item to the cart
|
73
73
|
lambda do
|
74
74
|
post_via_redirect(add_to_cart_orders_path, { :product_id => @product.id, :quantity => 2}, { "HTTP_REFERER" => "/products/#{@product.id}" } )
|
@@ -80,7 +80,7 @@ describe "Shopping" do
|
|
80
80
|
end
|
81
81
|
|
82
82
|
it "should choose to pay with paypal" do
|
83
|
-
Forge
|
83
|
+
Forge.config.ecommerce.payments = :hosted
|
84
84
|
|
85
85
|
# add an item to the cart
|
86
86
|
product = products(:book_of_bad_puns)
|
@@ -100,8 +100,8 @@ describe "Shopping" do
|
|
100
100
|
end
|
101
101
|
|
102
102
|
it "should choose to pay with a credit card and send a receipt" do
|
103
|
-
Forge
|
104
|
-
Forge
|
103
|
+
Forge.config.ecommerce.payments = :integrated
|
104
|
+
Forge.config.ecommerce.email_receipt = true
|
105
105
|
|
106
106
|
# add an item to the cart
|
107
107
|
product = products(:book_of_bad_puns)
|
@@ -114,7 +114,7 @@ describe "Shopping" do
|
|
114
114
|
response.should be_success, response.body
|
115
115
|
response.should render_template("billing")
|
116
116
|
response.body.should match(/credit card/)
|
117
|
-
|
117
|
+
|
118
118
|
# for security, hosted payments should be inaccessible
|
119
119
|
get "hosted_payment/billing"
|
120
120
|
assert_response :redirect
|
@@ -16,8 +16,8 @@ describe Order, "adding to cart" do
|
|
16
16
|
2.should == @cart_order.products.size
|
17
17
|
@cart_order.add(products(:book_of_bad_puns), 2)
|
18
18
|
@cart_order.reload
|
19
|
-
assert_equal @cart_order.products.size, 2, "The number of items should not increase since this product is already in the cart."
|
20
|
-
assert_equal @cart_order.price, 329.99, "three times 100.0 plus 29.99"
|
19
|
+
assert_equal @cart_order.products.size, 2, "The number of items should not increase since this product is already in the cart."
|
20
|
+
assert_equal @cart_order.price, 329.99, "three times 100.0 plus 29.99"
|
21
21
|
end
|
22
22
|
|
23
23
|
it "should test retrieve standard info" do
|
@@ -46,7 +46,7 @@ describe Order, "shipping and handling when shipping is a flat rate" do
|
|
46
46
|
@order = create_order
|
47
47
|
@order.shipping_address = addresses(:adrian)
|
48
48
|
MySettings.handling = 5.00
|
49
|
-
Forge
|
49
|
+
Forge.config.ecommerce.flat_rate_shipping = true
|
50
50
|
end
|
51
51
|
|
52
52
|
it "should include the handling fee by default" do
|
@@ -76,7 +76,7 @@ describe Order, "shipping and handling when shipping is not a flat rate" do
|
|
76
76
|
@order.add(products(:map_of_peninsula)) # $10 + 13% HST and 3% NY Sales Tax
|
77
77
|
@order.shipping_address = addresses(:adrian)
|
78
78
|
MySettings.handling = 8.00
|
79
|
-
Forge
|
79
|
+
Forge.config.ecommerce.flat_rate_shipping = true
|
80
80
|
end
|
81
81
|
|
82
82
|
it "should include the handling fee by default" do
|
@@ -104,7 +104,7 @@ describe Order, "taxes" do
|
|
104
104
|
@order.add(products(:book_of_bad_puns), 2) # 2 * $100 = $200 + 13% HST
|
105
105
|
@order.add(products(:map_of_peninsula)) # $10 + 13% HST and 3% NY Sales Tax
|
106
106
|
# add another item that only has NY sales tax
|
107
|
-
|
107
|
+
|
108
108
|
# add another item that has no sales tax
|
109
109
|
end
|
110
110
|
|
metadata
CHANGED
@@ -1,121 +1,118 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: forge-cli
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 11
|
10
|
+
version: 0.0.11
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- factor[e] design initiative
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2013-04-30 00:00:00 -04:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: rake
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :development
|
23
23
|
prerelease: false
|
24
|
-
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
38
33
|
type: :development
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: rdoc
|
39
37
|
prerelease: false
|
40
|
-
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ! '>='
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '0'
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
version: "0"
|
54
47
|
type: :development
|
48
|
+
version_requirements: *id002
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: aruba
|
55
51
|
prerelease: false
|
56
|
-
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
53
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
hash: 3
|
58
|
+
segments:
|
59
|
+
- 0
|
60
|
+
version: "0"
|
61
|
+
type: :development
|
62
|
+
version_requirements: *id003
|
63
|
+
- !ruby/object:Gem::Dependency
|
63
64
|
name: rails
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - '='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 3.2.12
|
70
|
-
type: :runtime
|
71
65
|
prerelease: false
|
72
|
-
|
66
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
67
|
none: false
|
74
|
-
requirements:
|
75
|
-
- -
|
76
|
-
- !ruby/object:Gem::Version
|
68
|
+
requirements:
|
69
|
+
- - "="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
hash: 23
|
72
|
+
segments:
|
73
|
+
- 3
|
74
|
+
- 2
|
75
|
+
- 12
|
77
76
|
version: 3.2.12
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: rainbow
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ! '>='
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '0'
|
86
77
|
type: :runtime
|
78
|
+
version_requirements: *id004
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: rainbow
|
87
81
|
prerelease: false
|
88
|
-
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
89
83
|
none: false
|
90
|
-
requirements:
|
91
|
-
- -
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
none: false
|
98
|
-
requirements:
|
99
|
-
- - ! '>='
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '0'
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
hash: 3
|
88
|
+
segments:
|
89
|
+
- 0
|
90
|
+
version: "0"
|
102
91
|
type: :runtime
|
92
|
+
version_requirements: *id005
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: thor
|
103
95
|
prerelease: false
|
104
|
-
|
96
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
105
97
|
none: false
|
106
|
-
requirements:
|
107
|
-
- -
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
hash: 3
|
102
|
+
segments:
|
103
|
+
- 0
|
104
|
+
version: "0"
|
105
|
+
type: :runtime
|
106
|
+
version_requirements: *id006
|
110
107
|
description:
|
111
108
|
email: sean@factore.ca
|
112
|
-
executables:
|
109
|
+
executables:
|
113
110
|
- forge
|
114
111
|
extensions: []
|
115
|
-
|
112
|
+
|
113
|
+
extra_rdoc_files:
|
116
114
|
- README.rdoc
|
117
|
-
|
118
|
-
files:
|
115
|
+
files:
|
119
116
|
- bin/forge
|
120
117
|
- lib/forge/app/abilities/video_ability.rb
|
121
118
|
- lib/forge/app/assets/javascripts/app.js
|
@@ -171,7 +168,6 @@ files:
|
|
171
168
|
- lib/forge/app/controllers/orders_controller.rb
|
172
169
|
- lib/forge/app/controllers/pages_controller.rb
|
173
170
|
- lib/forge/app/controllers/posts_controller.rb
|
174
|
-
- lib/forge/app/controllers/product_images_controller.rb
|
175
171
|
- lib/forge/app/controllers/products_controller.rb
|
176
172
|
- lib/forge/app/controllers/sessions_controller.rb
|
177
173
|
- lib/forge/app/controllers/subscribers_controller.rb
|
@@ -382,6 +378,7 @@ files:
|
|
382
378
|
- lib/forge/app/views/forge/shared/menu_items/_posts.html.haml
|
383
379
|
- lib/forge/app/views/forge/shared/menu_items/_products.html.haml
|
384
380
|
- lib/forge/app/views/forge/shared/menu_items/_settings.html.haml
|
381
|
+
- lib/forge/app/views/forge/shared/menu_items/_subscribers.html.haml
|
385
382
|
- lib/forge/app/views/forge/shared/menu_items/_users.html.haml
|
386
383
|
- lib/forge/app/views/forge/shared/menu_items/_video_feeds.html.haml
|
387
384
|
- lib/forge/app/views/forge/shared/menu_items/_videos.html.haml
|
@@ -467,23 +464,17 @@ files:
|
|
467
464
|
- lib/forge/config/environments/development.rb
|
468
465
|
- lib/forge/config/environments/production.rb
|
469
466
|
- lib/forge/config/environments/test.rb
|
470
|
-
- lib/forge/config/ferret_server.yml
|
471
467
|
- lib/forge/config/google_sitemap.yml
|
472
468
|
- lib/forge/config/i18n_fields.yml
|
473
469
|
- lib/forge/config/initializers/backtrace_silencers.rb
|
474
|
-
- lib/forge/config/initializers/can_be_foreign.rb
|
475
|
-
- lib/forge/config/initializers/can_have_comments.rb
|
476
|
-
- lib/forge/config/initializers/can_use_asset.rb
|
477
470
|
- lib/forge/config/initializers/ckeditor.rb
|
478
471
|
- lib/forge/config/initializers/class_extensions/hash.rb
|
479
472
|
- lib/forge/config/initializers/devise.rb
|
480
473
|
- lib/forge/config/initializers/ecommerce.rb
|
481
|
-
- lib/forge/config/initializers/forge
|
482
|
-
- lib/forge/config/initializers/forge/controllers/posts.rb
|
474
|
+
- lib/forge/config/initializers/forge.rb
|
483
475
|
- lib/forge/config/initializers/generators.rb
|
484
476
|
- lib/forge/config/initializers/inflections.rb
|
485
477
|
- lib/forge/config/initializers/mime_types.rb
|
486
|
-
- lib/forge/config/initializers/reorderable.rb
|
487
478
|
- lib/forge/config/initializers/secret_token.rb
|
488
479
|
- lib/forge/config/initializers/session_store.rb
|
489
480
|
- lib/forge/config/initializers/validators.rb
|
@@ -503,16 +494,25 @@ files:
|
|
503
494
|
- lib/forge/db/help/posts_new.help
|
504
495
|
- lib/forge/db/help/products_new.help
|
505
496
|
- lib/forge/db/help/visual_editor.help
|
506
|
-
- lib/forge/db/migrate/
|
507
|
-
- lib/forge/db/migrate/20130404141259_create_comments.rb
|
508
|
-
- lib/forge/db/migrate/20130404142157_create_help_topics.rb
|
509
|
-
- lib/forge/db/migrate/20130404143601_create_settings.rb
|
510
|
-
- lib/forge/db/migrate/20130404145209_create_roles.rb
|
511
|
-
- lib/forge/db/migrate/20130404145329_create_taggings.rb
|
512
|
-
- lib/forge/db/migrate/20130404151730_create_users.rb
|
513
|
-
- lib/forge/db/migrate/20130405172022_create_pages.rb
|
497
|
+
- lib/forge/db/migrate/20130404140735_create_base_forge.rb
|
514
498
|
- lib/forge/db/migrate/20130405172024_create_posts.rb
|
515
499
|
- lib/forge/db/migrate/20130405172025_create_post_categories.rb
|
500
|
+
- lib/forge/db/migrate/20130405172026_create_addresses.rb
|
501
|
+
- lib/forge/db/migrate/20130405172027_create_countries.rb
|
502
|
+
- lib/forge/db/migrate/20130405172028_create_orders.rb
|
503
|
+
- lib/forge/db/migrate/20130405172029_create_order_transactions.rb
|
504
|
+
- lib/forge/db/migrate/20130405172030_create_products.rb
|
505
|
+
- lib/forge/db/migrate/20130405172031_create_product_categories.rb
|
506
|
+
- lib/forge/db/migrate/20130405172032_create_product_images.rb
|
507
|
+
- lib/forge/db/migrate/20130405172033_create_provinces.rb
|
508
|
+
- lib/forge/db/migrate/20130405172034_create_sales.rb
|
509
|
+
- lib/forge/db/migrate/20130405172035_create_tax_rates.rb
|
510
|
+
- lib/forge/db/migrate/20130405172036_create_banners.rb
|
511
|
+
- lib/forge/db/migrate/20130405172037_create_videos.rb
|
512
|
+
- lib/forge/db/migrate/20130405172038_create_events.rb
|
513
|
+
- lib/forge/db/migrate/20130405172039_create_dispatches.rb
|
514
|
+
- lib/forge/db/migrate/20130405172040_create_subscribers copy.rb
|
515
|
+
- lib/forge/db/migrate/20130405172041_create_galleries.rb
|
516
516
|
- lib/forge/db/schema.rb
|
517
517
|
- lib/forge/db/seeds.rb
|
518
518
|
- lib/forge/doc/i18n.md
|
@@ -520,7 +520,6 @@ files:
|
|
520
520
|
- lib/forge/Gemfile
|
521
521
|
- lib/forge/Gemfile.lock
|
522
522
|
- lib/forge/Guardfile
|
523
|
-
- lib/forge/lib/active_form.rb
|
524
523
|
- lib/forge/lib/assets/images/forge/ajax-loader-dialog.gif
|
525
524
|
- lib/forge/lib/assets/images/forge/ajax-loader.gif
|
526
525
|
- lib/forge/lib/assets/images/forge/asset-icons/audio.jpg
|
@@ -660,10 +659,18 @@ files:
|
|
660
659
|
- lib/forge/lib/assets/stylesheets/forge/orders.css.scss
|
661
660
|
- lib/forge/lib/assets/stylesheets/forge/radio_slider.css.scss
|
662
661
|
- lib/forge/lib/daemon.rb
|
662
|
+
- lib/forge/lib/forge/can_be_foreign.rb
|
663
|
+
- lib/forge/lib/forge/can_have_comments.rb
|
664
|
+
- lib/forge/lib/forge/can_use_asset.rb
|
665
|
+
- lib/forge/lib/forge/config/ecommerce.rb
|
666
|
+
- lib/forge/lib/forge/config/events.rb
|
667
|
+
- lib/forge/lib/forge/config/videos.rb
|
663
668
|
- lib/forge/lib/forge/credit_card_processor.rb
|
664
669
|
- lib/forge/lib/forge/recipes.rb
|
670
|
+
- lib/forge/lib/forge/reorderable.rb
|
665
671
|
- lib/forge/lib/forge/s3_signature.rb
|
666
|
-
- lib/forge/lib/forge/
|
672
|
+
- lib/forge/lib/forge/shared_controller_methods/ecommerce.rb
|
673
|
+
- lib/forge/lib/forge/shared_controller_methods/posts.rb
|
667
674
|
- lib/forge/lib/forge.rb
|
668
675
|
- lib/forge/lib/generators/forge/i18n_migrations/i18n_migrations_generator.rb
|
669
676
|
- lib/forge/lib/generators/forge/i18n_migrations/templates/migration.rb
|
@@ -1405,48 +1412,90 @@ files:
|
|
1405
1412
|
- lib/forge-cli/ability_installer.rb
|
1406
1413
|
- lib/forge-cli/app.rb
|
1407
1414
|
- lib/forge-cli/application_creator.rb
|
1415
|
+
- lib/forge-cli/custom_file_copier.rb
|
1416
|
+
- lib/forge-cli/forge_addon_requirer.rb
|
1417
|
+
- lib/forge-cli/logo.txt
|
1408
1418
|
- lib/forge-cli/module_installer.rb
|
1419
|
+
- lib/forge-cli/modules/banners/forge_routes.rb
|
1420
|
+
- lib/forge-cli/modules/banners/manifest.yml
|
1421
|
+
- lib/forge-cli/modules/banners/post_hooks.rb
|
1422
|
+
- lib/forge-cli/modules/banners/routes.rb
|
1409
1423
|
- lib/forge-cli/modules/base/forge_routes.rb
|
1410
1424
|
- lib/forge-cli/modules/base/manifest.yml
|
1411
1425
|
- lib/forge-cli/modules/base/post_hooks.rb
|
1412
1426
|
- lib/forge-cli/modules/base/routes.rb
|
1427
|
+
- lib/forge-cli/modules/dispatches/forge_routes.rb
|
1428
|
+
- lib/forge-cli/modules/dispatches/manifest.yml
|
1429
|
+
- lib/forge-cli/modules/dispatches/post_hooks.rb
|
1430
|
+
- lib/forge-cli/modules/dispatches/routes.rb
|
1413
1431
|
- lib/forge-cli/modules/ecommerce/_settings_forge_menu.html
|
1432
|
+
- lib/forge-cli/modules/ecommerce/forge_routes.rb
|
1414
1433
|
- lib/forge-cli/modules/ecommerce/manifest.yml
|
1434
|
+
- lib/forge-cli/modules/ecommerce/post_hooks.rb
|
1435
|
+
- lib/forge-cli/modules/ecommerce/routes.rb
|
1436
|
+
- lib/forge-cli/modules/events/forge_routes.rb
|
1437
|
+
- lib/forge-cli/modules/events/manifest.yml
|
1438
|
+
- lib/forge-cli/modules/events/post_hooks.rb
|
1439
|
+
- lib/forge-cli/modules/events/routes.rb
|
1440
|
+
- lib/forge-cli/modules/galleries/forge_routes.rb
|
1441
|
+
- lib/forge-cli/modules/galleries/manifest.yml
|
1442
|
+
- lib/forge-cli/modules/galleries/post_hooks.rb
|
1443
|
+
- lib/forge-cli/modules/posts/forge_routes.rb
|
1415
1444
|
- lib/forge-cli/modules/posts/manifest.yml
|
1445
|
+
- lib/forge-cli/modules/posts/post_hooks.rb
|
1446
|
+
- lib/forge-cli/modules/posts/routes.rb
|
1447
|
+
- lib/forge-cli/modules/subscribers/forge_routes.rb
|
1448
|
+
- lib/forge-cli/modules/subscribers/manifest.yml
|
1449
|
+
- lib/forge-cli/modules/subscribers/post_hooks.rb
|
1450
|
+
- lib/forge-cli/modules/subscribers/routes.rb
|
1451
|
+
- lib/forge-cli/modules/videos/forge_routes.rb
|
1452
|
+
- lib/forge-cli/modules/videos/manifest.yml
|
1453
|
+
- lib/forge-cli/modules/videos/post_hooks.rb
|
1454
|
+
- lib/forge-cli/modules/videos/routes.rb
|
1455
|
+
- lib/forge-cli/output.rb
|
1416
1456
|
- lib/forge-cli/post_hooks.rb
|
1417
1457
|
- lib/forge-cli/route_installer.rb
|
1418
1458
|
- lib/forge-cli/version.rb
|
1419
1459
|
- lib/forge-cli.rb
|
1420
1460
|
- README.rdoc
|
1421
|
-
|
1461
|
+
has_rdoc: true
|
1422
1462
|
homepage: http://factore.ca/forge-cms
|
1423
1463
|
licenses: []
|
1464
|
+
|
1424
1465
|
post_install_message:
|
1425
|
-
rdoc_options:
|
1466
|
+
rdoc_options:
|
1426
1467
|
- --title
|
1427
1468
|
- forge-cli
|
1428
1469
|
- --main
|
1429
1470
|
- README.rdoc
|
1430
1471
|
- -ri
|
1431
|
-
require_paths:
|
1472
|
+
require_paths:
|
1432
1473
|
- lib
|
1433
1474
|
- lib
|
1434
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
1475
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
1435
1476
|
none: false
|
1436
|
-
requirements:
|
1437
|
-
- -
|
1438
|
-
- !ruby/object:Gem::Version
|
1439
|
-
|
1440
|
-
|
1477
|
+
requirements:
|
1478
|
+
- - ">="
|
1479
|
+
- !ruby/object:Gem::Version
|
1480
|
+
hash: 3
|
1481
|
+
segments:
|
1482
|
+
- 0
|
1483
|
+
version: "0"
|
1484
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
1441
1485
|
none: false
|
1442
|
-
requirements:
|
1443
|
-
- -
|
1444
|
-
- !ruby/object:Gem::Version
|
1445
|
-
|
1486
|
+
requirements:
|
1487
|
+
- - ">="
|
1488
|
+
- !ruby/object:Gem::Version
|
1489
|
+
hash: 3
|
1490
|
+
segments:
|
1491
|
+
- 0
|
1492
|
+
version: "0"
|
1446
1493
|
requirements: []
|
1494
|
+
|
1447
1495
|
rubyforge_project:
|
1448
|
-
rubygems_version: 1.
|
1496
|
+
rubygems_version: 1.5.2
|
1449
1497
|
signing_key:
|
1450
1498
|
specification_version: 3
|
1451
|
-
summary:
|
1499
|
+
summary: "Forge: A CMS for Rapid Application Development"
|
1452
1500
|
test_files: []
|
1501
|
+
|