new 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +3 -0
- data/.new +1 -1
- data/Gemfile.lock +25 -20
- data/Guardfile +6 -4
- data/README.md +9 -2
- data/doc/.git +1 -0
- data/doc/Gemfile.html +125 -0
- data/doc/Gemfile_lock.html +198 -0
- data/doc/Guardfile.html +134 -0
- data/doc/InterpolateSpec.html +116 -0
- data/doc/LICENSE_txt.html +132 -0
- data/doc/New/Cli.html +290 -0
- data/doc/New/Dsl.html +185 -0
- data/doc/New/Interpolate.html +238 -0
- data/doc/New/Project.html +171 -0
- data/doc/New/Task/CustomBarTask.html +154 -0
- data/doc/New/Task/FooTask.html +168 -0
- data/doc/New/Task/Gem.html +197 -0
- data/doc/New/Task/TaskSpec.html +168 -0
- data/doc/New/Task.html +380 -0
- data/doc/New/Template.html +234 -0
- data/doc/New/Version.html +277 -0
- data/doc/New.html +377 -0
- data/doc/Object.html +200 -0
- data/doc/README_md.html +292 -0
- data/doc/VersionSpec.html +116 -0
- data/doc/created.rid +47 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/fonts.css +167 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +142 -0
- data/doc/js/darkfish.js +140 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +580 -0
- data/doc/spec/fixtures/custom/templates/custom_bar_template/custom_bar_txt.html +110 -0
- data/doc/table_of_contents.html +324 -0
- data/doc/tasks/gem/README_md.html +150 -0
- data/doc/templates/js/Gemfile.html +147 -0
- data/doc/templates/js/Guardfile.html +117 -0
- data/doc/templates/js/lib/README_md.html +114 -0
- data/doc/templates/js/spec/spec_helper_js_coffee.html +110 -0
- data/doc/templates/js/spec/vendor/chai_js.html +3864 -0
- data/doc/templates/js/spec/vendor/sinon-chai_js.html +222 -0
- data/doc/templates/js/spec/vendor/sinon_js.html +4358 -0
- data/doc/templates/js/src/README_md.html +125 -0
- data/lib/new/task.rb +2 -4
- data/lib/new/template.rb +1 -1
- data/lib/new/version.rb +27 -19
- data/spec/fixtures/tasks/foo_task/Gemfile +5 -0
- data/spec/lib/new/version_spec.rb +10 -15
- data/spec/spec_helper.rb +22 -1
- data/tasks/gem/gem.rb +44 -8
- data/tasks/gem/gem_spec.rb +139 -0
- metadata +233 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40d0916ea1bfa44497d91810481573969399fda6
|
4
|
+
data.tar.gz: 8879c42539b9f1956dabe87af997a292cf523790
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08c9276ad9b87725e76c5b68892d3f9156553694ccd7a031bebf11cde023f50c50473304c8cdb91bd1c80992c654f21903d3064efff6a715589f7a8f7bcc85e4
|
7
|
+
data.tar.gz: 1803b9d1fc9b056913e0eadca61e0cecd7d4ccd3b7b6f7efca5f06cbe5b984d760a2b4262d1df9858e6de74a5f0c558eb7e217f64117cc257c99419f1143041a
|
data/.gitmodules
ADDED
data/.new
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,46 +1,51 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (4.0.
|
5
|
-
i18n (~> 0.6, >= 0.6.
|
4
|
+
activesupport (4.0.4)
|
5
|
+
i18n (~> 0.6, >= 0.6.9)
|
6
6
|
minitest (~> 4.2)
|
7
7
|
multi_json (~> 1.3)
|
8
8
|
thread_safe (~> 0.1)
|
9
9
|
tzinfo (~> 0.3.37)
|
10
|
-
atomic (1.1.
|
10
|
+
atomic (1.1.16)
|
11
11
|
celluloid (0.15.2)
|
12
12
|
timers (~> 1.1.0)
|
13
|
+
celluloid-io (0.15.0)
|
14
|
+
celluloid (>= 0.15.0)
|
15
|
+
nio4r (>= 0.5.0)
|
13
16
|
coderay (1.1.0)
|
14
|
-
colorize (0.
|
17
|
+
colorize (0.7.0)
|
15
18
|
diff-lcs (1.2.5)
|
16
19
|
ffi (1.9.3)
|
17
20
|
formatador (0.2.4)
|
18
|
-
guard (2.
|
21
|
+
guard (2.6.0)
|
19
22
|
formatador (>= 0.2.4)
|
20
|
-
listen (~> 2.
|
23
|
+
listen (~> 2.7)
|
21
24
|
lumberjack (~> 1.0)
|
22
25
|
pry (>= 0.9.12)
|
23
26
|
thor (>= 0.18.1)
|
24
27
|
guard-bundler (2.0.0)
|
25
28
|
bundler (~> 1.0)
|
26
29
|
guard (~> 2.2)
|
27
|
-
guard-rspec (4.2.
|
30
|
+
guard-rspec (4.2.8)
|
28
31
|
guard (~> 2.1)
|
29
32
|
rspec (>= 2.14, < 4.0)
|
30
33
|
i18n (0.6.9)
|
31
|
-
listen (2.
|
34
|
+
listen (2.7.1)
|
32
35
|
celluloid (>= 0.15.2)
|
36
|
+
celluloid-io (>= 0.15.0)
|
33
37
|
rb-fsevent (>= 0.9.3)
|
34
38
|
rb-inotify (>= 0.9)
|
35
|
-
lumberjack (1.0.
|
39
|
+
lumberjack (1.0.5)
|
36
40
|
method_source (0.8.2)
|
37
41
|
minitest (4.7.5)
|
38
|
-
multi_json (1.
|
39
|
-
|
42
|
+
multi_json (1.9.2)
|
43
|
+
nio4r (1.0.0)
|
44
|
+
pry (0.9.12.6)
|
40
45
|
coderay (~> 1.0)
|
41
46
|
method_source (~> 0.8)
|
42
47
|
slop (~> 3.4)
|
43
|
-
rake (10.
|
48
|
+
rake (10.2.0)
|
44
49
|
rb-fsevent (0.9.4)
|
45
50
|
rb-inotify (0.9.3)
|
46
51
|
ffi (>= 0.5.0)
|
@@ -49,18 +54,18 @@ GEM
|
|
49
54
|
rspec-core (~> 2.14.0)
|
50
55
|
rspec-expectations (~> 2.14.0)
|
51
56
|
rspec-mocks (~> 2.14.0)
|
52
|
-
rspec-core (2.14.
|
53
|
-
rspec-expectations (2.14.
|
57
|
+
rspec-core (2.14.8)
|
58
|
+
rspec-expectations (2.14.5)
|
54
59
|
diff-lcs (>= 1.1.3, < 2.0)
|
55
|
-
rspec-mocks (2.14.
|
60
|
+
rspec-mocks (2.14.6)
|
56
61
|
semantic (1.3.0)
|
57
|
-
slop (3.
|
62
|
+
slop (3.5.0)
|
58
63
|
terminal-notifier-guard (1.5.3)
|
59
|
-
thor (0.
|
60
|
-
thread_safe (0.1
|
61
|
-
atomic
|
64
|
+
thor (0.19.1)
|
65
|
+
thread_safe (0.3.1)
|
66
|
+
atomic (>= 1.1.7, < 2)
|
62
67
|
timers (1.1.0)
|
63
|
-
tzinfo (0.3.
|
68
|
+
tzinfo (0.3.39)
|
64
69
|
|
65
70
|
PLATFORMS
|
66
71
|
ruby
|
data/Guardfile
CHANGED
@@ -6,9 +6,11 @@ guard :bundler do
|
|
6
6
|
watch('Gemfile')
|
7
7
|
end
|
8
8
|
|
9
|
-
guard :rspec, all_after_pass: true, all_on_start: true, cmd: 'bundle exec rspec' do
|
9
|
+
guard :rspec, all_after_pass: true, all_on_start: true, cmd: 'bundle exec rspec doc spec tasks ~/.new/tasks' do
|
10
10
|
watch(%r{^spec/.+_spec\.rb$})
|
11
|
-
watch(%r{^
|
12
|
-
watch(
|
13
|
-
watch(
|
11
|
+
watch(%r{^tasks/.+_spec\.rb$})
|
12
|
+
watch(%r{^tasks/(.+[^_spec])\.rb$}) { |m| "tasks/#{m[1]}_spec.rb" }
|
13
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
14
|
+
watch('spec/spec_helper.rb') { 'spec' }
|
15
|
+
watch('.rspec') { 'spec' }
|
14
16
|
end
|
data/README.md
CHANGED
@@ -19,7 +19,7 @@ new release
|
|
19
19
|
Templates represent a boilerplate directory & file structure preconfigured for a given project type. _(eg js, ruby, gem, rails, etc.)_
|
20
20
|
|
21
21
|
#### Tasks
|
22
|
-
Tasks represent a process associated with releasing new code. Tasks are run in order they are listed in the project `.new` configuration file.
|
22
|
+
Tasks represent a process associated with releasing new code. Tasks are run in order they are listed in the project `.new` configuration file.
|
23
23
|
|
24
24
|
#### Local Config/Templates/Tasks
|
25
25
|
After running `new init`, you will have `.new` folder in your home directory. This directory contains:
|
@@ -96,12 +96,19 @@ _Note using the dot notation to access nested attributes._
|
|
96
96
|
# ~/.new/tasks/foo_task/foo_task.rb
|
97
97
|
|
98
98
|
class New::Task::FooTask < New::Test
|
99
|
+
include New::Interpolate # if you need to interpolate files
|
100
|
+
include New::version # if you need to set & manage a semantic version
|
101
|
+
|
102
|
+
# defaults for required options
|
99
103
|
OPTION = {
|
100
104
|
foo: 'bar'
|
101
105
|
}
|
102
106
|
|
107
|
+
# required `run` method
|
103
108
|
def run
|
104
|
-
# do stuff here
|
109
|
+
# do task stuff here
|
110
|
+
|
111
|
+
access
|
105
112
|
# access task options from the `options` object
|
106
113
|
# access all project options from the `project_options` object
|
107
114
|
end
|
data/doc/.git
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
gitdir: ../.git/modules/doc
|
data/doc/Gemfile.html
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Gemfile - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link href="./fonts.css" rel="stylesheet">
|
10
|
+
<link href="./rdoc.css" rel="stylesheet">
|
11
|
+
|
12
|
+
<script type="text/javascript">
|
13
|
+
var rdoc_rel_prefix = "./";
|
14
|
+
</script>
|
15
|
+
|
16
|
+
<script src="./js/jquery.js"></script>
|
17
|
+
<script src="./js/navigation.js"></script>
|
18
|
+
<script src="./js/search_index.js"></script>
|
19
|
+
<script src="./js/search.js"></script>
|
20
|
+
<script src="./js/searcher.js"></script>
|
21
|
+
<script src="./js/darkfish.js"></script>
|
22
|
+
|
23
|
+
|
24
|
+
<body id="top" role="document" class="file">
|
25
|
+
<nav role="navigation">
|
26
|
+
<div id="project-navigation">
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
+
<h2>
|
29
|
+
<a href="./index.html" rel="home">Home</a>
|
30
|
+
</h2>
|
31
|
+
|
32
|
+
<div id="table-of-contents-navigation">
|
33
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
34
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
35
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
+
<form action="#" method="get" accept-charset="utf-8">
|
41
|
+
<div id="search-field-wrapper">
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
45
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
+
</form>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
</div>
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
<div id="project-metadata">
|
59
|
+
<div id="fileindex-section" class="nav-section">
|
60
|
+
<h3>Pages</h3>
|
61
|
+
|
62
|
+
<ul class="link-list">
|
63
|
+
|
64
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
65
|
+
|
66
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
67
|
+
|
68
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
69
|
+
|
70
|
+
<li><a href="./LICENSE_txt.html">LICENSE</a>
|
71
|
+
|
72
|
+
<li><a href="./README_md.html">README</a>
|
73
|
+
|
74
|
+
<li><a href="./spec/fixtures/custom/templates/custom_bar_template/custom_bar_txt.html">custom_bar</a>
|
75
|
+
|
76
|
+
<li><a href="./tasks/gem/README_md.html">README</a>
|
77
|
+
|
78
|
+
<li><a href="./templates/js/Gemfile.html">Gemfile</a>
|
79
|
+
|
80
|
+
<li><a href="./templates/js/Guardfile.html">Guardfile</a>
|
81
|
+
|
82
|
+
<li><a href="./templates/js/lib/README_md.html">README</a>
|
83
|
+
|
84
|
+
<li><a href="./templates/js/spec/spec_helper_js_coffee.html">spec_helper.js.coffee</a>
|
85
|
+
|
86
|
+
<li><a href="./templates/js/spec/vendor/chai_js.html">chai.js</a>
|
87
|
+
|
88
|
+
<li><a href="./templates/js/spec/vendor/sinon-chai_js.html">sinon-chai.js</a>
|
89
|
+
|
90
|
+
<li><a href="./templates/js/spec/vendor/sinon_js.html">sinon.js</a>
|
91
|
+
|
92
|
+
<li><a href="./templates/js/src/README_md.html">README</a>
|
93
|
+
|
94
|
+
</ul>
|
95
|
+
</div>
|
96
|
+
|
97
|
+
</div>
|
98
|
+
</nav>
|
99
|
+
|
100
|
+
<main role="main" aria-label="Page Gemfile">
|
101
|
+
|
102
|
+
<p>source '<a href="https://rubygems.org">rubygems.org</a>'</p>
|
103
|
+
|
104
|
+
<p>gem 'activesupport' gem 'colorize' gem 'rake' gem
|
105
|
+
'recursive-open-struct' gem 'semantic' gem 'thor'</p>
|
106
|
+
|
107
|
+
<p>group :development do</p>
|
108
|
+
|
109
|
+
<pre>gem 'guard'
|
110
|
+
gem 'guard-bundler'
|
111
|
+
gem 'guard-rspec'
|
112
|
+
gem 'rspec'
|
113
|
+
gem 'terminal-notifier-guard'</pre>
|
114
|
+
|
115
|
+
<p>end</p>
|
116
|
+
</main>
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
<footer id="validator-badges" role="contentinfo">
|
121
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
122
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
|
123
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
124
|
+
</footer>
|
125
|
+
|
@@ -0,0 +1,198 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Gemfile.lock - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link href="./fonts.css" rel="stylesheet">
|
10
|
+
<link href="./rdoc.css" rel="stylesheet">
|
11
|
+
|
12
|
+
<script type="text/javascript">
|
13
|
+
var rdoc_rel_prefix = "./";
|
14
|
+
</script>
|
15
|
+
|
16
|
+
<script src="./js/jquery.js"></script>
|
17
|
+
<script src="./js/navigation.js"></script>
|
18
|
+
<script src="./js/search_index.js"></script>
|
19
|
+
<script src="./js/search.js"></script>
|
20
|
+
<script src="./js/searcher.js"></script>
|
21
|
+
<script src="./js/darkfish.js"></script>
|
22
|
+
|
23
|
+
|
24
|
+
<body id="top" role="document" class="file">
|
25
|
+
<nav role="navigation">
|
26
|
+
<div id="project-navigation">
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
+
<h2>
|
29
|
+
<a href="./index.html" rel="home">Home</a>
|
30
|
+
</h2>
|
31
|
+
|
32
|
+
<div id="table-of-contents-navigation">
|
33
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
34
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
35
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
+
<form action="#" method="get" accept-charset="utf-8">
|
41
|
+
<div id="search-field-wrapper">
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
45
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
+
</form>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
</div>
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
<div id="project-metadata">
|
59
|
+
<div id="fileindex-section" class="nav-section">
|
60
|
+
<h3>Pages</h3>
|
61
|
+
|
62
|
+
<ul class="link-list">
|
63
|
+
|
64
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
65
|
+
|
66
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
67
|
+
|
68
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
69
|
+
|
70
|
+
<li><a href="./LICENSE_txt.html">LICENSE</a>
|
71
|
+
|
72
|
+
<li><a href="./README_md.html">README</a>
|
73
|
+
|
74
|
+
<li><a href="./spec/fixtures/custom/templates/custom_bar_template/custom_bar_txt.html">custom_bar</a>
|
75
|
+
|
76
|
+
<li><a href="./tasks/gem/README_md.html">README</a>
|
77
|
+
|
78
|
+
<li><a href="./templates/js/Gemfile.html">Gemfile</a>
|
79
|
+
|
80
|
+
<li><a href="./templates/js/Guardfile.html">Guardfile</a>
|
81
|
+
|
82
|
+
<li><a href="./templates/js/lib/README_md.html">README</a>
|
83
|
+
|
84
|
+
<li><a href="./templates/js/spec/spec_helper_js_coffee.html">spec_helper.js.coffee</a>
|
85
|
+
|
86
|
+
<li><a href="./templates/js/spec/vendor/chai_js.html">chai.js</a>
|
87
|
+
|
88
|
+
<li><a href="./templates/js/spec/vendor/sinon-chai_js.html">sinon-chai.js</a>
|
89
|
+
|
90
|
+
<li><a href="./templates/js/spec/vendor/sinon_js.html">sinon.js</a>
|
91
|
+
|
92
|
+
<li><a href="./templates/js/src/README_md.html">README</a>
|
93
|
+
|
94
|
+
</ul>
|
95
|
+
</div>
|
96
|
+
|
97
|
+
</div>
|
98
|
+
</nav>
|
99
|
+
|
100
|
+
<main role="main" aria-label="Page Gemfile.lock">
|
101
|
+
|
102
|
+
<p>GEM</p>
|
103
|
+
|
104
|
+
<pre>remote: https://rubygems.org/
|
105
|
+
specs:
|
106
|
+
activesupport (4.0.4)
|
107
|
+
i18n (~> 0.6, >= 0.6.9)
|
108
|
+
minitest (~> 4.2)
|
109
|
+
multi_json (~> 1.3)
|
110
|
+
thread_safe (~> 0.1)
|
111
|
+
tzinfo (~> 0.3.37)
|
112
|
+
atomic (1.1.16)
|
113
|
+
celluloid (0.15.2)
|
114
|
+
timers (~> 1.1.0)
|
115
|
+
celluloid-io (0.15.0)
|
116
|
+
celluloid (>= 0.15.0)
|
117
|
+
nio4r (>= 0.5.0)
|
118
|
+
coderay (1.1.0)
|
119
|
+
colorize (0.7.0)
|
120
|
+
diff-lcs (1.2.5)
|
121
|
+
ffi (1.9.3)
|
122
|
+
formatador (0.2.4)
|
123
|
+
guard (2.5.1)
|
124
|
+
formatador (>= 0.2.4)
|
125
|
+
listen (~> 2.6)
|
126
|
+
lumberjack (~> 1.0)
|
127
|
+
pry (>= 0.9.12)
|
128
|
+
thor (>= 0.18.1)
|
129
|
+
guard-bundler (2.0.0)
|
130
|
+
bundler (~> 1.0)
|
131
|
+
guard (~> 2.2)
|
132
|
+
guard-rspec (4.2.8)
|
133
|
+
guard (~> 2.1)
|
134
|
+
rspec (>= 2.14, < 4.0)
|
135
|
+
i18n (0.6.9)
|
136
|
+
listen (2.7.1)
|
137
|
+
celluloid (>= 0.15.2)
|
138
|
+
celluloid-io (>= 0.15.0)
|
139
|
+
rb-fsevent (>= 0.9.3)
|
140
|
+
rb-inotify (>= 0.9)
|
141
|
+
lumberjack (1.0.4)
|
142
|
+
method_source (0.8.2)
|
143
|
+
minitest (4.7.5)
|
144
|
+
multi_json (1.9.0)
|
145
|
+
nio4r (1.0.0)
|
146
|
+
pry (0.9.12.6)
|
147
|
+
coderay (~> 1.0)
|
148
|
+
method_source (~> 0.8)
|
149
|
+
slop (~> 3.4)
|
150
|
+
rake (10.1.1)
|
151
|
+
rb-fsevent (0.9.4)
|
152
|
+
rb-inotify (0.9.3)
|
153
|
+
ffi (>= 0.5.0)
|
154
|
+
recursive-open-struct (0.4.5)
|
155
|
+
rspec (2.14.1)
|
156
|
+
rspec-core (~> 2.14.0)
|
157
|
+
rspec-expectations (~> 2.14.0)
|
158
|
+
rspec-mocks (~> 2.14.0)
|
159
|
+
rspec-core (2.14.8)
|
160
|
+
rspec-expectations (2.14.5)
|
161
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
162
|
+
rspec-mocks (2.14.6)
|
163
|
+
semantic (1.3.0)
|
164
|
+
slop (3.5.0)
|
165
|
+
terminal-notifier-guard (1.5.3)
|
166
|
+
thor (0.18.1)
|
167
|
+
thread_safe (0.3.0)
|
168
|
+
atomic (>= 1.1.7, < 2)
|
169
|
+
timers (1.1.0)
|
170
|
+
tzinfo (0.3.39)</pre>
|
171
|
+
|
172
|
+
<p>PLATFORMS</p>
|
173
|
+
|
174
|
+
<pre>ruby</pre>
|
175
|
+
|
176
|
+
<p>DEPENDENCIES</p>
|
177
|
+
|
178
|
+
<pre>activesupport
|
179
|
+
colorize
|
180
|
+
guard
|
181
|
+
guard-bundler
|
182
|
+
guard-rspec
|
183
|
+
rake
|
184
|
+
recursive-open-struct
|
185
|
+
rspec
|
186
|
+
semantic
|
187
|
+
terminal-notifier-guard
|
188
|
+
thor</pre>
|
189
|
+
</main>
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
<footer id="validator-badges" role="contentinfo">
|
194
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
195
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
|
196
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
197
|
+
</footer>
|
198
|
+
|
data/doc/Guardfile.html
ADDED
@@ -0,0 +1,134 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Guardfile - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link href="./fonts.css" rel="stylesheet">
|
10
|
+
<link href="./rdoc.css" rel="stylesheet">
|
11
|
+
|
12
|
+
<script type="text/javascript">
|
13
|
+
var rdoc_rel_prefix = "./";
|
14
|
+
</script>
|
15
|
+
|
16
|
+
<script src="./js/jquery.js"></script>
|
17
|
+
<script src="./js/navigation.js"></script>
|
18
|
+
<script src="./js/search_index.js"></script>
|
19
|
+
<script src="./js/search.js"></script>
|
20
|
+
<script src="./js/searcher.js"></script>
|
21
|
+
<script src="./js/darkfish.js"></script>
|
22
|
+
|
23
|
+
|
24
|
+
<body id="top" role="document" class="file">
|
25
|
+
<nav role="navigation">
|
26
|
+
<div id="project-navigation">
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
+
<h2>
|
29
|
+
<a href="./index.html" rel="home">Home</a>
|
30
|
+
</h2>
|
31
|
+
|
32
|
+
<div id="table-of-contents-navigation">
|
33
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
34
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
35
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
+
<form action="#" method="get" accept-charset="utf-8">
|
41
|
+
<div id="search-field-wrapper">
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
45
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
+
</form>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
</div>
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
<div id="project-metadata">
|
59
|
+
<div id="fileindex-section" class="nav-section">
|
60
|
+
<h3>Pages</h3>
|
61
|
+
|
62
|
+
<ul class="link-list">
|
63
|
+
|
64
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
65
|
+
|
66
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
67
|
+
|
68
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
69
|
+
|
70
|
+
<li><a href="./LICENSE_txt.html">LICENSE</a>
|
71
|
+
|
72
|
+
<li><a href="./README_md.html">README</a>
|
73
|
+
|
74
|
+
<li><a href="./spec/fixtures/custom/templates/custom_bar_template/custom_bar_txt.html">custom_bar</a>
|
75
|
+
|
76
|
+
<li><a href="./tasks/gem/README_md.html">README</a>
|
77
|
+
|
78
|
+
<li><a href="./templates/js/Gemfile.html">Gemfile</a>
|
79
|
+
|
80
|
+
<li><a href="./templates/js/Guardfile.html">Guardfile</a>
|
81
|
+
|
82
|
+
<li><a href="./templates/js/lib/README_md.html">README</a>
|
83
|
+
|
84
|
+
<li><a href="./templates/js/spec/spec_helper_js_coffee.html">spec_helper.js.coffee</a>
|
85
|
+
|
86
|
+
<li><a href="./templates/js/spec/vendor/chai_js.html">chai.js</a>
|
87
|
+
|
88
|
+
<li><a href="./templates/js/spec/vendor/sinon-chai_js.html">sinon-chai.js</a>
|
89
|
+
|
90
|
+
<li><a href="./templates/js/spec/vendor/sinon_js.html">sinon.js</a>
|
91
|
+
|
92
|
+
<li><a href="./templates/js/src/README_md.html">README</a>
|
93
|
+
|
94
|
+
</ul>
|
95
|
+
</div>
|
96
|
+
|
97
|
+
</div>
|
98
|
+
</nav>
|
99
|
+
|
100
|
+
<main role="main" aria-label="Page Guardfile">
|
101
|
+
|
102
|
+
<p># More info at <a
|
103
|
+
href="https://github.com/guard/guard#readme">github.com/guard/guard#readme</a></p>
|
104
|
+
|
105
|
+
<p>notification :terminal_notifier, subtitle: 'ruby.gems.new'</p>
|
106
|
+
|
107
|
+
<p>guard :bundler do</p>
|
108
|
+
|
109
|
+
<pre>watch('Gemfile')</pre>
|
110
|
+
|
111
|
+
<p>end</p>
|
112
|
+
|
113
|
+
<p>guard :rspec, all_after_pass: true, all_on_start: true, cmd: 'bundle
|
114
|
+
exec rspec spec tasks ~/.new/tasks' do</p>
|
115
|
+
|
116
|
+
<pre class="ruby"><span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/.+_spec\.rb$}</span>)
|
117
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^tasks/.+_spec\.rb$}</span>)
|
118
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^tasks/(.+[^_spec])\.rb$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-node">"tasks/#{m[1]}_spec.rb"</span> }
|
119
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^lib/(.+)\.rb$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-node">"spec/lib/#{m[1]}_spec.rb"</span> }
|
120
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-string">'spec/spec_helper.rb'</span>) { <span class="ruby-string">'spec'</span> }
|
121
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-string">'.rspec'</span>) { <span class="ruby-string">'spec'</span> }
|
122
|
+
</pre>
|
123
|
+
|
124
|
+
<p>end</p>
|
125
|
+
</main>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
<footer id="validator-badges" role="contentinfo">
|
130
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
131
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
|
132
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
133
|
+
</footer>
|
134
|
+
|