locomotivecms_wagon 2.0.0.pre.alpha.2 → 2.0.0.pre.alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/generators/blank/Gemfile.tt +5 -5
- data/generators/blank/app/views/pages/404.liquid +2 -2
- data/generators/blank/app/views/pages/404.liquid.haml +2 -2
- data/generators/blank/config/site.yml.tt +1 -6
- data/generators/bootstrap3/config/site.yml.tt +0 -5
- data/generators/foundation5/config/site.yml.tt +1 -6
- data/lib/locomotive/wagon/cli.rb +8 -8
- data/lib/locomotive/wagon/commands/push_command.rb +5 -9
- data/lib/locomotive/wagon/commands/serve_command.rb +4 -1
- data/lib/locomotive/wagon/decorators/page_decorator.rb +5 -1
- data/lib/locomotive/wagon/decorators/site_decorator.rb +8 -1
- data/lib/locomotive/wagon/middlewares/error_page.rb +74 -0
- data/lib/locomotive/wagon/tools/listen.rb +14 -1
- data/lib/locomotive/wagon/version.rb +1 -1
- data/lib/locomotive/wagon.rb +3 -3
- data/locomotivecms_wagon.gemspec +1 -1
- data/spec/fixtures/blog/app/views/pages/404.liquid +1 -1
- data/spec/fixtures/cassettes/authenticate.yml +79 -30
- data/spec/fixtures/cassettes/push.yml +8201 -8197
- data/spec/integration/cli_spec.rb +1 -1
- data/spec/integration/commands/push_command_spec.rb +2 -2
- metadata +5 -4
@@ -12,8 +12,8 @@ describe Locomotive::Wagon::PushCommand do
|
|
12
12
|
let(:env) { 'production' }
|
13
13
|
let(:path) { default_site_path }
|
14
14
|
let(:shell) { Thor::Shell::Color.new }
|
15
|
-
let(:options) { {
|
16
|
-
let(:command) { described_class.new(env, path, options) }
|
15
|
+
let(:options) { { data: true, verbose: true } }
|
16
|
+
let(:command) { described_class.new(env, path, options, shell) }
|
17
17
|
|
18
18
|
describe '#push' do
|
19
19
|
|
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.pre.alpha.
|
4
|
+
version: 2.0.0.pre.alpha.3
|
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-05-
|
12
|
+
date: 2015-05-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -101,14 +101,14 @@ dependencies:
|
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 1.0.0.pre.alpha.
|
104
|
+
version: 1.0.0.pre.alpha.2
|
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.pre.alpha.
|
111
|
+
version: 1.0.0.pre.alpha.2
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
113
|
name: listen
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
@@ -534,6 +534,7 @@ files:
|
|
534
534
|
- lib/locomotive/wagon/generators/site/line_case.rb
|
535
535
|
- lib/locomotive/wagon/generators/site/unzip.rb
|
536
536
|
- lib/locomotive/wagon/generators/snippet.rb
|
537
|
+
- lib/locomotive/wagon/middlewares/error_page.rb
|
537
538
|
- lib/locomotive/wagon/tools/deployment_connection.rb
|
538
539
|
- lib/locomotive/wagon/tools/hosting_api.rb
|
539
540
|
- lib/locomotive/wagon/tools/listen.rb
|