schema_to_scaffold 0.3.1 → 0.3.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/lib/schema_to_scaffold.rb +4 -4
- data/lib/schema_to_scaffold/version.rb +1 -1
- metadata +4 -3
data/lib/schema_to_scaffold.rb
CHANGED
|
@@ -56,10 +56,10 @@ LINUX_SAMPLE
|
|
|
56
56
|
argv.delete('-p')
|
|
57
57
|
end
|
|
58
58
|
args = {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
:xclip => argv.delete('-c'), # check for xclip flag
|
|
60
|
+
:help => argv.delete('-h'), # check for help flag
|
|
61
|
+
:path => path # get path to file(s)
|
|
62
|
+
}
|
|
63
63
|
unless argv.empty?
|
|
64
64
|
puts "\n------\nWrong set of arguments.\n------\n"
|
|
65
65
|
puts help_msg
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: schema_to_scaffold
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2013-
|
|
13
|
+
date: 2013-03-26 00:00:00.000000000 Z
|
|
14
14
|
dependencies: []
|
|
15
15
|
description: ! ' Command line app which parses a schema.rb file obtained from your
|
|
16
16
|
rails repo or by running rake:schema:dump
|
|
@@ -58,8 +58,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
58
58
|
version: '0'
|
|
59
59
|
requirements: []
|
|
60
60
|
rubyforge_project:
|
|
61
|
-
rubygems_version: 1.8.
|
|
61
|
+
rubygems_version: 1.8.15
|
|
62
62
|
signing_key:
|
|
63
63
|
specification_version: 3
|
|
64
64
|
summary: Generate rails scaffold script from a schema.rb file.
|
|
65
65
|
test_files: []
|
|
66
|
+
has_rdoc:
|