tschmidt-interface-generator 0.1.0 → 0.1.1
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/VERSION +1 -1
- data/interface-generator.gemspec +2 -2
- data/rails_generators/interface_generator.rb +0 -3
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
data/interface-generator.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{interface-generator}
|
|
5
|
-
s.version = "0.1.
|
|
5
|
+
s.version = "0.1.1"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Terry Schmidt"]
|
|
9
|
-
s.date = %q{2009-08-
|
|
9
|
+
s.date = %q{2009-08-05}
|
|
10
10
|
s.email = %q{tschmidt@ext-inc.com}
|
|
11
11
|
s.extra_rdoc_files = [
|
|
12
12
|
"LICENSE",
|
|
@@ -21,7 +21,6 @@ class InterfaceGenerator < Rails::Generator::NamedBase
|
|
|
21
21
|
# args: ["phone_call_interface"]
|
|
22
22
|
def initialize(runtime_args, runtime_options = {})
|
|
23
23
|
super
|
|
24
|
-
puts singular_name
|
|
25
24
|
@name.gsub('Interface', '') if name.include?("Interface")
|
|
26
25
|
@name = "#{name}Interface"
|
|
27
26
|
@class_name = "#{class_name}Interface"
|
|
@@ -29,8 +28,6 @@ class InterfaceGenerator < Rails::Generator::NamedBase
|
|
|
29
28
|
@plural_name = "#{singular_name}_interfaces"
|
|
30
29
|
@table_name = @plural_name
|
|
31
30
|
|
|
32
|
-
puts singular_name
|
|
33
|
-
|
|
34
31
|
@plugin_path = "vendor/plugins/#{file_name}"
|
|
35
32
|
|
|
36
33
|
args.each do |arg|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tschmidt-interface-generator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Terry Schmidt
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-08-
|
|
12
|
+
date: 2009-08-05 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|