spree_essentials 0.4.0.rc2 → 0.4.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +10 -0
- data/.travis.yml +11 -0
- data/CHANGELOG.md +125 -0
- data/Gemfile +6 -0
- data/README.md +79 -112
- data/Versionfile +7 -0
- data/app/assets/javascripts/{date.js → admin/date.js} +0 -0
- data/app/assets/javascripts/{jquery.autodate.js → admin/jquery.autodate.js} +0 -0
- data/app/assets/javascripts/{jquery.markitup.js → admin/jquery.markitup.js} +1 -1
- data/app/assets/javascripts/{markdown.set.js → admin/markdown.set.js} +0 -0
- data/app/assets/javascripts/admin/spree_essentials.js +1 -0
- data/app/assets/stylesheets/{markitup.css.erb → admin/markitup.css.erb} +5 -0
- data/app/assets/stylesheets/admin/spree_essentials.css +3 -0
- data/app/controllers/spree/admin/markdown_controller.rb +1 -1
- data/app/controllers/spree/admin/uploads_controller.rb +0 -4
- data/app/helpers/spree/admin/spree_essentials_helper.rb +16 -10
- data/app/models/spree/upload.rb +5 -3
- data/app/overrides/admin/spree_essentials.rb +13 -0
- data/app/views/spree/admin/shared/_contents_sub_menu.html.erb +9 -7
- data/app/views/spree/admin/uploads/edit.html.erb +0 -2
- data/app/views/spree/admin/uploads/index.html.erb +0 -1
- data/app/views/spree/admin/uploads/new.html.erb +0 -2
- data/config/routes.rb +5 -4
- data/{lib/generators/templates/db/migrate/add_attachment_file_size_to_assets.rb → db/migrate/20120306185618_add_attachment_file_size_to_assets.rb} +0 -0
- data/lib/generators/spree_essentials/install_generator.rb +16 -6
- data/lib/spree_essentials.rb +5 -24
- data/lib/spree_essentials/engine.rb +25 -0
- data/lib/spree_essentials/{test_helper.rb → testing/integration_case.rb} +13 -30
- data/lib/spree_essentials/testing/test_helper.rb +30 -0
- data/lib/spree_essentials/version.rb +1 -1
- data/spree_essentials.gemspec +34 -0
- data/test/dummy_hooks/after_migrate.rb.sample +1 -0
- data/test/dummy_hooks/before_migrate.rb +30 -0
- data/test/dummy_hooks/templates/admin/all.css +3 -0
- data/test/dummy_hooks/templates/admin/all.js +1 -0
- data/test/dummy_hooks/templates/spree_user_error_fix.rb +3 -0
- data/test/dummy_hooks/templates/store/all.css +3 -0
- data/test/dummy_hooks/templates/store/all.js +1 -0
- data/test/dummy_hooks/templates/store/screen.css +749 -0
- data/test/integration/spree/admin/extension_integration_test.rb +50 -0
- data/test/integration/spree/admin/markdown_integration_test.rb +50 -0
- data/test/integration/spree/admin/upload_integration_test.rb +85 -0
- data/test/integration_test_helper.rb +2 -0
- data/test/spree_essential_example/README.md +3 -0
- data/test/spree_essential_example/app/controllers/spree/admin/examples_controller.rb +26 -0
- data/test/spree_essential_example/app/models/spree/example.rb +2 -0
- data/test/spree_essential_example/app/views/spree/admin/examples/_form.html.erb +21 -0
- data/test/spree_essential_example/app/views/spree/admin/examples/edit.html.erb +12 -0
- data/test/spree_essential_example/app/views/spree/admin/examples/index.html.erb +26 -0
- data/test/spree_essential_example/app/views/spree/admin/examples/new.html.erb +13 -0
- data/test/spree_essential_example/app/views/spree/admin/examples/show.html.erb +8 -0
- data/test/spree_essential_example/config/routes.rb +5 -0
- data/test/spree_essential_example/db/migrate/20120307043727_create_spree_examples.rb +12 -0
- data/test/spree_essential_example/lib/generators/spree_essentials/example_generator.rb +13 -0
- data/test/spree_essential_example/lib/spree_essential_example.rb +18 -0
- data/test/spree_essential_example/lib/spree_essential_example/engine.rb +21 -0
- data/test/spree_essential_example/lib/spree_essential_example/version.rb +3 -0
- data/test/spree_essential_example/spree_essential_example.gemspec +23 -0
- data/test/support/files/1.gif +0 -0
- data/test/support/files/1.jpg +0 -0
- data/test/support/files/1.png +0 -0
- data/test/support/files/2.gif +0 -0
- data/test/support/files/2.jpg +0 -0
- data/test/support/files/2.png +0 -0
- data/test/support/files/3.gif +0 -0
- data/test/support/files/3.jpg +0 -0
- data/test/support/files/3.png +0 -0
- data/test/support/files/test.pdf +0 -0
- data/test/support/files/test.zip +0 -0
- data/test/test_helper.rb +14 -0
- data/test/unit/spree/asset_test.rb +18 -0
- data/test/unit/spree/extension_test.rb +33 -0
- data/test/unit/spree/helpers/admin/spree_essentials_helper_test.rb +38 -0
- data/test/unit/spree/upload_test.rb +52 -0
- data/test/unit/validators/datetime_validator_test.rb +29 -0
- metadata +144 -47
- data/app/overrides/spree_essentials.rb +0 -5
- data/lib/generators/essentials_base.rb +0 -32
data/test/test_helper.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
begin
|
2
|
+
require "simplecov"
|
3
|
+
SimpleCov.start do
|
4
|
+
add_filter "test/"
|
5
|
+
end
|
6
|
+
rescue LoadError => e
|
7
|
+
end
|
8
|
+
|
9
|
+
# Configure Rails Envinronment
|
10
|
+
ENV["RAILS_ENV"] = "test"
|
11
|
+
ENV["RAILS_ROOT"] = File.expand_path("../dummy", __FILE__)
|
12
|
+
|
13
|
+
require "spree_essentials/testing/test_helper"
|
14
|
+
require "spree_essential_example"
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class Spree::AssetTest < ActiveSupport::TestCase
|
4
|
+
|
5
|
+
setup do
|
6
|
+
@asset = Spree::Asset.new
|
7
|
+
end
|
8
|
+
|
9
|
+
should "return true if asset has_alt?" do
|
10
|
+
@asset.alt = "omg"
|
11
|
+
assert_equal true, @asset.has_alt?
|
12
|
+
end
|
13
|
+
|
14
|
+
should "return false unless asset has_alt?" do
|
15
|
+
assert_equal false, @asset.has_alt?
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class ExtensionTest < ActiveSupport::TestCase
|
4
|
+
|
5
|
+
def setup
|
6
|
+
SpreeEssentials.essentials.clear
|
7
|
+
end
|
8
|
+
|
9
|
+
should "have a hash as it's tab" do
|
10
|
+
tab = { :label => "Examples", :route => "admin_examples" }
|
11
|
+
assert_equal tab, SpreeEssentialExample.tab
|
12
|
+
end
|
13
|
+
|
14
|
+
should "have an array as it's subtab" do
|
15
|
+
sub_tab = [ :examples, { :match_path => '/examples' }]
|
16
|
+
assert_equal sub_tab, SpreeEssentialExample.sub_tab
|
17
|
+
end
|
18
|
+
|
19
|
+
should "start with zero essentials" do
|
20
|
+
assert_equal 0, SpreeEssentials.essentials.length
|
21
|
+
end
|
22
|
+
|
23
|
+
should "register an essential" do
|
24
|
+
SpreeEssentials.register :example, SpreeEssentialExample
|
25
|
+
assert_equal 1, SpreeEssentials.essentials.length
|
26
|
+
end
|
27
|
+
|
28
|
+
should "check if spree essentials has an extension" do
|
29
|
+
SpreeEssentials.register :example, SpreeEssentialExample
|
30
|
+
assert SpreeEssentials.has?(:example)
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class Spree::Admin::SpreeEssentialsHelperTest < ActionView::TestCase
|
4
|
+
|
5
|
+
setup do
|
6
|
+
setup_with_controller
|
7
|
+
visit "/admin"
|
8
|
+
end
|
9
|
+
|
10
|
+
def spree
|
11
|
+
Spree::Core::Engine.routes.url_helpers
|
12
|
+
end
|
13
|
+
|
14
|
+
def request
|
15
|
+
@request
|
16
|
+
end
|
17
|
+
|
18
|
+
# not sure why setting the request_uri doesn't also update @fullpath
|
19
|
+
def visit(path="/")
|
20
|
+
@request.request_uri = path
|
21
|
+
@request.instance_variable_set "@fullpath", path
|
22
|
+
@request
|
23
|
+
end
|
24
|
+
|
25
|
+
should "build admin contents tab" do
|
26
|
+
assert_equal "<li><a href=\"/admin/uploads\">Content</a></li>", contents_tab
|
27
|
+
end
|
28
|
+
|
29
|
+
should "add selected class to admin contents tab" do
|
30
|
+
visit "/admin/uploads"
|
31
|
+
assert_equal "<li class=\"selected\"><a href=\"/admin/uploads\">Content</a></li>", contents_tab
|
32
|
+
end
|
33
|
+
|
34
|
+
should "have markdown helper link" do
|
35
|
+
assert_equal "<em class=\"small markdown-helper\">Parsed With <a href=\"http://daringfireball.net/projects/markdown/basics\" onclick=\"window.open(this.href); return false\">Markdown</a></em>", markdown_helper
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class Spree::UploadTest < ActiveSupport::TestCase
|
4
|
+
|
5
|
+
def setup
|
6
|
+
Spree::Upload.destroy_all
|
7
|
+
@jpgs = Dir[File.expand_path("../../../support/files/*.jpg", __FILE__)]
|
8
|
+
@pngs = Dir[File.expand_path("../../../support/files/*.png", __FILE__)]
|
9
|
+
@gifs = Dir[File.expand_path("../../../support/files/*.gif", __FILE__)]
|
10
|
+
end
|
11
|
+
|
12
|
+
should have_attached_file(:attachment)
|
13
|
+
|
14
|
+
should "validate attachment" do
|
15
|
+
upload = Spree::Upload.new
|
16
|
+
assert !upload.valid?
|
17
|
+
assert !upload.save
|
18
|
+
end
|
19
|
+
|
20
|
+
should "create an upload" do
|
21
|
+
upload = Spree::Upload.new(:attachment => File.open(File.expand_path(@jpgs.shuffle.first)))
|
22
|
+
assert upload.valid?
|
23
|
+
assert_difference "Spree::Upload.count", +1 do
|
24
|
+
assert upload.save
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
context "with an existing upload" do
|
29
|
+
|
30
|
+
setup do
|
31
|
+
@jpg = Spree::Upload.create(:alt => "jpg", :attachment => File.open(File.expand_path(@jpgs.shuffle.first)))
|
32
|
+
@png = Spree::Upload.create(:alt => "png", :attachment => File.open(File.expand_path(@pngs.shuffle.first)))
|
33
|
+
@gif = Spree::Upload.create(:alt => "gif", :attachment => File.open(File.expand_path(@gifs.shuffle.first)))
|
34
|
+
@pdf = Spree::Upload.create(:alt => "pdf", :attachment => File.open(File.expand_path("../../../support/files/test.pdf", __FILE__)))
|
35
|
+
@zip = Spree::Upload.create(:alt => "zip", :attachment => File.open(File.expand_path("../../../support/files/test.zip", __FILE__)))
|
36
|
+
end
|
37
|
+
|
38
|
+
should "be image content" do
|
39
|
+
[@jpg, @png, @gif].each do |upload|
|
40
|
+
assert upload.image_content?
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
should "not be image content" do
|
45
|
+
[@pdf, @zip].each do |upload|
|
46
|
+
assert !upload.image_content?
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class DatetimeValidatorTest < ActiveSupport::TestCase
|
4
|
+
|
5
|
+
class ModelWithDate
|
6
|
+
include ActiveModel::Validations
|
7
|
+
attr_accessor :timestamp
|
8
|
+
validates :timestamp, :datetime => true
|
9
|
+
end
|
10
|
+
|
11
|
+
setup do
|
12
|
+
@record = ModelWithDate.new
|
13
|
+
end
|
14
|
+
|
15
|
+
[ "1/1/2012", "1/1/12", "1-1-12", "12-1-1", "Jan 1, 2012", "January 1 2012" ].each do |date|
|
16
|
+
should "validate #{date} as valid" do
|
17
|
+
@record.timestamp = date
|
18
|
+
assert @record.valid?
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
[ "1", "dec 1" "11 111 11", "2012-1", "99/99", "tomorrow", "NOW" ].each do |date|
|
23
|
+
should "validate #{date} as invalid" do
|
24
|
+
@record.timestamp = date
|
25
|
+
assert_equal false, @record.valid?
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_essentials
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.0.
|
4
|
+
version: 0.4.0.rc3
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,85 +9,85 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-03-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
16
|
-
requirement: &
|
15
|
+
name: spree_core
|
16
|
+
requirement: &70328707839000 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.0.0
|
21
|
+
version: 1.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70328707839000
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rdiscount
|
27
|
-
requirement: &
|
27
|
+
requirement: &70328707838040 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.6.8
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70328707838040
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: shoulda
|
38
|
-
requirement: &
|
38
|
+
requirement: &70328707837140 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ~>
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 3.0.0
|
43
|
+
version: 3.0.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70328707837140
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: dummier
|
49
|
-
requirement: &
|
49
|
+
requirement: &70328707836100 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.3.0
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70328707836100
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: factory_girl
|
60
|
-
requirement: &
|
60
|
+
requirement: &70328707835580 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
|
-
- -
|
63
|
+
- - ~>
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 2.
|
65
|
+
version: 2.6.0
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70328707835580
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: capybara
|
71
|
-
requirement: &
|
71
|
+
requirement: &70328707835040 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ~>
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: 1.1.2
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70328707835040
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: sqlite3
|
82
|
-
requirement: &
|
82
|
+
requirement: &70328707834520 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
|
-
- -
|
85
|
+
- - ~>
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: 1.3.4
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70328707834520
|
91
91
|
description: Spree Essentials provides a base for several other Spree Commerce extensions.
|
92
92
|
The idea is to provide other extensions with common functionality such as an asset-upload
|
93
93
|
interface, a markdown editor, and a common admin-navigation tab.
|
@@ -97,16 +97,14 @@ executables: []
|
|
97
97
|
extensions: []
|
98
98
|
extra_rdoc_files: []
|
99
99
|
files:
|
100
|
-
-
|
100
|
+
- .gitignore
|
101
|
+
- .travis.yml
|
102
|
+
- CHANGELOG.md
|
103
|
+
- Gemfile
|
101
104
|
- LICENSE
|
102
|
-
-
|
103
|
-
-
|
104
|
-
-
|
105
|
-
- lib/generators/spree_essentials/install_generator.rb
|
106
|
-
- lib/generators/templates/db/migrate/add_attachment_file_size_to_assets.rb
|
107
|
-
- lib/spree_essentials/test_helper.rb
|
108
|
-
- lib/spree_essentials/version.rb
|
109
|
-
- lib/spree_essentials.rb
|
105
|
+
- README.md
|
106
|
+
- Rakefile
|
107
|
+
- Versionfile
|
110
108
|
- app/assets/images/admin/icons/pages.png
|
111
109
|
- app/assets/images/blog/rss.png
|
112
110
|
- app/assets/images/markitup/bg-container.png
|
@@ -132,17 +130,19 @@ files:
|
|
132
130
|
- app/assets/images/markitup/preview.png
|
133
131
|
- app/assets/images/markitup/quotes.png
|
134
132
|
- app/assets/images/markitup/submenu.png
|
135
|
-
- app/assets/javascripts/date.js
|
136
|
-
- app/assets/javascripts/jquery.autodate.js
|
137
|
-
- app/assets/javascripts/jquery.markitup.js
|
138
|
-
- app/assets/javascripts/markdown.set.js
|
139
|
-
- app/assets/
|
133
|
+
- app/assets/javascripts/admin/date.js
|
134
|
+
- app/assets/javascripts/admin/jquery.autodate.js
|
135
|
+
- app/assets/javascripts/admin/jquery.markitup.js
|
136
|
+
- app/assets/javascripts/admin/markdown.set.js
|
137
|
+
- app/assets/javascripts/admin/spree_essentials.js
|
138
|
+
- app/assets/stylesheets/admin/markitup.css.erb
|
139
|
+
- app/assets/stylesheets/admin/spree_essentials.css
|
140
140
|
- app/controllers/spree/admin/markdown_controller.rb
|
141
141
|
- app/controllers/spree/admin/uploads_controller.rb
|
142
142
|
- app/helpers/spree/admin/spree_essentials_helper.rb
|
143
143
|
- app/models/spree/asset_decorator.rb
|
144
144
|
- app/models/spree/upload.rb
|
145
|
-
- app/overrides/spree_essentials.rb
|
145
|
+
- app/overrides/admin/spree_essentials.rb
|
146
146
|
- app/validators/datetime_validator.rb
|
147
147
|
- app/views/spree/admin/shared/_contents_sub_menu.html.erb
|
148
148
|
- app/views/spree/admin/shared/_contents_tab.html.erb
|
@@ -151,7 +151,60 @@ files:
|
|
151
151
|
- app/views/spree/admin/uploads/index.html.erb
|
152
152
|
- app/views/spree/admin/uploads/new.html.erb
|
153
153
|
- app/views/spree/admin/uploads/picker.html.erb
|
154
|
-
-
|
154
|
+
- config/locales/en.yml
|
155
|
+
- config/routes.rb
|
156
|
+
- db/migrate/20120306185618_add_attachment_file_size_to_assets.rb
|
157
|
+
- lib/generators/spree_essentials/install_generator.rb
|
158
|
+
- lib/spree_essentials.rb
|
159
|
+
- lib/spree_essentials/engine.rb
|
160
|
+
- lib/spree_essentials/testing/integration_case.rb
|
161
|
+
- lib/spree_essentials/testing/test_helper.rb
|
162
|
+
- lib/spree_essentials/version.rb
|
163
|
+
- spree_essentials.gemspec
|
164
|
+
- test/dummy_hooks/after_migrate.rb.sample
|
165
|
+
- test/dummy_hooks/before_migrate.rb
|
166
|
+
- test/dummy_hooks/templates/admin/all.css
|
167
|
+
- test/dummy_hooks/templates/admin/all.js
|
168
|
+
- test/dummy_hooks/templates/spree_user_error_fix.rb
|
169
|
+
- test/dummy_hooks/templates/store/all.css
|
170
|
+
- test/dummy_hooks/templates/store/all.js
|
171
|
+
- test/dummy_hooks/templates/store/screen.css
|
172
|
+
- test/integration/spree/admin/extension_integration_test.rb
|
173
|
+
- test/integration/spree/admin/markdown_integration_test.rb
|
174
|
+
- test/integration/spree/admin/upload_integration_test.rb
|
175
|
+
- test/integration_test_helper.rb
|
176
|
+
- test/spree_essential_example/README.md
|
177
|
+
- test/spree_essential_example/app/controllers/spree/admin/examples_controller.rb
|
178
|
+
- test/spree_essential_example/app/models/spree/example.rb
|
179
|
+
- test/spree_essential_example/app/views/spree/admin/examples/_form.html.erb
|
180
|
+
- test/spree_essential_example/app/views/spree/admin/examples/edit.html.erb
|
181
|
+
- test/spree_essential_example/app/views/spree/admin/examples/index.html.erb
|
182
|
+
- test/spree_essential_example/app/views/spree/admin/examples/new.html.erb
|
183
|
+
- test/spree_essential_example/app/views/spree/admin/examples/show.html.erb
|
184
|
+
- test/spree_essential_example/config/routes.rb
|
185
|
+
- test/spree_essential_example/db/migrate/20120307043727_create_spree_examples.rb
|
186
|
+
- test/spree_essential_example/lib/generators/spree_essentials/example_generator.rb
|
187
|
+
- test/spree_essential_example/lib/spree_essential_example.rb
|
188
|
+
- test/spree_essential_example/lib/spree_essential_example/engine.rb
|
189
|
+
- test/spree_essential_example/lib/spree_essential_example/version.rb
|
190
|
+
- test/spree_essential_example/spree_essential_example.gemspec
|
191
|
+
- test/support/files/1.gif
|
192
|
+
- test/support/files/1.jpg
|
193
|
+
- test/support/files/1.png
|
194
|
+
- test/support/files/2.gif
|
195
|
+
- test/support/files/2.jpg
|
196
|
+
- test/support/files/2.png
|
197
|
+
- test/support/files/3.gif
|
198
|
+
- test/support/files/3.jpg
|
199
|
+
- test/support/files/3.png
|
200
|
+
- test/support/files/test.pdf
|
201
|
+
- test/support/files/test.zip
|
202
|
+
- test/test_helper.rb
|
203
|
+
- test/unit/spree/asset_test.rb
|
204
|
+
- test/unit/spree/extension_test.rb
|
205
|
+
- test/unit/spree/helpers/admin/spree_essentials_helper_test.rb
|
206
|
+
- test/unit/spree/upload_test.rb
|
207
|
+
- test/unit/validators/datetime_validator_test.rb
|
155
208
|
homepage: https://github.com/citrus/spree_essentials
|
156
209
|
licenses: []
|
157
210
|
post_install_message:
|
@@ -166,7 +219,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
166
219
|
version: '0'
|
167
220
|
segments:
|
168
221
|
- 0
|
169
|
-
hash: -
|
222
|
+
hash: -4444010509274802416
|
170
223
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
224
|
none: false
|
172
225
|
requirements:
|
@@ -175,9 +228,53 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
228
|
version: 1.3.1
|
176
229
|
requirements: []
|
177
230
|
rubyforge_project:
|
178
|
-
rubygems_version: 1.8.
|
231
|
+
rubygems_version: 1.8.11
|
179
232
|
signing_key:
|
180
233
|
specification_version: 3
|
181
234
|
summary: Spree Essentials provides a base for several other Spree Commerce extensions.
|
182
235
|
See readme for details...
|
183
|
-
test_files:
|
236
|
+
test_files:
|
237
|
+
- test/dummy_hooks/after_migrate.rb.sample
|
238
|
+
- test/dummy_hooks/before_migrate.rb
|
239
|
+
- test/dummy_hooks/templates/admin/all.css
|
240
|
+
- test/dummy_hooks/templates/admin/all.js
|
241
|
+
- test/dummy_hooks/templates/spree_user_error_fix.rb
|
242
|
+
- test/dummy_hooks/templates/store/all.css
|
243
|
+
- test/dummy_hooks/templates/store/all.js
|
244
|
+
- test/dummy_hooks/templates/store/screen.css
|
245
|
+
- test/integration/spree/admin/extension_integration_test.rb
|
246
|
+
- test/integration/spree/admin/markdown_integration_test.rb
|
247
|
+
- test/integration/spree/admin/upload_integration_test.rb
|
248
|
+
- test/integration_test_helper.rb
|
249
|
+
- test/spree_essential_example/README.md
|
250
|
+
- test/spree_essential_example/app/controllers/spree/admin/examples_controller.rb
|
251
|
+
- test/spree_essential_example/app/models/spree/example.rb
|
252
|
+
- test/spree_essential_example/app/views/spree/admin/examples/_form.html.erb
|
253
|
+
- test/spree_essential_example/app/views/spree/admin/examples/edit.html.erb
|
254
|
+
- test/spree_essential_example/app/views/spree/admin/examples/index.html.erb
|
255
|
+
- test/spree_essential_example/app/views/spree/admin/examples/new.html.erb
|
256
|
+
- test/spree_essential_example/app/views/spree/admin/examples/show.html.erb
|
257
|
+
- test/spree_essential_example/config/routes.rb
|
258
|
+
- test/spree_essential_example/db/migrate/20120307043727_create_spree_examples.rb
|
259
|
+
- test/spree_essential_example/lib/generators/spree_essentials/example_generator.rb
|
260
|
+
- test/spree_essential_example/lib/spree_essential_example.rb
|
261
|
+
- test/spree_essential_example/lib/spree_essential_example/engine.rb
|
262
|
+
- test/spree_essential_example/lib/spree_essential_example/version.rb
|
263
|
+
- test/spree_essential_example/spree_essential_example.gemspec
|
264
|
+
- test/support/files/1.gif
|
265
|
+
- test/support/files/1.jpg
|
266
|
+
- test/support/files/1.png
|
267
|
+
- test/support/files/2.gif
|
268
|
+
- test/support/files/2.jpg
|
269
|
+
- test/support/files/2.png
|
270
|
+
- test/support/files/3.gif
|
271
|
+
- test/support/files/3.jpg
|
272
|
+
- test/support/files/3.png
|
273
|
+
- test/support/files/test.pdf
|
274
|
+
- test/support/files/test.zip
|
275
|
+
- test/test_helper.rb
|
276
|
+
- test/unit/spree/asset_test.rb
|
277
|
+
- test/unit/spree/extension_test.rb
|
278
|
+
- test/unit/spree/helpers/admin/spree_essentials_helper_test.rb
|
279
|
+
- test/unit/spree/upload_test.rb
|
280
|
+
- test/unit/validators/datetime_validator_test.rb
|