motion-util 0.1.8 → 0.1.9
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/lib/motion-util/version.rb
CHANGED
data/test/test_generator.rb
CHANGED
|
@@ -62,6 +62,11 @@ class TestGenerate < Test::Unit::TestCase
|
|
|
62
62
|
assert_equal "spec/controller/foo_tab_bar_controller_spec.rb", @generator.spec_destination_path
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
+
test "spec_destination_path shoudle be 'spec/controller/foo_collection_view_controller.rb' with collection_view_controller, foo" do
|
|
66
|
+
ARGV.replace %w(generate collection_view_controller foo)
|
|
67
|
+
assert_equal "spec/controller/foo_collection_view_controller_spec.rb", @generator.spec_destination_path
|
|
68
|
+
end
|
|
69
|
+
|
|
65
70
|
|
|
66
71
|
test "destination_path shoudle be 'app/foo.rb' with foo" do
|
|
67
72
|
ARGV.replace %w(generate foo)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: motion-util
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.9
|
|
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: 2014-01-
|
|
12
|
+
date: 2014-01-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: It generate class and spec files.
|
|
15
15
|
email:
|
|
@@ -31,6 +31,7 @@ files:
|
|
|
31
31
|
- lib/motion-util/util.rb
|
|
32
32
|
- lib/motion-util/version.rb
|
|
33
33
|
- motion-util.gemspec
|
|
34
|
+
- template/class/collection_view_controller.rb
|
|
34
35
|
- template/class/controller.rb
|
|
35
36
|
- template/class/general.rb
|
|
36
37
|
- template/class/model.rb
|
|
@@ -63,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
63
64
|
version: '0'
|
|
64
65
|
requirements: []
|
|
65
66
|
rubyforge_project: motion-util
|
|
66
|
-
rubygems_version: 1.8.
|
|
67
|
+
rubygems_version: 1.8.28
|
|
67
68
|
signing_key:
|
|
68
69
|
specification_version: 3
|
|
69
70
|
summary: Convenient command set for Ruby Motion.
|