middleman-more 3.0.0.rc.3 → 3.0.0.rc.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,42 @@
1
+ Feature: More default extensions
2
+
3
+ Scenario: Default extensions preview
4
+ Given the Server is running at "implied-extensions-app"
5
+ When I go to "/test.html"
6
+ Then I should see "Hello"
7
+ When I go to "/test2.html"
8
+ Then I should see "World"
9
+ When I go to "/test3.html"
10
+ Then I should see "Howdy"
11
+ When I go to "/test4.html"
12
+ Then I should see "HELLO"
13
+ When I go to "/javascripts/app.js"
14
+ Then I should see "derp"
15
+ When I go to "/stylesheets/style.css"
16
+ Then I should see "section"
17
+ When I go to "/stylesheets/style2.css"
18
+ Then I should see "section"
19
+ When I go to "/stylesheets/style3.css"
20
+ Then I should see "color"
21
+
22
+ Scenario: Default extensions build
23
+ Given a fixture app "implied-extensions-app"
24
+ And a successfully built app at "implied-extensions-app"
25
+ When I cd to "build"
26
+ Then the following files should exist:
27
+ | test.html |
28
+ | test2.html |
29
+ | test3.html |
30
+ | test4.html |
31
+ | javascripts/app.js |
32
+ | stylesheets/style.css |
33
+ | stylesheets/style2.css |
34
+ | stylesheets/style3.css |
35
+ And the file "test.html" should contain "Hello"
36
+ And the file "test2.html" should contain "World"
37
+ And the file "test3.html" should contain "Howdy"
38
+ And the file "test4.html" should contain "HELLO"
39
+ And the file "javascripts/app.js" should contain "derp"
40
+ And the file "stylesheets/style.css" should contain "section"
41
+ And the file "stylesheets/style2.css" should contain "section"
42
+ And the file "stylesheets/style3.css" should contain "color"
File without changes
@@ -0,0 +1 @@
1
+ hello = (args...) -> "derp"
@@ -0,0 +1,3 @@
1
+ @import "compass";
2
+
3
+ @include global-reset;
@@ -0,0 +1,3 @@
1
+ @import "compass"
2
+
3
+ +global-reset
@@ -0,0 +1,4 @@
1
+ @base: #f938ab;
2
+ .box {
3
+ color: @base;
4
+ }
@@ -0,0 +1,4 @@
1
+ !!!
2
+ %html
3
+ %body
4
+ Hello
@@ -0,0 +1,3 @@
1
+ # Hello
2
+
3
+ ## World
@@ -0,0 +1,3 @@
1
+ html
2
+ body
3
+ | Howdy
@@ -0,0 +1 @@
1
+ {{ 'Hello' | upcase }}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-more
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.rc.3
4
+ version: 3.0.0.rc.4
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-07-03 00:00:00.000000000 Z
13
+ date: 2012-07-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: middleman-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 3.0.0.rc.3
22
+ version: 3.0.0.rc.4
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - '='
29
29
  - !ruby/object:Gem::Version
30
- version: 3.0.0.rc.3
30
+ version: 3.0.0.rc.4
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: uglifier
33
33
  requirement: !ruby/object:Gem::Requirement
@@ -224,6 +224,7 @@ files:
224
224
  - features/i18n_preview.feature
225
225
  - features/ignore.feature
226
226
  - features/ignore_already_minified.feature
227
+ - features/implied_extensions.feature
227
228
  - features/instance_vars.feature
228
229
  - features/liquid.feature
229
230
  - features/markdown.feature
@@ -352,6 +353,15 @@ files:
352
353
  - fixtures/ignore-app/source/plain.html
353
354
  - fixtures/ignore-app/source/reports/another.html
354
355
  - fixtures/ignore-app/source/reports/index.html
356
+ - fixtures/implied-extensions-app/config.rb
357
+ - fixtures/implied-extensions-app/source/javascripts/app.coffee
358
+ - fixtures/implied-extensions-app/source/stylesheets/style.scss
359
+ - fixtures/implied-extensions-app/source/stylesheets/style2.sass
360
+ - fixtures/implied-extensions-app/source/stylesheets/style3.less
361
+ - fixtures/implied-extensions-app/source/test.haml
362
+ - fixtures/implied-extensions-app/source/test2.markdown
363
+ - fixtures/implied-extensions-app/source/test3.slim
364
+ - fixtures/implied-extensions-app/source/test4.liquid
355
365
  - fixtures/indexable-app/config.rb
356
366
  - fixtures/indexable-app/source/.htaccess
357
367
  - fixtures/indexable-app/source/a_folder/needs_index.html
@@ -594,7 +604,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
594
604
  version: '0'
595
605
  segments:
596
606
  - 0
597
- hash: 2353221539578920153
607
+ hash: 4292106129124880582
598
608
  required_rubygems_version: !ruby/object:Gem::Requirement
599
609
  none: false
600
610
  requirements:
@@ -632,6 +642,7 @@ test_files:
632
642
  - features/i18n_preview.feature
633
643
  - features/ignore.feature
634
644
  - features/ignore_already_minified.feature
645
+ - features/implied_extensions.feature
635
646
  - features/instance_vars.feature
636
647
  - features/liquid.feature
637
648
  - features/markdown.feature
@@ -760,6 +771,15 @@ test_files:
760
771
  - fixtures/ignore-app/source/plain.html
761
772
  - fixtures/ignore-app/source/reports/another.html
762
773
  - fixtures/ignore-app/source/reports/index.html
774
+ - fixtures/implied-extensions-app/config.rb
775
+ - fixtures/implied-extensions-app/source/javascripts/app.coffee
776
+ - fixtures/implied-extensions-app/source/stylesheets/style.scss
777
+ - fixtures/implied-extensions-app/source/stylesheets/style2.sass
778
+ - fixtures/implied-extensions-app/source/stylesheets/style3.less
779
+ - fixtures/implied-extensions-app/source/test.haml
780
+ - fixtures/implied-extensions-app/source/test2.markdown
781
+ - fixtures/implied-extensions-app/source/test3.slim
782
+ - fixtures/implied-extensions-app/source/test4.liquid
763
783
  - fixtures/indexable-app/config.rb
764
784
  - fixtures/indexable-app/source/.htaccess
765
785
  - fixtures/indexable-app/source/a_folder/needs_index.html