working-rails 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock ADDED
@@ -0,0 +1,158 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ working-rails (0.0.1)
5
+ better_errors
6
+ pry-rails
7
+ working
8
+
9
+ GEM
10
+ remote: http://rubygems.org/
11
+ specs:
12
+ ansi (1.4.3)
13
+ awesome_print (1.1.0)
14
+ beg (0.0.3)
15
+ guard
16
+ better_errors (0.3.2)
17
+ coderay (>= 1.0.0)
18
+ erubis (>= 2.7.0)
19
+ binding_of_caller (0.6.8)
20
+ bond (0.4.3)
21
+ childprocess (0.3.6)
22
+ ffi (~> 1.0, >= 1.0.6)
23
+ coderay (1.0.8)
24
+ columnize (0.3.6)
25
+ debugger (1.2.3)
26
+ columnize (>= 0.3.1)
27
+ debugger-linecache (~> 1.1.1)
28
+ debugger-ruby_core_source (~> 1.1.5)
29
+ debugger-linecache (1.1.2)
30
+ debugger-ruby_core_source (>= 1.1.1)
31
+ debugger-ruby_core_source (1.1.6)
32
+ diff-lcs (1.1.3)
33
+ diffy (2.1.3)
34
+ erubis (2.7.0)
35
+ ffi (1.2.0)
36
+ grit (2.5.0)
37
+ diff-lcs (~> 1.1)
38
+ mime-types (~> 1.15)
39
+ posix-spawn (~> 0.3.6)
40
+ guard (1.6.1)
41
+ listen (>= 0.6.0)
42
+ lumberjack (>= 1.0.2)
43
+ pry (>= 0.9.10)
44
+ thor (>= 0.14.6)
45
+ guard-bundler (1.0.0)
46
+ bundler (~> 1.0)
47
+ guard (~> 1.1)
48
+ guard-spork (1.4.0)
49
+ childprocess (>= 0.2.3)
50
+ guard (>= 1.1)
51
+ spork (>= 0.8.4)
52
+ guard-sporkminitest (0.0.2)
53
+ guard
54
+ guard-spork
55
+ rb-fsevent
56
+ rb-inotify
57
+ spork-minitest
58
+ interception (0.3)
59
+ jist (1.3.1)
60
+ json
61
+ json (1.7.6)
62
+ listen (0.7.0)
63
+ lumberjack (1.0.2)
64
+ method_source (0.8.1)
65
+ mime-types (1.19)
66
+ minitest (4.3.3)
67
+ nokogiri (1.5.6)
68
+ posix-spawn (0.3.6)
69
+ pry (0.9.10)
70
+ coderay (~> 1.0.5)
71
+ method_source (~> 0.8)
72
+ slop (~> 3.3.1)
73
+ pry-awesome_print (9.6.5)
74
+ awesome_print (~> 1.1.0)
75
+ pry-de (0.1.0)
76
+ guard
77
+ pry-full
78
+ pry-debugger (0.2.1)
79
+ debugger (~> 1.2.0)
80
+ pry (~> 0.9.10)
81
+ pry-developer_tools (0.1.1)
82
+ pry (>= 0.9.8.pre, < 0.11)
83
+ pry-doc (0.4.4)
84
+ pry (>= 0.9.9.6)
85
+ yard (~> 0.8.1)
86
+ pry-docmore (0.0.3)
87
+ pry
88
+ pry-doc
89
+ pry-editline (1.1.1)
90
+ pry-exception_explorer (0.2.3)
91
+ pry-stack_explorer (>= 0.4.6)
92
+ pry-full (1.2.0)
93
+ pry-awesome_print
94
+ pry-developer_tools
95
+ pry-editline
96
+ pry-git
97
+ pry-highlight
98
+ pry-plus
99
+ pry-pretty-numeric
100
+ pry-syntax-hacks
101
+ pry-theme
102
+ pry-git (0.2.3)
103
+ diffy
104
+ grit
105
+ pry (>= 0.9.8)
106
+ pry-highlight (0.0.1)
107
+ coderay
108
+ json
109
+ nokogiri
110
+ pry
111
+ pry-plus (0.2.0)
112
+ bond
113
+ jist
114
+ pry-debugger
115
+ pry-doc
116
+ pry-docmore
117
+ pry-exception_explorer
118
+ pry-rescue
119
+ pry-stack_explorer
120
+ pry-pretty-numeric (0.1.1)
121
+ pry
122
+ pry-rails (0.2.2)
123
+ pry (>= 0.9.10)
124
+ pry-rescue (0.14)
125
+ interception (>= 0.3)
126
+ pry
127
+ pry-stack_explorer (0.4.7)
128
+ binding_of_caller (~> 0.6.8)
129
+ pry-syntax-hacks (0.0.6)
130
+ pry (>= 0.9.8)
131
+ pry-theme (0.1.3)
132
+ json
133
+ rake (10.0.3)
134
+ rb-fsevent (0.9.3)
135
+ rb-inotify (0.8.8)
136
+ ffi (>= 0.5.0)
137
+ slop (3.3.3)
138
+ spork (0.9.2)
139
+ spork-minitest (0.0.3)
140
+ spork
141
+ thor (0.16.0)
142
+ turn (0.9.6)
143
+ ansi
144
+ working (0.0.6)
145
+ beg
146
+ guard-bundler
147
+ guard-sporkminitest
148
+ minitest
149
+ pry-de
150
+ rake
151
+ turn
152
+ yard (0.8.3)
153
+
154
+ PLATFORMS
155
+ ruby
156
+
157
+ DEPENDENCIES
158
+ working-rails!
@@ -24,13 +24,14 @@ Guard::Dsl.new.instance_eval do
24
24
  end
25
25
  end
26
26
 
27
+ require 'active_support/core_ext'
28
+ require 'active_support/inflector/inflections'
27
29
  watch %r|^app/models/(.+).rb| do |m|
28
- plural = m[1]+'s' # TODO: proper Inflection
30
+ plural = m[1].pluralize
29
31
  [ "test/unit/#{m[1]}_test.rb" ] + controller_tests_for(plural)
30
32
  end
31
33
 
32
34
  watch %r(^app/controllers/(.+)_controller.rb) do |m|
33
- warn "HERE"
34
35
  warn (controller_tests_for m[1]).inspect
35
36
  controller_tests_for m[1]
36
37
  end
@@ -1,3 +1,3 @@
1
1
  class WorkingRails
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: working-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -69,6 +69,7 @@ files:
69
69
  - .gemspec
70
70
  - .gitignore
71
71
  - Gemfile
72
+ - Gemfile.lock
72
73
  - LICENSE.txt
73
74
  - README.md
74
75
  - Rakefile