guard-nanoc 1.0.3 → 2.0.0b1

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: bb5715fca6096f932de92a0c23e43dc721494bb0
4
- data.tar.gz: 6e7f60566cfe10fc6420e5a7ed3075977824c285
3
+ metadata.gz: 9126277881a37f11121201ec5bbb14c26c35eb61
4
+ data.tar.gz: c8b3610d5f7f3009c1a1fc1705304f0bd9492b02
5
5
  SHA512:
6
- metadata.gz: ef3e45a2084624e42b2c5588b68e30c7dcbd78826ebf7a46e5a360d44f94acda250b410f6493332538690145b8955833139884e83de46051226e9606cb6efb2c
7
- data.tar.gz: 0c57a4b50e59455a0d15e0c56a89a2a5862512e7199d23b143792046efa4a478292f337e2e3b20f8190cb4b97002665c241c06b9b8129b36059c2bbb912dd6e4
6
+ metadata.gz: 1493f2a7ab3da3a614980cce67a458a6cfa587d636a625a60fc4f0e7b234bc8c8bb439c370d653005d3c66a95537cb189d6ca6afcc2091dc8fd67797e190512a
7
+ data.tar.gz: c43b0ce946b2eede40a76ef4af2fef1d32f5a1b3bb0a3390f39122600bbed6b774a39a353704cce25fa1f4050f0766fdc271c64ee8dcd4b23a8ec9b90b91b0f7
data/Gemfile CHANGED
@@ -2,5 +2,9 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'guard'
6
- gem 'nanoc'
5
+ gem 'nanoc', github: 'nanoc/nanoc'
6
+
7
+ group :test do
8
+ gem 'rake'
9
+ gem 'rspec', '~> 3.1'
10
+ end
data/Gemfile.lock CHANGED
@@ -1,9 +1,17 @@
1
+ GIT
2
+ remote: git://github.com/nanoc/nanoc.git
3
+ revision: da260491e5c465c1164fdc8390d0471ef9445fc4
4
+ specs:
5
+ nanoc (4.0.0b4)
6
+ cri (~> 2.3)
7
+
1
8
  PATH
2
9
  remote: .
3
10
  specs:
4
- guard-nanoc (1.0.2)
5
- guard (>= 1.8.0)
6
- nanoc (>= 3.6.3)
11
+ guard-nanoc (2.0.0b1)
12
+ guard (~> 2.8)
13
+ guard-compat (~> 1.0)
14
+ nanoc (~> 4.0.0b4)
7
15
 
8
16
  GEM
9
17
  remote: https://rubygems.org/
@@ -12,32 +20,54 @@ GEM
12
20
  timers (~> 4.0.0)
13
21
  coderay (1.1.0)
14
22
  colored (1.2)
15
- cri (2.6.1)
23
+ cri (2.7.0)
16
24
  colored (~> 1.2)
17
- ffi (1.9.6)
25
+ diff-lcs (1.2.5)
26
+ ffi (1.9.8)
18
27
  formatador (0.2.5)
19
- guard (2.8.2)
28
+ guard (2.12.6)
20
29
  formatador (>= 0.2.4)
21
30
  listen (~> 2.7)
22
31
  lumberjack (~> 1.0)
32
+ nenv (~> 0.1)
33
+ notiffany (~> 0.0)
23
34
  pry (>= 0.9.12)
35
+ shellany (~> 0.0)
24
36
  thor (>= 0.18.1)
37
+ guard-compat (1.2.1)
25
38
  hitimes (1.2.2)
26
- listen (2.8.0)
27
- celluloid (>= 0.15.2)
39
+ listen (2.10.1)
40
+ celluloid (~> 0.16.0)
28
41
  rb-fsevent (>= 0.9.3)
29
42
  rb-inotify (>= 0.9)
30
43
  lumberjack (1.0.9)
31
44
  method_source (0.8.2)
32
- nanoc (3.7.3)
33
- cri (~> 2.3)
45
+ nenv (0.2.0)
46
+ notiffany (0.0.6)
47
+ nenv (~> 0.1)
48
+ shellany (~> 0.0)
34
49
  pry (0.10.1)
35
50
  coderay (~> 1.1.0)
36
51
  method_source (~> 0.8.1)
37
52
  slop (~> 3.4)
38
- rb-fsevent (0.9.4)
53
+ rake (10.4.2)
54
+ rb-fsevent (0.9.5)
39
55
  rb-inotify (0.9.5)
40
56
  ffi (>= 0.5.0)
57
+ rspec (3.3.0)
58
+ rspec-core (~> 3.3.0)
59
+ rspec-expectations (~> 3.3.0)
60
+ rspec-mocks (~> 3.3.0)
61
+ rspec-core (3.3.1)
62
+ rspec-support (~> 3.3.0)
63
+ rspec-expectations (3.3.0)
64
+ diff-lcs (>= 1.2.0, < 2.0)
65
+ rspec-support (~> 3.3.0)
66
+ rspec-mocks (3.3.1)
67
+ diff-lcs (>= 1.2.0, < 2.0)
68
+ rspec-support (~> 3.3.0)
69
+ rspec-support (3.3.0)
70
+ shellany (0.0.1)
41
71
  slop (3.6.0)
42
72
  thor (0.19.1)
43
73
  timers (4.0.1)
@@ -47,6 +77,10 @@ PLATFORMS
47
77
  ruby
48
78
 
49
79
  DEPENDENCIES
50
- guard
51
80
  guard-nanoc!
52
- nanoc
81
+ nanoc!
82
+ rake
83
+ rspec (~> 3.1)
84
+
85
+ BUNDLED WITH
86
+ 1.10.4
data/NEWS.md CHANGED
@@ -1,6 +1,11 @@
1
1
  guard-nanoc Release Notes
2
2
  =========================
3
3
 
4
+ 2.0.0b1 (2015-06-21)
5
+ --------------------
6
+
7
+ * Added nanoc 4 compatibility
8
+
4
9
  1.0.3 (2014-11-16)
5
10
  ------------------
6
11
 
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ require 'bundler/gem_tasks'
2
+
3
+ require 'rspec/core/rake_task'
4
+ RSpec::Core::RakeTask.new(:spec) do |t|
5
+ t.verbose = false unless ENV['CI'] == 'true'
6
+ end
7
+
8
+ task default: :spec
data/crash.log ADDED
@@ -0,0 +1,289 @@
1
+ Crashlog created at 2015-06-21 10:44:04 +0200
2
+
3
+ ===== MESSAGE:
4
+
5
+ Nanoc::Int::ConfigLoader::NoConfigFileFoundError: No configuration file found
6
+
7
+ ===== COMPILATION STACK:
8
+
9
+ (empty)
10
+
11
+ ===== STACK TRACE:
12
+
13
+ 0. /usr/local/lib/ruby/gems/2.2.0/bundler/gems/nanoc-da260491e5c4/lib/nanoc/base/repos/config_loader.rb:37:in `new_from_cwd'
14
+ 1. /usr/local/lib/ruby/gems/2.2.0/bundler/gems/nanoc-da260491e5c4/lib/nanoc/base/repos/site_loader.rb:12:in `new_from_cwd'
15
+ 2. /Users/ddfreyne/Documents/Development/nanoc/repos/guard-nanoc/lib/guard/nanoc.rb:63:in `block in recompile'
16
+ 3. /Users/ddfreyne/Documents/Development/nanoc/repos/guard-nanoc/lib/guard/nanoc.rb:62:in `chdir'
17
+ 4. /Users/ddfreyne/Documents/Development/nanoc/repos/guard-nanoc/lib/guard/nanoc.rb:62:in `recompile'
18
+ 5. /Users/ddfreyne/Documents/Development/nanoc/repos/guard-nanoc/lib/guard/nanoc.rb:54:in `block in recompile_in_subprocess'
19
+ 6. /Users/ddfreyne/Documents/Development/nanoc/repos/guard-nanoc/spec/lib/guard/nanoc_spec.rb:16:in `call'
20
+ 7. /Users/ddfreyne/Documents/Development/nanoc/repos/guard-nanoc/spec/lib/guard/nanoc_spec.rb:16:in `block (3 levels) in <top (required)>'
21
+ 8. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-mocks-3.3.1/lib/rspec/mocks/message_expectation.rb:660:in `call'
22
+ 9. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-mocks-3.3.1/lib/rspec/mocks/message_expectation.rb:660:in `block in call'
23
+ 10. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-mocks-3.3.1/lib/rspec/mocks/message_expectation.rb:659:in `map'
24
+ 11. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-mocks-3.3.1/lib/rspec/mocks/message_expectation.rb:659:in `call'
25
+ 12. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-mocks-3.3.1/lib/rspec/mocks/message_expectation.rb:554:in `invoke_incrementing_actual_calls_by'
26
+ 13. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-mocks-3.3.1/lib/rspec/mocks/message_expectation.rb:411:in `invoke'
27
+ 14. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-mocks-3.3.1/lib/rspec/mocks/proxy.rb:179:in `message_received'
28
+ 15. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-mocks-3.3.1/lib/rspec/mocks/proxy.rb:321:in `message_received'
29
+ 16. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-mocks-3.3.1/lib/rspec/mocks/method_double.rb:77:in `proxy_method_invoked'
30
+ 17. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-mocks-3.3.1/lib/rspec/mocks/verifying_proxy.rb:156:in `proxy_method_invoked'
31
+ 18. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-mocks-3.3.1/lib/rspec/mocks/method_double.rb:64:in `block (2 levels) in define_proxy_method'
32
+ 19. /Users/ddfreyne/Documents/Development/nanoc/repos/guard-nanoc/lib/guard/nanoc.rb:55:in `recompile_in_subprocess'
33
+ 20. /Users/ddfreyne/Documents/Development/nanoc/repos/guard-nanoc/lib/guard/nanoc.rb:19:in `start'
34
+ 21. /Users/ddfreyne/Documents/Development/nanoc/repos/guard-nanoc/spec/lib/guard/nanoc_spec.rb:51:in `block (4 levels) in <top (required)>'
35
+ 22. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example.rb:206:in `instance_exec'
36
+ 23. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example.rb:206:in `block in run'
37
+ 24. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example.rb:430:in `block in with_around_and_singleton_context_hooks'
38
+ 25. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example.rb:388:in `block in with_around_example_hooks'
39
+ 26. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/hooks.rb:478:in `block in run'
40
+ 27. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/hooks.rb:616:in `run_around_example_hooks_for'
41
+ 28. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/hooks.rb:478:in `run'
42
+ 29. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example.rb:388:in `with_around_example_hooks'
43
+ 30. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example.rb:430:in `with_around_and_singleton_context_hooks'
44
+ 31. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example.rb:203:in `run'
45
+ 32. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:559:in `block in run_examples'
46
+ 33. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:555:in `map'
47
+ 34. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:555:in `run_examples'
48
+ 35. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:521:in `run'
49
+ 36. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:522:in `block in run'
50
+ 37. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:522:in `map'
51
+ 38. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:522:in `run'
52
+ 39. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:522:in `block in run'
53
+ 40. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:522:in `map'
54
+ 41. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:522:in `run'
55
+ 42. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:115:in `block (3 levels) in run_specs'
56
+ 43. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:115:in `map'
57
+ 44. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:115:in `block (2 levels) in run_specs'
58
+ 45. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/configuration.rb:1627:in `with_suite_hooks'
59
+ 46. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:114:in `block in run_specs'
60
+ 47. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/reporter.rb:77:in `report'
61
+ 48. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:113:in `run_specs'
62
+ 49. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:89:in `run'
63
+ 50. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:73:in `run'
64
+ 51. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:41:in `invoke'
65
+
66
+ ===== VERSION INFORMATION:
67
+
68
+ nanoc 4.0.0b4 © 2007-2015 Denis Defreyne.
69
+ Running ruby 2.2.2 (2015-04-13) on x86_64-darwin14 with RubyGems 2.4.7.
70
+
71
+ ===== SYSTEM INFORMATION:
72
+
73
+ Darwin Tahontaenrat.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64 i386 MacBookPro8,1 Darwin
74
+
75
+ ===== INSTALLED GEMS:
76
+
77
+ bundler 1.10.4
78
+ celluloid 0.16.0
79
+ coderay 1.1.0
80
+ colored 1.2
81
+ cri 2.7.0
82
+ diff-lcs 1.2.5
83
+ ffi 1.9.8
84
+ formatador 0.2.5
85
+ guard 2.12.6
86
+ guard-compat 1.2.1
87
+ guard-nanoc 1.0.3
88
+ hitimes 1.2.2
89
+ listen 2.10.1
90
+ lumberjack 1.0.9
91
+ method_source 0.8.2
92
+ nanoc 4.0.0b4
93
+ nenv 0.2.0
94
+ notiffany 0.0.6
95
+ pry 0.10.1
96
+ rake 10.4.2
97
+ rb-fsevent 0.9.5
98
+ rb-inotify 0.9.5
99
+ rspec 3.3.0
100
+ rspec-core 3.3.1
101
+ rspec-expectations 3.3.0
102
+ rspec-mocks 3.3.1
103
+ rspec-support 3.3.0
104
+ shellany 0.0.1
105
+ slop 3.6.0
106
+ thor 0.19.1
107
+ timers 4.0.1
108
+
109
+ ===== ENVIRONMENT:
110
+
111
+ Apple_PubSub_Socket_Render => "/private/tmp/com.apple.launchd.hD0XKhvKkx/Render"
112
+ BUNDLE_BIN_PATH => "/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.10.4/bin/bundle"
113
+ BUNDLE_GEMFILE => "/Users/ddfreyne/Documents/Development/nanoc/repos/guard-nanoc/Gemfile"
114
+ BUNDLE_ORIG_MANPATH => "/usr/share/man:/usr/local/share/man:/usr/X11/man"
115
+ COLORFGBG => "7;0"
116
+ DISPLAY => "/private/tmp/com.apple.launchd.iwV44ywsHU/org.macosforge.xquartz:0"
117
+ EDITOR => "subl -w"
118
+ GEM_HOME => "/usr/local/lib/ruby/gems/2.2.0"
119
+ GEM_PATH => "/usr/local/lib/ruby/gems/2.2.0:/Users/ddfreyne/.gem/ruby/2.2.0:/usr/local/Cellar/ruby/2.2.2/lib/ruby/gems/2.2.0"
120
+ GIT_EDITOR => "/usr/local/bin/vim"
121
+ GOPATH => "/Users/ddfreyne/Documents/Development/Go"
122
+ HOME => "/Users/ddfreyne"
123
+ ITERM_PROFILE => "Default"
124
+ ITERM_SESSION_ID => "w0t0p0"
125
+ JAVA_HOME => "/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home"
126
+ LC_ALL => "en_US.UTF-8"
127
+ LC_CTYPE => "en_US.UTF-8"
128
+ LESS_TERMCAP_mb => "\e[01;31m"
129
+ LESS_TERMCAP_md => "\e[01;31m"
130
+ LESS_TERMCAP_me => "\e[0m"
131
+ LESS_TERMCAP_se => "\e[0m"
132
+ LESS_TERMCAP_so => "\e[01;44;33m"
133
+ LESS_TERMCAP_ue => "\e[0m"
134
+ LESS_TERMCAP_us => "\e[01;32m"
135
+ LOGNAME => "ddfreyne"
136
+ MANPATH => "/usr/share/man:/usr/local/share/man:/usr/X11/man"
137
+ PATH => "/usr/local/lib/ruby/gems/2.2.0/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/go/libexec/bin:/Users/ddfreyne/Documents/Development/Go/Projects/bin:/usr/local/texlive/2013/bin/x86_64-darwin:/usr/local/texlive/2013/bin/universal-darwin:/Users/ddfreyne/.cabal/bin:/usr/local/misc/bin:/Users/ddfreyne/.rbenv/shims:/Users/ddfreyne/.rbenv/bin:/Users/ddfreyne/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
138
+ PWD => "/Users/ddfreyne/Documents/Development/nanoc/repos/guard-nanoc"
139
+ PYTHONPATH => "/usr/local/lib/python2.7/site-packages:"
140
+ RUBYLIB => "/usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.10.4/lib"
141
+ RUBYOPT => "-rbundler/setup"
142
+ SHELL => "/bin/bash"
143
+ SHLVL => "2"
144
+ SSH_AUTH_SOCK => "/private/tmp/com.apple.launchd.7z0pbwXWSQ/Listeners"
145
+ TERM => "xterm-256color"
146
+ TERM_PROGRAM => "iTerm.app"
147
+ TMPDIR => "/var/folders/jf/v8gkrcc973l5l6f6561_zqp00000gn/T/"
148
+ USER => "ddfreyne"
149
+ WINEARCH => "win32"
150
+ WINEPREFIX => "/Users/ddfreyne/.wine32"
151
+ XPC_FLAGS => "0x0"
152
+ XPC_SERVICE_NAME => "0"
153
+ _ => "/usr/local/Cellar/ruby/2.2.2/bin/ruby"
154
+ _ORIGINAL_GEM_PATH => "/usr/local/lib/ruby/gems/2.2.0:/Users/ddfreyne/.gem/ruby/2.2.0:/usr/local/Cellar/ruby/2.2.2/lib/ruby/gems/2.2.0"
155
+ __CF_USER_TEXT_ENCODING => "0x1F5:0x0:0x0"
156
+
157
+ ===== GEMFILE.LOCK:
158
+
159
+ GIT
160
+ remote: git://github.com/nanoc/nanoc.git
161
+ revision: da260491e5c465c1164fdc8390d0471ef9445fc4
162
+ specs:
163
+ nanoc (4.0.0b4)
164
+ cri (~> 2.3)
165
+
166
+ PATH
167
+ remote: .
168
+ specs:
169
+ guard-nanoc (1.0.3)
170
+ guard (~> 2.8)
171
+ guard-compat (~> 1.0)
172
+ nanoc (~> 4.0.0b4)
173
+
174
+ GEM
175
+ remote: https://rubygems.org/
176
+ specs:
177
+ celluloid (0.16.0)
178
+ timers (~> 4.0.0)
179
+ coderay (1.1.0)
180
+ colored (1.2)
181
+ cri (2.7.0)
182
+ colored (~> 1.2)
183
+ diff-lcs (1.2.5)
184
+ ffi (1.9.8)
185
+ formatador (0.2.5)
186
+ guard (2.12.6)
187
+ formatador (>= 0.2.4)
188
+ listen (~> 2.7)
189
+ lumberjack (~> 1.0)
190
+ nenv (~> 0.1)
191
+ notiffany (~> 0.0)
192
+ pry (>= 0.9.12)
193
+ shellany (~> 0.0)
194
+ thor (>= 0.18.1)
195
+ guard-compat (1.2.1)
196
+ hitimes (1.2.2)
197
+ listen (2.10.1)
198
+ celluloid (~> 0.16.0)
199
+ rb-fsevent (>= 0.9.3)
200
+ rb-inotify (>= 0.9)
201
+ lumberjack (1.0.9)
202
+ method_source (0.8.2)
203
+ nenv (0.2.0)
204
+ notiffany (0.0.6)
205
+ nenv (~> 0.1)
206
+ shellany (~> 0.0)
207
+ pry (0.10.1)
208
+ coderay (~> 1.1.0)
209
+ method_source (~> 0.8.1)
210
+ slop (~> 3.4)
211
+ rake (10.4.2)
212
+ rb-fsevent (0.9.5)
213
+ rb-inotify (0.9.5)
214
+ ffi (>= 0.5.0)
215
+ rspec (3.3.0)
216
+ rspec-core (~> 3.3.0)
217
+ rspec-expectations (~> 3.3.0)
218
+ rspec-mocks (~> 3.3.0)
219
+ rspec-core (3.3.1)
220
+ rspec-support (~> 3.3.0)
221
+ rspec-expectations (3.3.0)
222
+ diff-lcs (>= 1.2.0, < 2.0)
223
+ rspec-support (~> 3.3.0)
224
+ rspec-mocks (3.3.1)
225
+ diff-lcs (>= 1.2.0, < 2.0)
226
+ rspec-support (~> 3.3.0)
227
+ rspec-support (3.3.0)
228
+ shellany (0.0.1)
229
+ slop (3.6.0)
230
+ thor (0.19.1)
231
+ timers (4.0.1)
232
+ hitimes
233
+
234
+ PLATFORMS
235
+ ruby
236
+
237
+ DEPENDENCIES
238
+ guard-nanoc!
239
+ nanoc!
240
+ rake
241
+ rspec (~> 3.1)
242
+
243
+ BUNDLED WITH
244
+ 1.10.4
245
+
246
+ ===== LOAD PATHS:
247
+
248
+ 0. /Users/ddfreyne/Documents/Development/nanoc/repos/guard-nanoc/spec
249
+ 1. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-3.3.0/lib
250
+ 2. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-mocks-3.3.1/lib
251
+ 3. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-expectations-3.3.0/lib
252
+ 4. /Users/ddfreyne/Documents/Development/nanoc/repos/guard-nanoc/lib
253
+ 5. /usr/local/lib/ruby/gems/2.2.0/bundler/gems/nanoc-da260491e5c4/lib
254
+ 6. /usr/local/lib/ruby/gems/2.2.0/gems/guard-compat-1.2.1/lib
255
+ 7. /usr/local/lib/ruby/gems/2.2.0/gems/guard-2.12.6/lib
256
+ 8. /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib
257
+ 9. /usr/local/lib/ruby/gems/2.2.0/gems/pry-0.10.1/lib
258
+ 10. /usr/local/lib/ruby/gems/2.2.0/gems/slop-3.6.0/lib
259
+ 11. /usr/local/lib/ruby/gems/2.2.0/gems/method_source-0.8.2/lib
260
+ 12. /usr/local/lib/ruby/gems/2.2.0/gems/notiffany-0.0.6/lib
261
+ 13. /usr/local/lib/ruby/gems/2.2.0/gems/shellany-0.0.1/lib
262
+ 14. /usr/local/lib/ruby/gems/2.2.0/gems/nenv-0.2.0/lib
263
+ 15. /usr/local/lib/ruby/gems/2.2.0/gems/lumberjack-1.0.9/lib
264
+ 16. /usr/local/lib/ruby/gems/2.2.0/gems/listen-2.10.1/lib
265
+ 17. /usr/local/lib/ruby/gems/2.2.0/gems/rb-inotify-0.9.5/lib
266
+ 18. /usr/local/lib/ruby/gems/2.2.0/gems/rb-fsevent-0.9.5/lib
267
+ 19. /usr/local/lib/ruby/gems/2.2.0/gems/formatador-0.2.5/lib
268
+ 20. /usr/local/lib/ruby/gems/2.2.0/gems/ffi-1.9.8/lib
269
+ 21. /usr/local/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-14/2.2.0/ffi-1.9.8
270
+ 22. /usr/local/lib/ruby/gems/2.2.0/gems/diff-lcs-1.2.5/lib
271
+ 23. /usr/local/lib/ruby/gems/2.2.0/gems/cri-2.7.0/lib
272
+ 24. /usr/local/lib/ruby/gems/2.2.0/gems/colored-1.2/lib
273
+ 25. /usr/local/lib/ruby/gems/2.2.0/gems/coderay-1.1.0/lib
274
+ 26. /usr/local/lib/ruby/gems/2.2.0/gems/celluloid-0.16.0/lib
275
+ 27. /usr/local/lib/ruby/gems/2.2.0/gems/timers-4.0.1/lib
276
+ 28. /usr/local/lib/ruby/gems/2.2.0/gems/hitimes-1.2.2/lib
277
+ 29. /usr/local/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-14/2.2.0/hitimes-1.2.2
278
+ 30. /usr/local/lib/ruby/gems/2.2.0/gems/rake-10.4.2/lib
279
+ 31. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.1/lib
280
+ 32. /usr/local/lib/ruby/gems/2.2.0/gems/rspec-support-3.3.0/lib
281
+ 33. /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.10.4/lib
282
+ 34. /usr/local/lib/ruby/site_ruby/2.2.0
283
+ 35. /usr/local/lib/ruby/site_ruby/2.2.0/x86_64-darwin14
284
+ 36. /usr/local/lib/ruby/site_ruby
285
+ 37. /usr/local/lib/ruby/vendor_ruby/2.2.0
286
+ 38. /usr/local/lib/ruby/vendor_ruby/2.2.0/x86_64-darwin14
287
+ 39. /usr/local/lib/ruby/vendor_ruby
288
+ 40. /usr/local/Cellar/ruby/2.2.2/lib/ruby/2.2.0
289
+ 41. /usr/local/Cellar/ruby/2.2.2/lib/ruby/2.2.0/x86_64-darwin14
data/guard-nanoc.gemspec CHANGED
@@ -1,11 +1,10 @@
1
1
  # encoding: utf-8
2
2
 
3
- $LOAD_PATH.unshift(File.expand_path('../lib/', __FILE__))
4
- require 'guard/nanoc/version'
3
+ require_relative './lib/guard/nanoc/version'
5
4
 
6
5
  Gem::Specification.new do |s|
7
6
  s.name = 'guard-nanoc'
8
- s.version = Guard::Nanoc::VERSION
7
+ s.version = Guard::GUARD_NANOC_VERSION
9
8
  s.homepage = 'http://nanoc.ws/'
10
9
  s.summary = 'guard gem for nanoc'
11
10
  s.description = 'Automatically rebuilds nanoc sites'
@@ -15,7 +14,8 @@ Gem::Specification.new do |s|
15
14
  s.email = 'denis.defreyne@stoneship.org'
16
15
 
17
16
  s.add_dependency 'guard', '~> 2.8'
18
- s.add_dependency 'nanoc', '~> 3.6'
17
+ s.add_dependency 'guard-compat', '~> 1.0'
18
+ s.add_dependency 'nanoc', '~> 4.0.0b4'
19
19
 
20
20
  s.files = Dir['[A-Z]*'] + Dir['lib/**/*'] + [ 'guard-nanoc.gemspec' ]
21
21
  s.require_paths = [ 'lib' ]
@@ -1,11 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Guard
4
-
5
- module Nanoc
6
-
7
- VERSION = '1.0.3'
8
-
9
- end
10
-
4
+ GUARD_NANOC_VERSION = '2.0.0b1'
11
5
  end
data/lib/guard/nanoc.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'guard'
4
- require 'guard/plugin'
3
+ require 'guard/compat/plugin'
5
4
 
6
5
  require 'nanoc'
7
6
  require 'nanoc/cli'
@@ -36,13 +35,13 @@ module Guard
36
35
 
37
36
  def setup_nanoc_notifications
38
37
  @rep_times = {}
39
- ::Nanoc::NotificationCenter.on(:compilation_started) do |rep|
38
+ ::Nanoc::Int::NotificationCenter.on(:compilation_started) do |rep|
40
39
  @rep_times[rep.raw_path] = Time.now
41
40
  end
42
- ::Nanoc::NotificationCenter.on(:compilation_ended) do |rep|
41
+ ::Nanoc::Int::NotificationCenter.on(:compilation_ended) do |rep|
43
42
  @rep_times[rep.raw_path] = Time.now - @rep_times[rep.raw_path]
44
43
  end
45
- ::Nanoc::NotificationCenter.on(:rep_written) do |rep, path, is_created, is_modified|
44
+ ::Nanoc::Int::NotificationCenter.on(:rep_written) do |rep, path, is_created, is_modified|
46
45
  action = (is_created ? :create : (is_modified ? :update : :identical))
47
46
  level = (is_created ? :high : (is_modified ? :high : :low))
48
47
  duration = Time.now - @rep_times[rep.raw_path] if @rep_times[rep.raw_path]
@@ -61,15 +60,12 @@ module Guard
61
60
 
62
61
  def recompile
63
62
  Dir.chdir(@dir) do
64
- site = ::Nanoc::Site.new('.')
63
+ site = ::Nanoc::Int::SiteLoader.new.new_from_cwd
65
64
  site.compile
66
65
  self.prune(site)
67
66
  end
68
67
  self.notify_success
69
- rescue ::Nanoc::Errors::GenericTrivial => e
70
- self.notify_failure
71
- $stderr.puts e.message
72
- rescue Exception => e
68
+ rescue => e
73
69
  self.notify_failure
74
70
  ::Nanoc::CLI::ErrorHandler.print_error(e)
75
71
  end
@@ -84,13 +80,13 @@ module Guard
84
80
  end
85
81
 
86
82
  def notify_success
87
- Notifier.notify('Compilation succeeded', :title => 'nanoc', :image => :success)
88
- ::Guard::UI.info 'Compilation succeeded.'
83
+ Compat::UI.notify('Compilation succeeded', :title => 'nanoc', :image => :success)
84
+ Compat::UI.info 'Compilation succeeded.'
89
85
  end
90
86
 
91
87
  def notify_failure
92
- Notifier.notify('Compilation FAILED', :title => 'nanoc', :image => :failed)
93
- ::Guard::UI.error 'Compilation failed!'
88
+ Compat::UI.notify('Compilation FAILED', :title => 'nanoc', :image => :failed)
89
+ Compat::UI.error 'Compilation failed!'
94
90
  end
95
91
 
96
92
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-nanoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 2.0.0b1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-16 00:00:00.000000000 Z
11
+ date: 2015-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
@@ -24,20 +24,34 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: guard-compat
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: nanoc
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: '3.6'
47
+ version: 4.0.0b4
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: '3.6'
54
+ version: 4.0.0b4
41
55
  description: Automatically rebuilds nanoc sites
42
56
  email: denis.defreyne@stoneship.org
43
57
  executables: []
@@ -49,6 +63,8 @@ files:
49
63
  - LICENSE
50
64
  - NEWS.md
51
65
  - README.md
66
+ - Rakefile
67
+ - crash.log
52
68
  - guard-nanoc.gemspec
53
69
  - lib/guard/nanoc.rb
54
70
  - lib/guard/nanoc/templates/Guardfile
@@ -68,12 +84,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
84
  version: '0'
69
85
  required_rubygems_version: !ruby/object:Gem::Requirement
70
86
  requirements:
71
- - - ">="
87
+ - - ">"
72
88
  - !ruby/object:Gem::Version
73
- version: '0'
89
+ version: 1.3.1
74
90
  requirements: []
75
91
  rubyforge_project:
76
- rubygems_version: 2.2.2
92
+ rubygems_version: 2.4.7
77
93
  signing_key:
78
94
  specification_version: 4
79
95
  summary: guard gem for nanoc