middleman-core 4.0.0.alpha.5 → 4.0.0.alpha.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9570d8f9765585574f06e78f6d773db42228ac92
4
- data.tar.gz: 46eb43196b0dcaa048639ae53b220fb464ec16af
3
+ metadata.gz: 6e34ff77656a24cfb0e1d05a9da94084ec6969e5
4
+ data.tar.gz: 8a3dfb3ed28cab63a63bdcde9394e7b3c4ab49c8
5
5
  SHA512:
6
- metadata.gz: acdd4d200e34be9c4e88cf3a7da30584e3a3e1af3b58d67643d63fb9b8af12aa738ebb55840b09acecc97cf2aa3d131ed3b4a6fa3a3f3046190cc8388260f3ac
7
- data.tar.gz: a8be04d81b41429ab43de894afb886877506e035283dc1a36c507d538a65139dbc5dd7536b79e13b0d9adbc24feeef557743f1803746dfb0fe01c559aa890219
6
+ metadata.gz: 8ffb4c00d0e57ed303012affd7a06644641d6546251fd7f47ea788c98981b0f6d406c041aa03df5c38db6281c6599fc50618e76678095be8ce3b3f4d4d7c2c21
7
+ data.tar.gz: 8398c13098126daa8e9c01484c0ef4f9bb317f89f2abd5a42278d3939af5edace360c7732d7e92e90ccba932cffe9830c1c843c6616a5fdc7fc6bfd47b1f1296
@@ -1,7 +1,11 @@
1
1
  Feature: Middleman CLI
2
2
 
3
3
  Scenario: Create a new project
4
- Given I run `middleman init MY_PROJECT`
4
+ When I run `middleman init MY_PROJECT` interactively
5
+ And I type "y"
6
+ And I type "y"
7
+ And I type "y"
8
+ And I type "y"
5
9
  Then the exit status should be 0
6
10
  When I cd to "MY_PROJECT"
7
11
  Then the following files should exist:
@@ -9,17 +13,19 @@ Feature: Middleman CLI
9
13
  | .gitignore |
10
14
  | config.rb |
11
15
  | source/index.html.erb |
12
- | source/images/background.png |
13
- | source/images/middleman.png |
14
16
  | source/layouts/layout.erb |
15
17
  | source/javascripts/all.js |
16
- | source/stylesheets/all.css |
17
- | source/stylesheets/normalize.css |
18
+ | source/stylesheets/site.css.scss |
19
+ | source/stylesheets/_normalize.scss |
18
20
 
19
21
  Scenario: Create a new project in the current directory
20
22
  Given a directory named "MY_PROJECT"
21
23
  When I cd to "MY_PROJECT"
22
- And I run `middleman init`
24
+ And I run `middleman init` interactively
25
+ And I type "y"
26
+ And I type "y"
27
+ And I type "y"
28
+ And I type "y"
23
29
  Then the exit status should be 0
24
30
  And the following files should exist:
25
31
  | Gemfile |
@@ -27,13 +33,25 @@ Feature: Middleman CLI
27
33
  | source/index.html.erb |
28
34
 
29
35
  Scenario: Create a new project (alias i)
30
- When I run `middleman i MY_PROJECT`
36
+ When I run `middleman i MY_PROJECT` interactively
37
+ And I type "y"
38
+ And I type "y"
39
+ And I type "y"
40
+ And I type "y"
31
41
  Then a directory named "MY_PROJECT" should exist
32
42
 
33
43
  Scenario: Create a new project (alias new)
34
- When I run `middleman new MY_PROJECT`
44
+ When I run `middleman new MY_PROJECT` interactively
45
+ And I type "y"
46
+ And I type "y"
47
+ And I type "y"
48
+ And I type "y"
35
49
  Then a directory named "MY_PROJECT" should exist
36
50
 
37
51
  Scenario: Create a new project (alias n)
38
- When I run `middleman n MY_PROJECT`
52
+ When I run `middleman n MY_PROJECT` interactively
53
+ And I type "y"
54
+ And I type "y"
55
+ And I type "y"
56
+ And I type "y"
39
57
  Then a directory named "MY_PROJECT" should exist
@@ -138,7 +138,7 @@ Feature: Minify Javascript
138
138
  </script>
139
139
  <script type='text/javascript'>
140
140
  //<!--
141
- !function(){line(),here()}();
141
+ !function(){one,line(),here()}();
142
142
  //-->
143
143
  </script>
144
144
  <script type='text/html'>
@@ -255,7 +255,7 @@ module Middleman
255
255
  Tilt.mappings.delete(key)
256
256
  end
257
257
  end
258
-
258
+
259
259
  @extensions.activate_all
260
260
 
261
261
  run_hook :after_configuration
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  # Current Version
3
3
  # @return [String]
4
- VERSION = '4.0.0.alpha.5' unless const_defined?(:VERSION)
4
+ VERSION = '4.0.0.alpha.6' unless const_defined?(:VERSION)
5
5
  end
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.add_dependency('hooks', ['~> 0.3'])
28
28
 
29
29
  # Helpers
30
- s.add_dependency('activesupport', ['~> 4.1.0'])
30
+ s.add_dependency('activesupport', ['~> 4.2.0'])
31
31
  s.add_dependency('padrino-helpers', ['~> 0.12.3'])
32
32
  s.add_dependency("addressable", ["~> 2.3.5"])
33
33
 
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
35
35
  s.add_dependency('listen', ['>= 2.7.9', '< 3.0'])
36
36
 
37
37
  # i18n
38
- s.add_dependency('i18n', ['~> 0.6.9'])
38
+ s.add_dependency('i18n', ['~> 0.7.0'])
39
39
 
40
40
  # Automatic Image Sizes
41
41
  s.add_dependency('fastimage', ['~> 1.6.2'])
@@ -47,7 +47,7 @@ Gem::Specification.new do |s|
47
47
  s.add_dependency('compass-import-once', ['~> 1.0.4'])
48
48
 
49
49
  # Minify JS
50
- s.add_dependency('uglifier', ['~> 2.5'])
50
+ s.add_dependency('uglifier', ['~> 2.6'])
51
51
  s.add_dependency('execjs', ['~> 2.0'])
52
52
 
53
53
  # Testing
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.alpha.5
4
+ version: 4.0.0.alpha.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Reynolds
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-12-26 00:00:00.000000000 Z
13
+ date: 2015-01-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -108,14 +108,14 @@ dependencies:
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: 4.1.0
111
+ version: 4.2.0
112
112
  type: :runtime
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: 4.1.0
118
+ version: 4.2.0
119
119
  - !ruby/object:Gem::Dependency
120
120
  name: padrino-helpers
121
121
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 0.6.9
173
+ version: 0.7.0
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 0.6.9
180
+ version: 0.7.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: fastimage
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -226,14 +226,14 @@ dependencies:
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: '2.5'
229
+ version: '2.6'
230
230
  type: :runtime
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: '2.5'
236
+ version: '2.6'
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: execjs
239
239
  requirement: !ruby/object:Gem::Requirement
@@ -277,7 +277,6 @@ files:
277
277
  - ".simplecov"
278
278
  - ".yardopts"
279
279
  - Rakefile
280
- - features/3rd_party_cli.feature
281
280
  - features/asset_hash.feature
282
281
  - features/asset_host.feature
283
282
  - features/auto_layout.feature
@@ -1229,7 +1228,6 @@ signing_key:
1229
1228
  specification_version: 4
1230
1229
  summary: Hand-crafted frontend development
1231
1230
  test_files:
1232
- - features/3rd_party_cli.feature
1233
1231
  - features/asset_hash.feature
1234
1232
  - features/asset_host.feature
1235
1233
  - features/auto_layout.feature
@@ -1,15 +0,0 @@
1
- Feature: Allow config.rb and extensions to add CLI commands
2
-
3
- Scenario: Command autoloaded from tasks/ directory
4
- Given an empty app
5
- And a file named "tasks/hello_task.rb" with:
6
- """
7
- class Hello < Thor
8
- desc "hello", "Say hello"
9
- def hello
10
- puts "Hello World"
11
- end
12
- end
13
- """
14
- When I run `middleman hello`
15
- Then the output should contain "Hello World"