orientea 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/orientea/generators/command/USAGE +1 -0
- data/lib/orientea/generators/command/command_generator.rb +7 -0
- data/lib/orientea/generators/command_generator.rb +3 -2
- data/orientea.gemspec +4 -2
- metadata +4 -2
- /data/lib/orientea/{templates → generators/command/templates}/create_command.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8ec3ef10bf54582458d8dc0c731e3afd67d9d2e
|
4
|
+
data.tar.gz: d849a647057e42253bf3d156d4377d8f6d619998
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb2b5b25176468cc72d6fa753d63e0a63e0d0328c91eddbbbaa9c3a4d0ab69588fd5fd1a73611992922119a10e9ad335f3cbd7b4ed8d8955daf7d3e7e34d6579
|
7
|
+
data.tar.gz: 787f77ac7dde5e02212a1eb441e86506406fee4683c5c89dfaa5d486c2ca0ddf4c64e4c2d911dc51d2235b02dd4f771ba79deaa8c0b35a03ed666bb0397fb76e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
@@ -0,0 +1 @@
|
|
1
|
+
rails generate command
|
@@ -1,5 +1,6 @@
|
|
1
|
-
class CommandGenerator < Rails::Generators::
|
2
|
-
source_root File.expand_path('
|
1
|
+
class CommandGenerator < Rails::Generators::Base
|
2
|
+
source_root File.expand_path('./templates', __FILE__)
|
3
|
+
desc "rails g orientea:command"
|
3
4
|
def create_migration
|
4
5
|
migration_template 'create_command.rb', 'db/migrate/create_command_table.rb'
|
5
6
|
end
|
data/orientea.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "orientea"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Vincent Zhu"]
|
@@ -31,8 +31,10 @@ Gem::Specification.new do |s|
|
|
31
31
|
"lib/orientea/changing_command.rb",
|
32
32
|
"lib/orientea/command.rb",
|
33
33
|
"lib/orientea/creating_command.rb",
|
34
|
+
"lib/orientea/generators/command/USAGE",
|
35
|
+
"lib/orientea/generators/command/command_generator.rb",
|
36
|
+
"lib/orientea/generators/command/templates/create_command.rb",
|
34
37
|
"lib/orientea/generators/command_generator.rb",
|
35
|
-
"lib/orientea/templates/create_command.rb",
|
36
38
|
"orientea.gemspec",
|
37
39
|
"spec/changing_command_spec.rb",
|
38
40
|
"spec/creating_command_spec.rb",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orientea
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vincent Zhu
|
@@ -158,8 +158,10 @@ files:
|
|
158
158
|
- lib/orientea/changing_command.rb
|
159
159
|
- lib/orientea/command.rb
|
160
160
|
- lib/orientea/creating_command.rb
|
161
|
+
- lib/orientea/generators/command/USAGE
|
162
|
+
- lib/orientea/generators/command/command_generator.rb
|
163
|
+
- lib/orientea/generators/command/templates/create_command.rb
|
161
164
|
- lib/orientea/generators/command_generator.rb
|
162
|
-
- lib/orientea/templates/create_command.rb
|
163
165
|
- orientea.gemspec
|
164
166
|
- spec/changing_command_spec.rb
|
165
167
|
- spec/creating_command_spec.rb
|
File without changes
|