flaming-ironman 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/flaming-ironman.gemspec +3 -0
- data/lib/flaming-ironman/version.rb +1 -1
- data/templates/_guard.snippet +18 -0
- data/templates/bundler.guard +3 -0
- data/templates/delayed.guard +3 -0
- data/templates/livereload.guard +11 -0
- data/templates/pow.guard +9 -0
- data/templates/rails.guard +18 -0
- data/templates/rspec.guard +10 -0
- data/templates/sunspot.guard +4 -0
- metadata +27 -3
data/flaming-ironman.gemspec
CHANGED
@@ -0,0 +1,18 @@
|
|
1
|
+
group :development do
|
2
|
+
# guard
|
3
|
+
gem 'guard-unicorn' # monitor unicorn
|
4
|
+
gem 'guard-rails' # monitor rails
|
5
|
+
gem 'guard-sunspot' # monitor solr
|
6
|
+
gem 'guard-delayed' # monitor delayed jobs
|
7
|
+
gem 'guard-bundler' # monitor bundler
|
8
|
+
gem 'guard-annotate' # https://github.com/cpjolicoeur/guard-annotate
|
9
|
+
gem 'guard-spork'
|
10
|
+
gem 'guard-rspec'
|
11
|
+
|
12
|
+
# guard + livereload (osx)
|
13
|
+
gem 'guard-livereload' # livereload
|
14
|
+
|
15
|
+
# guard notification support
|
16
|
+
gem 'rb-fsevent', '~> 0.9.1'
|
17
|
+
gem 'rb-fchange', :require => false
|
18
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
guard 'livereload', host: 'tutorbuddies.dev' do
|
2
|
+
watch(%r{app/controllers/.+\.(rb)$})
|
3
|
+
watch(%r{app/models/.+\.(rb)$})
|
4
|
+
watch(%r{app/helpers/.+\.rb})
|
5
|
+
watch(%r{app/views/.+\.(erb|haml|slim)$})
|
6
|
+
watch(%r{public/.+\.(css|js|html)})
|
7
|
+
watch(%r{config/locales/.+\.yml})
|
8
|
+
# Rails Assets Pipeline
|
9
|
+
watch(%r{app/assets/.+\.(js|coffee|css|scss|sass|less|jpg|jpeg|gif|png)$})
|
10
|
+
watch(%r{(app|vendor)/assets/\w+/(.+\.(css|js|html)).*}) { |m| "/assets/#{m[2]}" }
|
11
|
+
end
|
data/templates/pow.guard
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
guard 'rails', :host => "127.0.0.1", :port => '35728' do
|
2
|
+
watch('Gemfile.lock')
|
3
|
+
# Rails
|
4
|
+
watch(%r{app/controllers/.+\.(rb)$})
|
5
|
+
watch(%r{app/helpers/.+\.rb})
|
6
|
+
watch(%r{app/mailers/.+\.(rb)$})
|
7
|
+
watch(%r{app/models/.+\.(rb)$})
|
8
|
+
watch(%r{app/serializers/.+\.(rb)$})
|
9
|
+
watch(%r{app/uploaders/.+\.rb})
|
10
|
+
watch(%r{app/views/.+\.(erb|haml|slim)$})
|
11
|
+
watch(%r{public/.+\.(css|js|html)})
|
12
|
+
watch(%r{config/initializers/.+\.yml})
|
13
|
+
watch(%r{config/locales/.+\.yml})
|
14
|
+
watch(%r{^lib/(.+)\.rb})
|
15
|
+
# Asset Pipeline
|
16
|
+
watch(%r{app/assets/.+\.(js|coffee|css|scss|sass|less|jpg|jpeg|gif|png)$})
|
17
|
+
watch(%r{(app|vendor)/assets/\w+/(.+\.(css|js|html)).*}) { |m| "/assets/#{m[2]}" }
|
18
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
guard 'rspec' do
|
2
|
+
watch('spec/spec_helper.rb') { "spec" }
|
3
|
+
watch('config/routes.rb') { "spec/routing" }
|
4
|
+
watch('app/controllers/application_controller.rb') { "spec/controllers" }
|
5
|
+
watch(%r{^spec/.+_spec\.rb$})
|
6
|
+
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
7
|
+
watch(%r{^app/(.*)(\.erb|\.haml)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
8
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
9
|
+
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
|
10
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flaming-ironman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -139,6 +139,22 @@ dependencies:
|
|
139
139
|
- - ! '>='
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: thin
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
type: :runtime
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
142
158
|
description: Experiment with development gem kits
|
143
159
|
email:
|
144
160
|
- john@johnantoni.com
|
@@ -154,6 +170,14 @@ files:
|
|
154
170
|
- flaming-ironman.gemspec
|
155
171
|
- lib/flaming-ironman.rb
|
156
172
|
- lib/flaming-ironman/version.rb
|
173
|
+
- templates/_guard.snippet
|
174
|
+
- templates/bundler.guard
|
175
|
+
- templates/delayed.guard
|
176
|
+
- templates/livereload.guard
|
177
|
+
- templates/pow.guard
|
178
|
+
- templates/rails.guard
|
179
|
+
- templates/rspec.guard
|
180
|
+
- templates/sunspot.guard
|
157
181
|
homepage: ''
|
158
182
|
licenses: []
|
159
183
|
post_install_message:
|
@@ -168,7 +192,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
168
192
|
version: '0'
|
169
193
|
segments:
|
170
194
|
- 0
|
171
|
-
hash:
|
195
|
+
hash: 4033394753539533849
|
172
196
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
197
|
none: false
|
174
198
|
requirements:
|
@@ -177,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
201
|
version: '0'
|
178
202
|
segments:
|
179
203
|
- 0
|
180
|
-
hash:
|
204
|
+
hash: 4033394753539533849
|
181
205
|
requirements: []
|
182
206
|
rubyforge_project:
|
183
207
|
rubygems_version: 1.8.23
|