working 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,4 +1 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in working.gemspec
4
- gemspec
1
+ source :rubygems; gemspec
data/README.md CHANGED
@@ -1,12 +1,14 @@
1
1
  # Working
2
2
 
3
- Whoa!! ☈king's opinionated rig for Ruby / Ruby+Rails dev.
3
+ Whoa!! ☈king's opinionated rig for Ruby dev.
4
4
 
5
5
  - Guard for test running (`bundle exec guard`)
6
6
  - 1:1 mapping between stuff in `lib/` or `app/` and the `test/` dirs.
7
7
  - Spork in effect for faster runs
8
8
 
9
+ # See also:
9
10
 
11
+ http://github.com/rking/working-rails
10
12
 
11
13
  ## Example uses:
12
14
 
@@ -1,3 +1,3 @@
1
1
  module Working
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: working
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-29 00:00:00.000000000 Z
12
+ date: 2013-01-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry-de
@@ -139,8 +139,6 @@ files:
139
139
  - Rakefile
140
140
  - bin/working-init
141
141
  - lib/working.rb
142
- - lib/working/guard.rb
143
- - lib/working/rails_test_helper.rb
144
142
  - lib/working/rake_tasks.rb
145
143
  - lib/working/test_helper.rb
146
144
  - lib/working/version.rb
data/lib/working/guard.rb DELETED
@@ -1,30 +0,0 @@
1
- Guard::Dsl.new.instance_eval do
2
- # Rerun bundler, if needed
3
- guard 'bundler' do watch /^(Gemfile|.*\.gemspec)$/ end
4
-
5
- # These reboot spork completely
6
- guard 'spork',
7
- minitest: true,
8
- test_unit: false,
9
-
10
- # Four lines of Rails stuff:
11
- minitest_unit_env: { 'RAILS_ENV' => 'test' } do
12
- watch %r{config/(?:application|environment(?:s/test)?).rb}
13
- watch %r{^config/initializers/.+\.rb$}
14
- watch /Gemfile(?:\.lock)?/
15
-
16
- watch 'test/test_helper.rb' do :minitest end
17
- end
18
-
19
- guard 'sporkminitest', drb: true do
20
- # Minitest::Unit style test files
21
- watch %r|^test/.*_test\.rb|
22
- watch %r|^lib/(.*)\.rb| do |m| "test/#{m[1]}_test.rb" end
23
- watch %r|^test/test_helper\.rb| do 'test' end
24
-
25
- # Rails app/ dir mapping directly parallel to test/* dirs.
26
- # Assumes all test/* dir names are the same as the dirs in app/*
27
- # Will need adjustment if you use app/controllers ⇒ test/functional, etc.
28
- watch %r|^app/(.*)\.rb| do |m| "test/#{m[1]}_test.rb" end
29
- end
30
- end # end hack
@@ -1,25 +0,0 @@
1
- require 'working/test_helper'
2
-
3
- ENV['RAILS_ENV'] = 'test'
4
- require './config/environment'
5
- require 'rails/test_help'
6
-
7
- # For some reason using pry as `rails c` needs this specially defined:
8
- unless respond_to? :reload!
9
- def reload!
10
- puts "[Performing .reload!]"
11
- ActionDispatch::Reloader.cleanup!
12
- ActionDispatch::Reloader.prepare!
13
- end
14
- end
15
-
16
- class ActiveSupport::TestCase
17
- # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
18
- #
19
- # Note: You'll currently still have to declare fixtures explicitly in integration tests
20
- # -- they do not yet inherit this setting
21
- fixtures :all
22
-
23
- # Add more helper methods to be used by all tests here...
24
- end
25
-