locomotivecms_wagon 2.0.0.rc2 → 2.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/generators/{bootstrap3 → bootstrap}/Gemfile.tt +0 -0
- data/generators/{bootstrap3 → bootstrap}/app/content_types/.empty_directory +0 -0
- data/generators/bootstrap/app/views/pages/404.liquid +18 -0
- data/generators/bootstrap/app/views/pages/404.liquid.haml +14 -0
- data/generators/bootstrap/app/views/pages/index.liquid +31 -0
- data/generators/bootstrap/app/views/pages/index.liquid.haml +25 -0
- data/generators/bootstrap/app/views/pages/layouts/default.liquid +31 -0
- data/generators/bootstrap/app/views/pages/layouts/default.liquid.haml +30 -0
- data/generators/bootstrap/app/views/pages/layouts/simple.liquid +36 -0
- data/generators/bootstrap/app/views/pages/layouts/simple.liquid.haml +29 -0
- data/generators/bootstrap/app/views/snippets/footer.liquid +5 -0
- data/generators/bootstrap/app/views/snippets/footer.liquid.haml +3 -0
- data/generators/bootstrap/app/views/snippets/nav.liquid +26 -0
- data/generators/bootstrap/app/views/snippets/nav.liquid.haml +19 -0
- data/generators/{bootstrap3 → bootstrap}/config/deploy.yml +0 -0
- data/generators/bootstrap/config/site.yml.tt +1 -6
- data/generators/{bootstrap3 → bootstrap}/config/translations.yml +0 -0
- data/generators/{bootstrap3 → bootstrap}/data/.empty_directory +0 -0
- data/generators/{bootstrap3 → bootstrap}/icon.png +0 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.svg +288 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
- data/generators/{bootstrap3/public/samples → bootstrap/public/images}/favicon.png +0 -0
- data/generators/bootstrap/public/javascripts/application.js +2 -0
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/affix.js +60 -35
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/alert.js +15 -9
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/button.js +33 -20
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/carousel.js +79 -47
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/collapse.js +84 -43
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/dropdown.js +64 -46
- data/generators/bootstrap/public/javascripts/bootstrap/modal.js +337 -0
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/popover.js +12 -14
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/scrollspy.js +57 -38
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/tab.js +54 -24
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/tooltip.js +202 -87
- data/generators/{bootstrap3 → bootstrap}/public/javascripts/bootstrap/transition.js +19 -8
- data/generators/bootstrap/public/javascripts/bootstrap.min.js +7 -0
- data/generators/bootstrap/public/javascripts/jquery.min.js +5 -0
- data/generators/bootstrap/public/stylesheets/application.css +7 -0
- data/generators/bootstrap/public/stylesheets/application.scss +7 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_alerts.scss +9 -3
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_badges.scss +26 -13
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_breadcrumbs.scss +3 -1
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_button-groups.scss +32 -14
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_buttons.scss +22 -13
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_carousel.scss +43 -6
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_close.scss +1 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_code.scss +7 -1
- data/generators/bootstrap/public/stylesheets/bootstrap/_component-animations.scss +37 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_dropdowns.scss +12 -9
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_forms.scss +240 -65
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_glyphicons.scss +83 -9
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_grid.scss +4 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_input-groups.scss +7 -2
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_jumbotron.scss +12 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_labels.scss +11 -9
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_list-group.scss +32 -12
- data/generators/bootstrap/public/stylesheets/bootstrap/_media.scss +66 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/_mixins.scss +40 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_modals.scss +18 -7
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_navbar.scss +75 -33
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_navs.scss +4 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_normalize.scss +29 -28
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_pager.scss +2 -3
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_pagination.scss +4 -3
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_panels.scss +40 -10
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_popovers.scss +6 -8
- data/generators/bootstrap/public/stylesheets/bootstrap/_print.scss +101 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_progress-bars.scss +13 -6
- data/generators/bootstrap/public/stylesheets/bootstrap/_responsive-embed.scss +35 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/_responsive-utilities.scss +179 -0
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_scaffolding.scss +31 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_tables.scss +17 -16
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_theme.scss +57 -13
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_thumbnails.scss +2 -2
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_tooltip.scss +13 -7
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_type.scss +38 -24
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_utilities.scss +3 -4
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_variables.scss +86 -47
- data/generators/{bootstrap3 → bootstrap}/public/stylesheets/bootstrap/_wells.scss +0 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_background-variant.scss +12 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_buttons.scss +68 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_forms.scss +88 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_grid.scss +122 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_image.scss +33 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_labels.scss +12 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_list-group.scss +32 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_pagination.scss +24 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_panels.scss +24 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_reset-text.scss +18 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_resize.scss +6 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_size.scss +10 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_text-emphasis.scss +12 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
- data/generators/bootstrap/public/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
- data/generators/bootstrap/public/stylesheets/bootstrap.css +5 -0
- data/generators/{bootstrap3/public/stylesheets/bootstrap.css.scss → bootstrap/public/stylesheets/bootstrap.scss} +16 -2
- data/lib/locomotive/wagon/cli.rb +3 -3
- data/lib/locomotive/wagon/commands/authenticate_command.rb +2 -1
- data/lib/locomotive/wagon/commands/concerns/spinner_concern.rb +29 -0
- data/lib/locomotive/wagon/commands/pull_command.rb +18 -3
- data/lib/locomotive/wagon/commands/push_command.rb +28 -4
- data/lib/locomotive/wagon/commands/sync_command.rb +21 -6
- data/lib/locomotive/wagon/commands/sync_sub_commands/sync_pages_command.rb +27 -3
- data/lib/locomotive/wagon/generators/site/{bootstrap3.rb → bootstrap.rb} +12 -6
- data/lib/locomotive/wagon/generators/site.rb +1 -1
- data/lib/locomotive/wagon/tools/listen.rb +1 -1
- data/lib/locomotive/wagon/version.rb +1 -1
- data/lib/locomotive/wagon.rb +2 -2
- data/locomotivecms_wagon.gemspec +3 -2
- data/spec/unit/decorators/theme_asset_decorator_spec.rb +10 -0
- metadata +124 -90
- data/generators/bootstrap3/app/views/pages/404.liquid +0 -13
- data/generators/bootstrap3/app/views/pages/404.liquid.haml +0 -10
- data/generators/bootstrap3/app/views/pages/index.liquid +0 -738
- data/generators/bootstrap3/app/views/pages/index.liquid.haml +0 -1018
- data/generators/bootstrap3/app/views/snippets/footer.liquid +0 -3
- data/generators/bootstrap3/app/views/snippets/footer.liquid.haml +0 -2
- data/generators/bootstrap3/config/site.yml.tt +0 -28
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.eot +0 -0
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.svg +0 -229
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.woff +0 -0
- data/generators/bootstrap3/public/images/.empty_directory +0 -1
- data/generators/bootstrap3/public/javascripts/bootstrap/modal.js +0 -243
- data/generators/bootstrap3/public/javascripts/bootstrap.min.js +0 -12
- data/generators/bootstrap3/public/samples/apple-touch-icon-114x114-precomposed.png +0 -0
- data/generators/bootstrap3/public/samples/apple-touch-icon-144x144-precomposed.png +0 -0
- data/generators/bootstrap3/public/samples/apple-touch-icon-72x72-precomposed.png +0 -0
- data/generators/bootstrap3/public/samples/apple-touch-icon-precomposed.png +0 -0
- data/generators/bootstrap3/public/stylesheets/application.css +0 -1
- data/generators/bootstrap3/public/stylesheets/application.css.scss +0 -8
- data/generators/bootstrap3/public/stylesheets/bootstrap/_component-animations.scss +0 -29
- data/generators/bootstrap3/public/stylesheets/bootstrap/_media.scss +0 -56
- data/generators/bootstrap3/public/stylesheets/bootstrap/_mixins.scss +0 -947
- data/generators/bootstrap3/public/stylesheets/bootstrap/_print.scss +0 -101
- data/generators/bootstrap3/public/stylesheets/bootstrap/_responsive-utilities.scss +0 -74
- data/generators/bootstrap3/public/stylesheets/bootstrap/bootstrap.css.scss +0 -49
- data/generators/bootstrap3/public/stylesheets/bootstrap.css +0 -5784
- data/lib/locomotive/wagon/generators/site/bootstrap2.rb +0 -34
@@ -18,23 +18,33 @@ module Locomotive::Wagon
|
|
18
18
|
include ApiConcern
|
19
19
|
include DeployFileConcern
|
20
20
|
include InstrumentationConcern
|
21
|
+
include SpinnerConcern
|
21
22
|
|
22
23
|
def self.pull(env, path, options, shell)
|
23
24
|
self.new(env, path, options, shell).pull
|
24
25
|
end
|
25
26
|
|
26
27
|
def pull
|
27
|
-
|
28
|
+
if options[:verbose]
|
29
|
+
PullLogger.new
|
30
|
+
_pull
|
31
|
+
else
|
32
|
+
show_wait_spinner('Pulling...') { _pull }
|
33
|
+
end
|
34
|
+
end
|
28
35
|
|
36
|
+
private
|
37
|
+
|
38
|
+
def _pull
|
29
39
|
api_client = api_site_client(connection_information)
|
30
40
|
site = api_client.current_site.get
|
31
41
|
|
32
42
|
each_resource do |klass|
|
33
43
|
klass.pull(api_client, site, path)
|
34
44
|
end
|
35
|
-
end
|
36
45
|
|
37
|
-
|
46
|
+
print_result_message
|
47
|
+
end
|
38
48
|
|
39
49
|
def each_resource
|
40
50
|
RESOURCES.each do |name|
|
@@ -50,6 +60,11 @@ module Locomotive::Wagon
|
|
50
60
|
read_deploy_settings(self.env, self.path)
|
51
61
|
end
|
52
62
|
|
63
|
+
def print_result_message
|
64
|
+
shell.say "\n\nThe templates, theme assets and content have been pulled from the remote version.", :green
|
65
|
+
true
|
66
|
+
end
|
67
|
+
|
53
68
|
end
|
54
69
|
|
55
70
|
end
|
@@ -22,6 +22,7 @@ module Locomotive::Wagon
|
|
22
22
|
include DeployFileConcern
|
23
23
|
include SteamConcern
|
24
24
|
include InstrumentationConcern
|
25
|
+
include SpinnerConcern
|
25
26
|
|
26
27
|
attr_accessor :platform_url, :credentials
|
27
28
|
|
@@ -30,8 +31,17 @@ module Locomotive::Wagon
|
|
30
31
|
end
|
31
32
|
|
32
33
|
def push
|
33
|
-
|
34
|
+
if options[:verbose]
|
35
|
+
PushLogger.new
|
36
|
+
_push
|
37
|
+
else
|
38
|
+
show_wait_spinner('Deploying...') { _push }
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
private
|
34
43
|
|
44
|
+
def _push
|
35
45
|
require_misc_gems
|
36
46
|
|
37
47
|
api_client = build_api_site_client(connection_information)
|
@@ -43,9 +53,9 @@ module Locomotive::Wagon
|
|
43
53
|
each_resource do |klass|
|
44
54
|
klass.push(api_client, steam_services, content_assets_pusher, remote_site)
|
45
55
|
end
|
46
|
-
end
|
47
56
|
|
48
|
-
|
57
|
+
print_result_message
|
58
|
+
end
|
49
59
|
|
50
60
|
# To push all the other resources, the big requirement is to
|
51
61
|
# have the same locales between the local site and the remote one.
|
@@ -96,7 +106,7 @@ module Locomotive::Wagon
|
|
96
106
|
# get an instance of the Steam services in order to load the information about the site (SiteRepository)
|
97
107
|
steam_services.current_site.tap do |site|
|
98
108
|
# ask for a handle if not found (blank: random one)
|
99
|
-
site[:handle] ||= shell.try(:ask, "What is the handle of your site?")
|
109
|
+
site[:handle] ||= shell.try(:ask, "What is the handle of your site? (default: a random one)")
|
100
110
|
|
101
111
|
# create the site
|
102
112
|
attributes = SiteDecorator.new(site).to_hash
|
@@ -150,6 +160,20 @@ module Locomotive::Wagon
|
|
150
160
|
Bundler.require 'misc'
|
151
161
|
end
|
152
162
|
|
163
|
+
def print_result_message
|
164
|
+
shell.say "\n\nYour site has been deployed.", :green
|
165
|
+
|
166
|
+
if remote_site.respond_to?(:preview_url)
|
167
|
+
shell.say "\nTo preview your site, visit: #{remote_site.preview_url.light_white}"
|
168
|
+
end
|
169
|
+
|
170
|
+
if remote_site.respond_to?(:sign_in_url)
|
171
|
+
shell.say "To edit the content of your site, visit: #{remote_site.sign_in_url.light_white}"
|
172
|
+
end
|
173
|
+
|
174
|
+
true
|
175
|
+
end
|
176
|
+
|
153
177
|
end
|
154
178
|
|
155
179
|
end
|
@@ -13,30 +13,40 @@ require_relative_all 'sync_sub_commands'
|
|
13
13
|
|
14
14
|
module Locomotive::Wagon
|
15
15
|
|
16
|
-
class SyncCommand < Struct.new(:env, :path, :options)
|
16
|
+
class SyncCommand < Struct.new(:env, :path, :options, :shell)
|
17
17
|
|
18
18
|
RESOURCES = %w(pages content_entries translations).freeze
|
19
19
|
|
20
20
|
include ApiConcern
|
21
21
|
include DeployFileConcern
|
22
22
|
include InstrumentationConcern
|
23
|
+
include SpinnerConcern
|
23
24
|
|
24
|
-
def self.sync(env, path, options)
|
25
|
-
self.new(env, path, options).sync
|
25
|
+
def self.sync(env, path, options, shell)
|
26
|
+
self.new(env, path, options, shell).sync
|
26
27
|
end
|
27
28
|
|
28
29
|
def sync
|
29
|
-
|
30
|
+
if options[:verbose]
|
31
|
+
SyncLogger.new
|
32
|
+
_sync
|
33
|
+
else
|
34
|
+
show_wait_spinner('Syncing content...') { _sync }
|
35
|
+
end
|
36
|
+
end
|
30
37
|
|
38
|
+
private
|
39
|
+
|
40
|
+
def _sync
|
31
41
|
api_client = api_site_client(connection_information)
|
32
42
|
site = api_client.current_site.get
|
33
43
|
|
34
44
|
each_resource do |klass|
|
35
45
|
klass.sync(api_client, site, path)
|
36
46
|
end
|
37
|
-
end
|
38
47
|
|
39
|
-
|
48
|
+
print_result_message
|
49
|
+
end
|
40
50
|
|
41
51
|
def each_resource
|
42
52
|
RESOURCES.each do |name|
|
@@ -52,6 +62,11 @@ module Locomotive::Wagon
|
|
52
62
|
read_deploy_settings(self.env, self.path)
|
53
63
|
end
|
54
64
|
|
65
|
+
def print_result_message
|
66
|
+
shell.say "\n\nThe content of your local Wagon site has been updated.", :green
|
67
|
+
true
|
68
|
+
end
|
69
|
+
|
55
70
|
end
|
56
71
|
|
57
72
|
end
|
@@ -5,10 +5,18 @@ module Locomotive::Wagon
|
|
5
5
|
include Locomotive::Wagon::BaseConcern
|
6
6
|
|
7
7
|
def write_page(page, locale = nil)
|
8
|
-
|
9
|
-
new_content = replace_editable_elements(page_filepath(page, locale), dump(attributes))
|
8
|
+
filepath = page_filepath(page, locale)
|
10
9
|
|
11
|
-
|
10
|
+
if File.exists?(filepath)
|
11
|
+
# only copy the content of the editable elements
|
12
|
+
if attributes = editable_elements_attributes(page, locale)
|
13
|
+
new_content = replace_editable_elements(filepath, dump(attributes))
|
14
|
+
|
15
|
+
write_to_file(filepath, new_content)
|
16
|
+
end
|
17
|
+
else
|
18
|
+
# pull the whole page
|
19
|
+
super
|
12
20
|
end
|
13
21
|
end
|
14
22
|
|
@@ -36,6 +44,22 @@ module Locomotive::Wagon
|
|
36
44
|
end
|
37
45
|
end
|
38
46
|
|
47
|
+
def page_filepath(page, locale)
|
48
|
+
fullpath = locale == default_locale ? page.fullpath : "#{fullpaths[page._id]}.#{locale}"
|
49
|
+
|
50
|
+
# HAML template?
|
51
|
+
if File.exists?(filepath = _page_filepath(fullpath, '.haml'))
|
52
|
+
return filepath
|
53
|
+
end
|
54
|
+
|
55
|
+
# simple Liquid template OR the page does not exist in the local site
|
56
|
+
_page_filepath(fullpath)
|
57
|
+
end
|
58
|
+
|
59
|
+
def _page_filepath(fullpath, additional_extension = '')
|
60
|
+
File.join('app', 'views', 'pages', fullpath + ".liquid#{additional_extension}")
|
61
|
+
end
|
62
|
+
|
39
63
|
end
|
40
64
|
|
41
65
|
end
|
@@ -3,19 +3,25 @@ module Locomotive
|
|
3
3
|
module Generators
|
4
4
|
module Site
|
5
5
|
|
6
|
-
class
|
6
|
+
class Bootstrap < Base
|
7
7
|
|
8
8
|
may_use_haml
|
9
9
|
may_use_scss
|
10
10
|
|
11
11
|
def choose_haml_over_html
|
12
12
|
if haml?
|
13
|
+
remove_file File.join(self.destination, 'app/views/pages/layouts/default.liquid')
|
14
|
+
remove_file File.join(self.destination, 'app/views/pages/layouts/simple.liquid')
|
13
15
|
remove_file File.join(self.destination, 'app/views/pages/index.liquid')
|
14
16
|
remove_file File.join(self.destination, 'app/views/pages/404.liquid')
|
17
|
+
remove_file File.join(self.destination, 'app/views/snippets/nav.liquid')
|
15
18
|
remove_file File.join(self.destination, 'app/views/snippets/footer.liquid')
|
16
19
|
else
|
20
|
+
remove_file File.join(self.destination, 'app/views/pages/layouts/default.liquid.haml')
|
21
|
+
remove_file File.join(self.destination, 'app/views/pages/layouts/simple.liquid.haml')
|
17
22
|
remove_file File.join(self.destination, 'app/views/pages/index.liquid.haml')
|
18
23
|
remove_file File.join(self.destination, 'app/views/pages/404.liquid.haml')
|
24
|
+
remove_file File.join(self.destination, 'app/views/snippets/nav.liquid.haml')
|
19
25
|
remove_file File.join(self.destination, 'app/views/snippets/footer.liquid.haml')
|
20
26
|
end
|
21
27
|
end
|
@@ -26,8 +32,8 @@ module Locomotive
|
|
26
32
|
remove_file File.join(self.destination, 'public/stylesheets/bootstrap.css')
|
27
33
|
else
|
28
34
|
remove_dir File.join(self.destination, 'public/stylesheets/bootstrap')
|
29
|
-
remove_file File.join(self.destination, 'public/stylesheets/application.
|
30
|
-
remove_file File.join(self.destination, 'public/stylesheets/bootstrap.
|
35
|
+
remove_file File.join(self.destination, 'public/stylesheets/application.scss')
|
36
|
+
remove_file File.join(self.destination, 'public/stylesheets/bootstrap.scss')
|
31
37
|
end
|
32
38
|
end
|
33
39
|
|
@@ -37,10 +43,10 @@ module Locomotive
|
|
37
43
|
|
38
44
|
end
|
39
45
|
|
40
|
-
Locomotive::Wagon::Generators::Site.register(:
|
41
|
-
A site powered by
|
46
|
+
Locomotive::Wagon::Generators::Site.register(:bootstrap, Bootstrap, %{
|
47
|
+
A site powered by Bootstrap (v3.3.5).
|
42
48
|
})
|
43
49
|
end
|
44
50
|
end
|
45
51
|
end
|
46
|
-
end
|
52
|
+
end
|
@@ -139,7 +139,7 @@ end
|
|
139
139
|
require 'locomotive/wagon/generators/site/base'
|
140
140
|
require 'locomotive/wagon/generators/site/blank'
|
141
141
|
require 'locomotive/wagon/generators/site/line_case'
|
142
|
-
require 'locomotive/wagon/generators/site/
|
142
|
+
require 'locomotive/wagon/generators/site/bootstrap'
|
143
143
|
require 'locomotive/wagon/generators/site/foundation5'
|
144
144
|
require 'locomotive/wagon/generators/site/unzip'
|
145
145
|
require 'locomotive/wagon/generators/site/cloned'
|
@@ -49,7 +49,7 @@ module Locomotive::Wagon
|
|
49
49
|
|
50
50
|
def clear_cache_for(resource, files)
|
51
51
|
keys = case resource
|
52
|
-
when :
|
52
|
+
when :site then '_sites'
|
53
53
|
when :content_entries
|
54
54
|
files.map { |f| "site_1_content_type_#{File.basename(f, '.yml')}_content_entries" }
|
55
55
|
else
|
data/lib/locomotive/wagon.rb
CHANGED
@@ -92,9 +92,9 @@ module Locomotive
|
|
92
92
|
# @param [ Hash ] connection_info The information to get connected to the remote site
|
93
93
|
# @param [ Hash ] options The options passed to the pull process
|
94
94
|
#
|
95
|
-
def self.sync(env, path, options = {})
|
95
|
+
def self.sync(env, path, options = {}, shell)
|
96
96
|
require_relative 'wagon/commands/sync_command'
|
97
|
-
Locomotive::Wagon::SyncCommand.sync(env, path, options)
|
97
|
+
Locomotive::Wagon::SyncCommand.sync(env, path, options, shell)
|
98
98
|
end
|
99
99
|
|
100
100
|
# Clone a site from a remote LocomotiveCMS engine.
|
data/locomotivecms_wagon.gemspec
CHANGED
@@ -11,6 +11,7 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.description = %q{The LocomotiveCMS wagon is a site generator for the LocomotiveCMS engine}
|
12
12
|
gem.summary = %q{The LocomotiveCMS wagon is a site generator for the LocomotiveCMS engine powered by all the efficient and modern HTML development tools (Haml, SASS, Compass, Less).}
|
13
13
|
gem.homepage = 'http://www.locomotivecms.com'
|
14
|
+
gem.license = 'MIT'
|
14
15
|
|
15
16
|
gem.files = `git ls-files`.split($/)
|
16
17
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
@@ -26,9 +27,9 @@ Gem::Specification.new do |gem|
|
|
26
27
|
gem.add_dependency 'netrc', '~> 0.10.3'
|
27
28
|
|
28
29
|
gem.add_dependency 'locomotivecms_coal', '~> 1.0.0.rc1'
|
29
|
-
gem.add_dependency 'locomotivecms_steam', '~> 1.0.0.
|
30
|
+
gem.add_dependency 'locomotivecms_steam', '~> 1.0.0.rc3'
|
30
31
|
|
31
|
-
gem.add_dependency 'listen', '~>
|
32
|
+
gem.add_dependency 'listen', '~> 3.0.4'
|
32
33
|
gem.add_dependency 'rack-livereload', '~> 0.3.15'
|
33
34
|
gem.add_dependency 'yui-compressor', '~> 0.12.0'
|
34
35
|
|
@@ -55,6 +55,16 @@ describe Locomotive::Wagon::ThemeAssetDecorator do
|
|
55
55
|
it { is_expected.to eq 'application.css' }
|
56
56
|
end
|
57
57
|
|
58
|
+
describe 'jquery.pluginXy.css' do
|
59
|
+
let(:filepath) { '/somewhere/mysite/public/stylesheets/jquery.pluginXy.css' }
|
60
|
+
it { is_expected.to eq 'jquery.pluginXy.css' }
|
61
|
+
end
|
62
|
+
|
63
|
+
describe 'jquery.pluginXy.css.scss' do
|
64
|
+
let(:filepath) { '/somewhere/mysite/public/stylesheets/jquery.pluginXy.css' }
|
65
|
+
it { is_expected.to eq 'jquery.pluginXy.css' }
|
66
|
+
end
|
67
|
+
|
58
68
|
end
|
59
69
|
|
60
70
|
describe 'js' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: locomotivecms_wagon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Didier Lafforgue
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-11-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -101,28 +101,28 @@ dependencies:
|
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 1.0.0.
|
104
|
+
version: 1.0.0.rc3
|
105
105
|
type: :runtime
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: 1.0.0.
|
111
|
+
version: 1.0.0.rc3
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
113
|
name: listen
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
118
|
+
version: 3.0.4
|
119
119
|
type: :runtime
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
123
|
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
125
|
+
version: 3.0.4
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: rack-livereload
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,87 +199,120 @@ files:
|
|
199
199
|
- generators/blank/public/javascripts/.empty_directory
|
200
200
|
- generators/blank/public/samples/.empty_directory
|
201
201
|
- generators/blank/public/stylesheets/.empty_directory
|
202
|
+
- generators/bootstrap/Gemfile.tt
|
203
|
+
- generators/bootstrap/app/content_types/.empty_directory
|
204
|
+
- generators/bootstrap/app/views/pages/404.liquid
|
205
|
+
- generators/bootstrap/app/views/pages/404.liquid.haml
|
206
|
+
- generators/bootstrap/app/views/pages/index.liquid
|
207
|
+
- generators/bootstrap/app/views/pages/index.liquid.haml
|
208
|
+
- generators/bootstrap/app/views/pages/layouts/default.liquid
|
209
|
+
- generators/bootstrap/app/views/pages/layouts/default.liquid.haml
|
210
|
+
- generators/bootstrap/app/views/pages/layouts/simple.liquid
|
211
|
+
- generators/bootstrap/app/views/pages/layouts/simple.liquid.haml
|
212
|
+
- generators/bootstrap/app/views/snippets/footer.liquid
|
213
|
+
- generators/bootstrap/app/views/snippets/footer.liquid.haml
|
214
|
+
- generators/bootstrap/app/views/snippets/nav.liquid
|
215
|
+
- generators/bootstrap/app/views/snippets/nav.liquid.haml
|
216
|
+
- generators/bootstrap/config/deploy.yml
|
202
217
|
- generators/bootstrap/config/site.yml.tt
|
203
|
-
- generators/
|
204
|
-
- generators/
|
205
|
-
- generators/
|
206
|
-
- generators/
|
207
|
-
- generators/
|
208
|
-
- generators/
|
209
|
-
- generators/
|
210
|
-
- generators/
|
211
|
-
- generators/
|
212
|
-
- generators/
|
213
|
-
- generators/
|
214
|
-
- generators/
|
215
|
-
- generators/
|
216
|
-
- generators/
|
217
|
-
- generators/
|
218
|
-
- generators/
|
219
|
-
- generators/
|
220
|
-
- generators/
|
221
|
-
- generators/
|
222
|
-
- generators/
|
223
|
-
- generators/
|
224
|
-
- generators/
|
225
|
-
- generators/
|
226
|
-
- generators/
|
227
|
-
- generators/
|
228
|
-
- generators/
|
229
|
-
- generators/
|
230
|
-
- generators/
|
231
|
-
- generators/
|
232
|
-
- generators/
|
233
|
-
- generators/
|
234
|
-
- generators/
|
235
|
-
- generators/
|
236
|
-
- generators/
|
237
|
-
- generators/
|
238
|
-
- generators/
|
239
|
-
- generators/
|
240
|
-
- generators/
|
241
|
-
- generators/
|
242
|
-
- generators/
|
243
|
-
- generators/
|
244
|
-
- generators/
|
245
|
-
- generators/
|
246
|
-
- generators/
|
247
|
-
- generators/
|
248
|
-
- generators/
|
249
|
-
- generators/
|
250
|
-
- generators/
|
251
|
-
- generators/
|
252
|
-
- generators/
|
253
|
-
- generators/
|
254
|
-
- generators/
|
255
|
-
- generators/
|
256
|
-
- generators/
|
257
|
-
- generators/
|
258
|
-
- generators/
|
259
|
-
- generators/
|
260
|
-
- generators/
|
261
|
-
- generators/
|
262
|
-
- generators/
|
263
|
-
- generators/
|
264
|
-
- generators/
|
265
|
-
- generators/
|
266
|
-
- generators/
|
267
|
-
- generators/
|
268
|
-
- generators/
|
269
|
-
- generators/
|
270
|
-
- generators/
|
271
|
-
- generators/
|
272
|
-
- generators/
|
273
|
-
- generators/
|
274
|
-
- generators/
|
275
|
-
- generators/
|
276
|
-
- generators/
|
277
|
-
- generators/
|
278
|
-
- generators/
|
279
|
-
- generators/
|
280
|
-
- generators/
|
281
|
-
- generators/
|
282
|
-
- generators/
|
218
|
+
- generators/bootstrap/config/translations.yml
|
219
|
+
- generators/bootstrap/data/.empty_directory
|
220
|
+
- generators/bootstrap/icon.png
|
221
|
+
- generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.eot
|
222
|
+
- generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.svg
|
223
|
+
- generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.ttf
|
224
|
+
- generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.woff
|
225
|
+
- generators/bootstrap/public/fonts/bootstrap/glyphicons-halflings-regular.woff2
|
226
|
+
- generators/bootstrap/public/images/favicon.png
|
227
|
+
- generators/bootstrap/public/javascripts/application.js
|
228
|
+
- generators/bootstrap/public/javascripts/bootstrap.min.js
|
229
|
+
- generators/bootstrap/public/javascripts/bootstrap/affix.js
|
230
|
+
- generators/bootstrap/public/javascripts/bootstrap/alert.js
|
231
|
+
- generators/bootstrap/public/javascripts/bootstrap/button.js
|
232
|
+
- generators/bootstrap/public/javascripts/bootstrap/carousel.js
|
233
|
+
- generators/bootstrap/public/javascripts/bootstrap/collapse.js
|
234
|
+
- generators/bootstrap/public/javascripts/bootstrap/dropdown.js
|
235
|
+
- generators/bootstrap/public/javascripts/bootstrap/modal.js
|
236
|
+
- generators/bootstrap/public/javascripts/bootstrap/popover.js
|
237
|
+
- generators/bootstrap/public/javascripts/bootstrap/scrollspy.js
|
238
|
+
- generators/bootstrap/public/javascripts/bootstrap/tab.js
|
239
|
+
- generators/bootstrap/public/javascripts/bootstrap/tooltip.js
|
240
|
+
- generators/bootstrap/public/javascripts/bootstrap/transition.js
|
241
|
+
- generators/bootstrap/public/javascripts/jquery.min.js
|
242
|
+
- generators/bootstrap/public/stylesheets/application.css
|
243
|
+
- generators/bootstrap/public/stylesheets/application.scss
|
244
|
+
- generators/bootstrap/public/stylesheets/bootstrap.css
|
245
|
+
- generators/bootstrap/public/stylesheets/bootstrap.scss
|
246
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_alerts.scss
|
247
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_badges.scss
|
248
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_breadcrumbs.scss
|
249
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_button-groups.scss
|
250
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_buttons.scss
|
251
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_carousel.scss
|
252
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_close.scss
|
253
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_code.scss
|
254
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_component-animations.scss
|
255
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_dropdowns.scss
|
256
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_forms.scss
|
257
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_glyphicons.scss
|
258
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_grid.scss
|
259
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_input-groups.scss
|
260
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_jumbotron.scss
|
261
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_labels.scss
|
262
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_list-group.scss
|
263
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_media.scss
|
264
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_mixins.scss
|
265
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_modals.scss
|
266
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_navbar.scss
|
267
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_navs.scss
|
268
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_normalize.scss
|
269
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_pager.scss
|
270
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_pagination.scss
|
271
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_panels.scss
|
272
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_popovers.scss
|
273
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_print.scss
|
274
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_progress-bars.scss
|
275
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_responsive-embed.scss
|
276
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_responsive-utilities.scss
|
277
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_scaffolding.scss
|
278
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_tables.scss
|
279
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_theme.scss
|
280
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_thumbnails.scss
|
281
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_tooltip.scss
|
282
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_type.scss
|
283
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_utilities.scss
|
284
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_variables.scss
|
285
|
+
- generators/bootstrap/public/stylesheets/bootstrap/_wells.scss
|
286
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_alerts.scss
|
287
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_background-variant.scss
|
288
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_border-radius.scss
|
289
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_buttons.scss
|
290
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_center-block.scss
|
291
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_clearfix.scss
|
292
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_forms.scss
|
293
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_gradients.scss
|
294
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_grid-framework.scss
|
295
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_grid.scss
|
296
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_hide-text.scss
|
297
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_image.scss
|
298
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_labels.scss
|
299
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_list-group.scss
|
300
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_nav-divider.scss
|
301
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_nav-vertical-align.scss
|
302
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_opacity.scss
|
303
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_pagination.scss
|
304
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_panels.scss
|
305
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_progress-bar.scss
|
306
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_reset-filter.scss
|
307
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_reset-text.scss
|
308
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_resize.scss
|
309
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_responsive-visibility.scss
|
310
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_size.scss
|
311
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_tab-focus.scss
|
312
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_table-row.scss
|
313
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_text-emphasis.scss
|
314
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_text-overflow.scss
|
315
|
+
- generators/bootstrap/public/stylesheets/bootstrap/mixins/_vendor-prefixes.scss
|
283
316
|
- generators/cloned/Gemfile.tt
|
284
317
|
- generators/cloned/app/content_types/.empty_directory
|
285
318
|
- generators/cloned/app/views/pages/.empty_directory
|
@@ -489,6 +522,7 @@ files:
|
|
489
522
|
- lib/locomotive/wagon/commands/concerns/deploy_file_concern.rb
|
490
523
|
- lib/locomotive/wagon/commands/concerns/instrumentation_concern.rb
|
491
524
|
- lib/locomotive/wagon/commands/concerns/netrc_concern.rb
|
525
|
+
- lib/locomotive/wagon/commands/concerns/spinner_concern.rb
|
492
526
|
- lib/locomotive/wagon/commands/concerns/steam_concern.rb
|
493
527
|
- lib/locomotive/wagon/commands/destroy_command.rb
|
494
528
|
- lib/locomotive/wagon/commands/generate_command.rb
|
@@ -543,8 +577,7 @@ files:
|
|
543
577
|
- lib/locomotive/wagon/generators/site.rb
|
544
578
|
- lib/locomotive/wagon/generators/site/base.rb
|
545
579
|
- lib/locomotive/wagon/generators/site/blank.rb
|
546
|
-
- lib/locomotive/wagon/generators/site/
|
547
|
-
- lib/locomotive/wagon/generators/site/bootstrap3.rb
|
580
|
+
- lib/locomotive/wagon/generators/site/bootstrap.rb
|
548
581
|
- lib/locomotive/wagon/generators/site/cloned.rb
|
549
582
|
- lib/locomotive/wagon/generators/site/foundation4.rb
|
550
583
|
- lib/locomotive/wagon/generators/site/foundation5.rb
|
@@ -660,7 +693,8 @@ files:
|
|
660
693
|
- spec/unit/decorators/site_decorator_spec.rb
|
661
694
|
- spec/unit/decorators/theme_asset_decorator_spec.rb
|
662
695
|
homepage: http://www.locomotivecms.com
|
663
|
-
licenses:
|
696
|
+
licenses:
|
697
|
+
- MIT
|
664
698
|
metadata: {}
|
665
699
|
post_install_message:
|
666
700
|
rdoc_options: []
|
@@ -678,7 +712,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
678
712
|
version: 1.3.1
|
679
713
|
requirements: []
|
680
714
|
rubyforge_project:
|
681
|
-
rubygems_version: 2.
|
715
|
+
rubygems_version: 2.5.0
|
682
716
|
signing_key:
|
683
717
|
specification_version: 4
|
684
718
|
summary: The LocomotiveCMS wagon is a site generator for the LocomotiveCMS engine
|