middleman-core 3.0.0.alpha.9 → 3.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/.gemtest +0 -0
  2. data/Rakefile +45 -1
  3. data/bin/fsevent_watch_guard +0 -0
  4. data/bin/middleman +1 -1
  5. data/ext/extconf.rb +61 -0
  6. data/{lib/middleman-core/vendor/rb-fsevent-0.4.3.1/ext → ext}/fsevent/fsevent_watch.c +0 -0
  7. data/features/cli.feature +2 -3
  8. data/lib/middleman-core/base.rb +2 -2
  9. data/lib/middleman-core/cli/build.rb +1 -1
  10. data/lib/middleman-core/cli/server.rb +15 -10
  11. data/lib/middleman-core/core_extensions/data.rb +32 -50
  12. data/lib/middleman-core/core_extensions/file_watcher.rb +81 -34
  13. data/lib/middleman-core/core_extensions/front_matter.rb +4 -4
  14. data/lib/middleman-core/core_extensions/rendering.rb +3 -3
  15. data/lib/middleman-core/core_extensions/sitemap.rb +4 -4
  16. data/lib/middleman-core/sitemap/template.rb +1 -1
  17. data/lib/middleman-core/step_definitions/middleman_steps.rb +2 -2
  18. data/lib/middleman-core/templates/default/source/layouts/layout.erb +1 -1
  19. data/lib/middleman-core/templates/default/source/stylesheets/all.css +55 -0
  20. data/lib/middleman-core/templates/default/source/stylesheets/{_normalize.scss → normalize.css} +0 -0
  21. data/lib/middleman-core/templates/default.rb +2 -3
  22. data/lib/middleman-core/vendor/darwin/.gitignore +18 -0
  23. data/lib/middleman-core/vendor/darwin/Gemfile +6 -0
  24. data/lib/middleman-core/vendor/darwin/Guardfile +8 -0
  25. data/lib/middleman-core/vendor/{rb-fsevent-0.4.3.1 → darwin}/LICENSE +0 -0
  26. data/lib/middleman-core/vendor/{rb-fsevent-0.4.3.1 → darwin}/README.rdoc +0 -0
  27. data/lib/middleman-core/vendor/darwin/Rakefile +21 -0
  28. data/lib/middleman-core/vendor/{rb-fsevent-0.4.3.1 → darwin}/ext/extconf.rb +0 -0
  29. data/lib/middleman-core/vendor/darwin/ext/fsevent/fsevent_watch.c +226 -0
  30. data/lib/middleman-core/vendor/{rb-fsevent-0.4.3.1 → darwin}/lib/rb-fsevent/fsevent.rb +2 -2
  31. data/lib/middleman-core/vendor/{rb-fsevent-0.4.3.1 → darwin}/lib/rb-fsevent/version.rb +0 -0
  32. data/lib/middleman-core/vendor/{rb-fsevent-0.4.3.1 → darwin}/lib/rb-fsevent.rb +0 -0
  33. data/lib/middleman-core/vendor/darwin/rb-fsevent.gemspec +24 -0
  34. data/lib/middleman-core/vendor/darwin/spec/fixtures/custom 'path/.gitignore +0 -0
  35. data/lib/middleman-core/vendor/darwin/spec/fixtures/folder1/file1.txt +0 -0
  36. data/lib/middleman-core/vendor/darwin/spec/fixtures/folder1/folder2/file2.txt +0 -0
  37. data/lib/middleman-core/vendor/darwin/spec/rb-fsevent/fsevent_spec.rb +75 -0
  38. data/lib/middleman-core/vendor/darwin/spec/spec_helper.rb +24 -0
  39. data/lib/middleman-core/vendor/linux/.gitignore +3 -0
  40. data/lib/middleman-core/vendor/{rb-inotify-0.8.8 → linux}/.yardopts +0 -0
  41. data/lib/middleman-core/vendor/{rb-inotify-0.8.8 → linux}/MIT-LICENSE +0 -0
  42. data/lib/middleman-core/vendor/{rb-inotify-0.8.8 → linux}/README.md +0 -0
  43. data/lib/middleman-core/vendor/{rb-inotify-0.8.8 → linux}/Rakefile +0 -0
  44. data/lib/middleman-core/vendor/{rb-inotify-0.8.8 → linux}/VERSION +0 -0
  45. data/lib/middleman-core/vendor/{rb-inotify-0.8.8 → linux}/lib/rb-inotify/event.rb +0 -0
  46. data/lib/middleman-core/vendor/{rb-inotify-0.8.8 → linux}/lib/rb-inotify/native/flags.rb +0 -0
  47. data/lib/middleman-core/vendor/{rb-inotify-0.8.8 → linux}/lib/rb-inotify/native.rb +0 -0
  48. data/lib/middleman-core/vendor/{rb-inotify-0.8.8 → linux}/lib/rb-inotify/notifier.rb +0 -0
  49. data/lib/middleman-core/vendor/{rb-inotify-0.8.8 → linux}/lib/rb-inotify/watcher.rb +0 -0
  50. data/lib/middleman-core/vendor/{rb-inotify-0.8.8 → linux}/lib/rb-inotify.rb +0 -0
  51. data/lib/middleman-core/vendor/{rb-inotify-0.8.8 → linux}/rb-inotify.gemspec +0 -0
  52. data/lib/middleman-core/version.rb +1 -1
  53. data/lib/middleman-core/watcher.rb +19 -14
  54. data/middleman-core.gemspec +4 -4
  55. metadata +40 -26
  56. data/lib/middleman-core/templates/default/source/stylesheets/_animate.scss +0 -23
  57. data/lib/middleman-core/templates/default/source/stylesheets/all.css.scss +0 -40
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-core
3
3
  version: !ruby/object:Gem::Version
4
- hash: -3702664402
4
+ hash: 62196417
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
9
  - 0
10
- - alpha
11
- - 9
12
- version: 3.0.0.alpha.9
10
+ - beta
11
+ - 1
12
+ version: 3.0.0.beta.1
13
13
  platform: ruby
14
14
  authors:
15
15
  - Thomas Reynolds
@@ -126,8 +126,11 @@ extensions: []
126
126
  extra_rdoc_files: []
127
127
 
128
128
  files:
129
+ - .gemtest
129
130
  - Rakefile
130
131
  - bin/middleman
132
+ - ext/extconf.rb
133
+ - ext/fsevent/fsevent_watch.c
131
134
  - features/3rd_party_cli.feature
132
135
  - features/asset_host.feature
133
136
  - features/auto_layout.feature
@@ -405,9 +408,8 @@ files:
405
408
  - lib/middleman-core/templates/default/source/index.html.erb
406
409
  - lib/middleman-core/templates/default/source/javascripts/all.js
407
410
  - lib/middleman-core/templates/default/source/layouts/layout.erb
408
- - lib/middleman-core/templates/default/source/stylesheets/_animate.scss
409
- - lib/middleman-core/templates/default/source/stylesheets/_normalize.scss
410
- - lib/middleman-core/templates/default/source/stylesheets/all.css.scss
411
+ - lib/middleman-core/templates/default/source/stylesheets/all.css
412
+ - lib/middleman-core/templates/default/source/stylesheets/normalize.css
411
413
  - lib/middleman-core/templates/html5.rb
412
414
  - lib/middleman-core/templates/html5/source/404.html
413
415
  - lib/middleman-core/templates/html5/source/README.md
@@ -508,6 +510,23 @@ files:
508
510
  - lib/middleman-core/templates/shared/Gemfile.tt
509
511
  - lib/middleman-core/templates/shared/config.ru
510
512
  - lib/middleman-core/templates/shared/config.tt
513
+ - lib/middleman-core/vendor/darwin/.gitignore
514
+ - lib/middleman-core/vendor/darwin/Gemfile
515
+ - lib/middleman-core/vendor/darwin/Guardfile
516
+ - lib/middleman-core/vendor/darwin/LICENSE
517
+ - lib/middleman-core/vendor/darwin/README.rdoc
518
+ - lib/middleman-core/vendor/darwin/Rakefile
519
+ - lib/middleman-core/vendor/darwin/ext/extconf.rb
520
+ - lib/middleman-core/vendor/darwin/ext/fsevent/fsevent_watch.c
521
+ - lib/middleman-core/vendor/darwin/lib/rb-fsevent.rb
522
+ - lib/middleman-core/vendor/darwin/lib/rb-fsevent/fsevent.rb
523
+ - lib/middleman-core/vendor/darwin/lib/rb-fsevent/version.rb
524
+ - lib/middleman-core/vendor/darwin/rb-fsevent.gemspec
525
+ - lib/middleman-core/vendor/darwin/spec/fixtures/custom 'path/.gitignore
526
+ - lib/middleman-core/vendor/darwin/spec/fixtures/folder1/file1.txt
527
+ - lib/middleman-core/vendor/darwin/spec/fixtures/folder1/folder2/file2.txt
528
+ - lib/middleman-core/vendor/darwin/spec/rb-fsevent/fsevent_spec.rb
529
+ - lib/middleman-core/vendor/darwin/spec/spec_helper.rb
511
530
  - lib/middleman-core/vendor/hooks-0.2.0/CHANGES.textile
512
531
  - lib/middleman-core/vendor/hooks-0.2.0/Gemfile
513
532
  - lib/middleman-core/vendor/hooks-0.2.0/README.rdoc
@@ -518,6 +537,19 @@ files:
518
537
  - lib/middleman-core/vendor/hooks-0.2.0/test/hooks_test.rb
519
538
  - lib/middleman-core/vendor/hooks-0.2.0/test/inheritable_attribute_test.rb
520
539
  - lib/middleman-core/vendor/hooks-0.2.0/test/test_helper.rb
540
+ - lib/middleman-core/vendor/linux/.gitignore
541
+ - lib/middleman-core/vendor/linux/.yardopts
542
+ - lib/middleman-core/vendor/linux/MIT-LICENSE
543
+ - lib/middleman-core/vendor/linux/README.md
544
+ - lib/middleman-core/vendor/linux/Rakefile
545
+ - lib/middleman-core/vendor/linux/VERSION
546
+ - lib/middleman-core/vendor/linux/lib/rb-inotify.rb
547
+ - lib/middleman-core/vendor/linux/lib/rb-inotify/event.rb
548
+ - lib/middleman-core/vendor/linux/lib/rb-inotify/native.rb
549
+ - lib/middleman-core/vendor/linux/lib/rb-inotify/native/flags.rb
550
+ - lib/middleman-core/vendor/linux/lib/rb-inotify/notifier.rb
551
+ - lib/middleman-core/vendor/linux/lib/rb-inotify/watcher.rb
552
+ - lib/middleman-core/vendor/linux/rb-inotify.gemspec
521
553
  - lib/middleman-core/vendor/padrino-core-0.10.5/.document
522
554
  - lib/middleman-core/vendor/padrino-core-0.10.5/.gitignore
523
555
  - lib/middleman-core/vendor/padrino-core-0.10.5/.yardopts
@@ -693,28 +725,10 @@ files:
693
725
  - lib/middleman-core/vendor/padrino-helpers-0.10.5/test/test_output_helpers.rb
694
726
  - lib/middleman-core/vendor/padrino-helpers-0.10.5/test/test_render_helpers.rb
695
727
  - lib/middleman-core/vendor/padrino-helpers-0.10.5/test/test_tag_helpers.rb
696
- - lib/middleman-core/vendor/rb-fsevent-0.4.3.1/LICENSE
697
- - lib/middleman-core/vendor/rb-fsevent-0.4.3.1/README.rdoc
698
- - lib/middleman-core/vendor/rb-fsevent-0.4.3.1/ext/extconf.rb
699
- - lib/middleman-core/vendor/rb-fsevent-0.4.3.1/ext/fsevent/fsevent_watch.c
700
- - lib/middleman-core/vendor/rb-fsevent-0.4.3.1/lib/rb-fsevent.rb
701
- - lib/middleman-core/vendor/rb-fsevent-0.4.3.1/lib/rb-fsevent/fsevent.rb
702
- - lib/middleman-core/vendor/rb-fsevent-0.4.3.1/lib/rb-fsevent/version.rb
703
- - lib/middleman-core/vendor/rb-inotify-0.8.8/.yardopts
704
- - lib/middleman-core/vendor/rb-inotify-0.8.8/MIT-LICENSE
705
- - lib/middleman-core/vendor/rb-inotify-0.8.8/README.md
706
- - lib/middleman-core/vendor/rb-inotify-0.8.8/Rakefile
707
- - lib/middleman-core/vendor/rb-inotify-0.8.8/VERSION
708
- - lib/middleman-core/vendor/rb-inotify-0.8.8/lib/rb-inotify.rb
709
- - lib/middleman-core/vendor/rb-inotify-0.8.8/lib/rb-inotify/event.rb
710
- - lib/middleman-core/vendor/rb-inotify-0.8.8/lib/rb-inotify/native.rb
711
- - lib/middleman-core/vendor/rb-inotify-0.8.8/lib/rb-inotify/native/flags.rb
712
- - lib/middleman-core/vendor/rb-inotify-0.8.8/lib/rb-inotify/notifier.rb
713
- - lib/middleman-core/vendor/rb-inotify-0.8.8/lib/rb-inotify/watcher.rb
714
- - lib/middleman-core/vendor/rb-inotify-0.8.8/rb-inotify.gemspec
715
728
  - lib/middleman-core/version.rb
716
729
  - lib/middleman-core/watcher.rb
717
730
  - middleman-core.gemspec
731
+ - bin/fsevent_watch_guard
718
732
  has_rdoc: true
719
733
  homepage: http://middlemanapp.com
720
734
  licenses:
@@ -1,23 +0,0 @@
1
- .welcome {
2
- -webkit-animation-name: welcome;
3
- -webkit-animation-duration: .9s;
4
- }
5
-
6
- @-webkit-keyframes welcome {
7
- from {
8
- -webkit-transform: scale(0);
9
- opacity: 0;
10
- }
11
- 50% {
12
- -webkit-transform: scale(0);
13
- opacity: 0;
14
- }
15
- 82.5% {
16
- -webkit-transform: scale(1.03);
17
- -webkit-animation-timing-function: ease-out;
18
- opacity: 1;
19
- }
20
- to {
21
- -webkit-transform: scale(1);
22
- }
23
- }
@@ -1,40 +0,0 @@
1
- @charset "utf-8";
2
-
3
- @import "normalize";
4
- @import "compass";
5
-
6
- body {
7
- background: #d4d4d4 image-url("background.png");
8
- text-align: center;
9
- font-family: sans-serif;
10
- }
11
-
12
- h1 {
13
- color: rgba(black, .3);
14
- font-weight: bold;
15
- @include adjust-font-size-to(32px);
16
- letter-spacing: -1px;
17
- text-transform: uppercase;
18
- text-shadow: 0 1px 0 rgba(white, .5);
19
- background: image-url("middleman.png") no-repeat center 100px;
20
- padding: 350px 0 10px;
21
- margin: 0;
22
- }
23
-
24
- .doc {
25
- @include adjust-font-size-to(14px);
26
- margin: 0;
27
- &:before,
28
- &:after {
29
- opacity: .2;
30
- padding: 6px;
31
- font-style: normal;
32
- position: relative;
33
- content: "•";
34
- }
35
- a {
36
- @include link-colors( rgba( black, .3 ) , #666);
37
- }
38
- }
39
-
40
- @import "animate";