otis-generator 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +26 -0
- data/Rakefile +1 -0
- data/bin/otis +7 -0
- data/lib/otis/generator.rb +8 -0
- data/lib/otis/generator/cli.rb +97 -0
- data/lib/otis/generator/routes_presenter.rb +19 -0
- data/lib/otis/generator/templates/newgem.tt +2 -0
- data/lib/otis/generator/templates/newgem/.travis.yml.tt +3 -0
- data/lib/otis/generator/templates/newgem/Gemfile.tt +10 -0
- data/lib/otis/generator/templates/newgem/LICENSE.txt.tt +22 -0
- data/lib/otis/generator/templates/newgem/README.md.tt +29 -0
- data/lib/otis/generator/templates/newgem/Rakefile.tt +6 -0
- data/lib/otis/generator/templates/newgem/bin/newgem.tt +3 -0
- data/lib/otis/generator/templates/newgem/gitignore.tt +17 -0
- data/lib/otis/generator/templates/newgem/lib/newgem.rb.tt +16 -0
- data/lib/otis/generator/templates/newgem/lib/newgem/model.rb.tt +4 -0
- data/lib/otis/generator/templates/newgem/lib/newgem/version.rb.tt +7 -0
- data/lib/otis/generator/templates/newgem/newgem.gemspec.tt +28 -0
- data/lib/otis/generator/templates/newgem/rspec.tt +2 -0
- data/lib/otis/generator/templates/newgem/spec/integration/newgem_integration_spec.tt +17 -0
- data/lib/otis/generator/templates/newgem/spec/newgem_spec.rb.tt +11 -0
- data/lib/otis/generator/templates/newgem/spec/spec_helper.rb.tt +10 -0
- data/lib/otis/generator/version.rb +5 -0
- data/otis-generator.gemspec +26 -0
- metadata +128 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MjViZDM5YTJhOGNlNmRmMjE1NDYyZjk4MTdhNGJmNDNkYzM4OWY1Yw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NzI1MTcwYjE2ZDllMjIyYjZlNTA1ZmRiNDZjMDM4ZjRhYTQ0NGNiMA==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
Mjk4OTQ1MDQ1M2Q2YWE3MTE2MzdkYjRhYjA1NjVhYWQ0YjdkOGNlZWEzOTc3
|
10
|
+
YzkyZDc3OGE4NjBhYTdiM2E5MDM4YjU1YmYxNmJmMDJhOGYxZDExZjY4OGI0
|
11
|
+
NzkxOWQyNzc4ODY1NDZkMmFkMmQ1M2EwZmM2YTZmMGI5YWIyZDg=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NjMwZjg2YThhNWNhMzI4OGU4ZWYwMjIzOGEwYWRlYWU3MjczZDRhODdjMDY3
|
14
|
+
MzNhNDc1ZTE1Y2Q2ZmNlYjc2OWFjMTA4OTMwNGVhNTVkNWE1Zjk4ZDMxMzc3
|
15
|
+
ZjcwODAzYjdmMjRjN2ZkMDFmYjU3N2IwMTUzNDY1NGIwM2EzYTI=
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 tbueno
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# Otis::Generator
|
2
|
+
|
3
|
+
This is a gem wrapper generator for [Otis Framework](https://github.com/tbueno/otis).
|
4
|
+
|
5
|
+
The current version is able to generate SOAP wrappers based on a input WSDL file.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
$ gem install otis-generator
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
In order to generate a gem, you need a WSDL file as input.
|
14
|
+
|
15
|
+
$ otis generate mygem --wsdl=my_file.wsdl
|
16
|
+
|
17
|
+
This command will generate a [Otis](https://github.com/tbueno/otis) wrapper, containing models, mapper and integration test infrastructure.
|
18
|
+
|
19
|
+
|
20
|
+
## Contributing
|
21
|
+
|
22
|
+
1. Fork it
|
23
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
24
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
25
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
26
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/otis
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
module Otis
|
2
|
+
module Generator
|
3
|
+
class CLI < Thor
|
4
|
+
include Thor::Actions
|
5
|
+
argument :name
|
6
|
+
|
7
|
+
def self.source_root
|
8
|
+
File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
|
9
|
+
end
|
10
|
+
|
11
|
+
#TODO: make it generate a simples structure without the WSDL
|
12
|
+
desc "generate NAME", "Generates gem structure based on a WSDL file"
|
13
|
+
method_option :wsdl, :aliases => "-w", :desc => "Input WSDL to be used as reference"
|
14
|
+
option :wsdl
|
15
|
+
def generate
|
16
|
+
wsdl = options[:wsdl]
|
17
|
+
n = name
|
18
|
+
name = n.chomp("/") # remove trailing slash if present
|
19
|
+
unless wsdl
|
20
|
+
puts "You did not provide any WSDL file. Sorry, I can't guess the structure of the webservice without it!"
|
21
|
+
puts "Bye."
|
22
|
+
exit
|
23
|
+
end
|
24
|
+
routes = routes(wsdl)
|
25
|
+
|
26
|
+
generate_soap(name, routes)
|
27
|
+
|
28
|
+
namespaced_path = name.tr('-', '/')
|
29
|
+
target = File.join(Dir.pwd, name)
|
30
|
+
create_config(target, wsdl)
|
31
|
+
|
32
|
+
constant_name = constantize(name)
|
33
|
+
constant_array = constant_name.split('::')
|
34
|
+
git_user_name = `git config user.name`.chomp
|
35
|
+
git_user_email = `git config user.email`.chomp
|
36
|
+
opts = {
|
37
|
+
:name => name,
|
38
|
+
:models => routes.keys,
|
39
|
+
:namespaced_path => namespaced_path,
|
40
|
+
:constant_name => constant_name,
|
41
|
+
:routes => Otis::Generator::RoutesPresenter.new(routes),
|
42
|
+
:wsdl => wsdl,
|
43
|
+
:constant_array => constant_array,
|
44
|
+
:author => git_user_name.empty? ? "TODO: Write your name" : git_user_name,
|
45
|
+
:email => git_user_email.empty? ? "TODO: Write your email address" : git_user_email,
|
46
|
+
:test => options[:test]
|
47
|
+
}
|
48
|
+
|
49
|
+
gemspec_dest = File.join(target, "#{name}.gemspec")
|
50
|
+
template(File.join("newgem/Gemfile.tt"), File.join(target, "Gemfile"), opts)
|
51
|
+
template(File.join("newgem/Rakefile.tt"), File.join(target, "Rakefile"), opts)
|
52
|
+
template(File.join("newgem/LICENSE.txt.tt"), File.join(target, "LICENSE.txt"), opts)
|
53
|
+
template(File.join("newgem/README.md.tt"), File.join(target, "README.md"), opts)
|
54
|
+
template(File.join("newgem/gitignore.tt"), File.join(target, ".gitignore"), opts)
|
55
|
+
template(File.join("newgem/newgem.gemspec.tt"), gemspec_dest, opts)
|
56
|
+
template(File.join("newgem/lib/newgem.rb.tt"), File.join(target, "lib/#{namespaced_path}.rb"), opts)
|
57
|
+
template(File.join("newgem/lib/newgem/version.rb.tt"), File.join(target, "lib/#{namespaced_path}/version.rb"), opts)
|
58
|
+
|
59
|
+
template(File.join("newgem/rspec.tt"), File.join(target, ".rspec"), opts)
|
60
|
+
template(File.join("newgem/spec/spec_helper.rb.tt"), File.join(target, "spec/spec_helper.rb"), opts)
|
61
|
+
template(File.join("newgem/spec/newgem_spec.rb.tt"), File.join(target, "spec/#{namespaced_path}/#{namespaced_path}_spec.rb"), opts)
|
62
|
+
template(File.join("newgem/spec/integration/newgem_integration_spec.tt"), File.join(target, "spec/integration/#{namespaced_path}_integration_spec.rb"), opts)
|
63
|
+
|
64
|
+
Dir.chdir(target) { `git init`; `git add .` }
|
65
|
+
end
|
66
|
+
|
67
|
+
private
|
68
|
+
def generate_soap(name, routes)
|
69
|
+
target = File.join(Dir.pwd, name)
|
70
|
+
# Generate the models
|
71
|
+
routes.each_pair do |file_name, class_name|
|
72
|
+
template(File.join("newgem/lib/newgem/model.rb.tt"), File.join(target, "lib/#{name}/#{file_name.to_s}.rb"), {klass: class_name, name: constantize(name)})
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
def create_config(target, wsdl)
|
77
|
+
config = File.join(target, 'config')
|
78
|
+
Dir.mkdir(config)
|
79
|
+
FileUtils.cp wsdl, File.join(config, wsdl)
|
80
|
+
end
|
81
|
+
|
82
|
+
def routes(wsdl)
|
83
|
+
#TODO: Make it break nicely when the file is not found.
|
84
|
+
routes = {}
|
85
|
+
keys = Savon.client(wsdl: "./#{wsdl}").operations
|
86
|
+
keys.each {|name| routes[name] = constantize(name.to_s)}
|
87
|
+
routes
|
88
|
+
end
|
89
|
+
|
90
|
+
def constantize(name)
|
91
|
+
constant_name = name.split('_').map{|p| p[0..0].upcase + p[1..-1] }.join
|
92
|
+
constant_name.split('-').map{|q| q[0..0].upcase + q[1..-1] }.join('::') if constant_name =~ /-/
|
93
|
+
constant_name
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Otis
|
2
|
+
module Generator
|
3
|
+
class RoutesPresenter
|
4
|
+
def initialize(routes)
|
5
|
+
@routes = routes
|
6
|
+
end
|
7
|
+
|
8
|
+
def endpoints
|
9
|
+
@routes.keys
|
10
|
+
end
|
11
|
+
|
12
|
+
def map
|
13
|
+
s = ''
|
14
|
+
@routes.each_pair { |route, klass| s << ":#{route} => #{klass},\n" }
|
15
|
+
s
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) <%=Time.now.year%> <%=config[:author]%>
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# <%=config[:constant_name]%>
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem '<%=config[:name]%>'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install <%=config[:name]%>
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require "<%=config[:namespaced_path]%>/version"
|
2
|
+
|
3
|
+
<%- config[:constant_array].each_with_index do |c,i| -%>
|
4
|
+
<%= ' '*i %>module <%= c %>
|
5
|
+
<%- end -%>
|
6
|
+
|
7
|
+
require '<%= config[:namespaced_path] %>/<%= config[:models] * "'\n require '#{config[:namespaced_path]}/" %>'
|
8
|
+
|
9
|
+
Map = Otis::Map.new(
|
10
|
+
<%= config[:routes].map %>
|
11
|
+
)
|
12
|
+
|
13
|
+
<%= ' '*config[:constant_array].size %># Your code goes here...
|
14
|
+
<%- (config[:constant_array].size-1).downto(0) do |i| -%>
|
15
|
+
<%= ' '*i %>end
|
16
|
+
<%- end -%>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require '<%=config[:namespaced_path]%>/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = <%=config[:name].inspect%>
|
8
|
+
spec.version = <%=config[:constant_name]%>::VERSION
|
9
|
+
spec.authors = [<%=config[:author].inspect%>]
|
10
|
+
spec.email = [<%=config[:email].inspect%>]
|
11
|
+
spec.description = %q{TODO: Write a gem description}
|
12
|
+
spec.summary = %q{TODO: Write a gem summary}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "rake"
|
22
|
+
spec.add_development_dependency "rspec"
|
23
|
+
spec.add_development_dependency "vcr"
|
24
|
+
spec.add_development_dependency "webmock"
|
25
|
+
spec.add_dependency 'savon', '~> 2.2.0'
|
26
|
+
spec.add_dependency 'otis'
|
27
|
+
|
28
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'integration tests' do
|
4
|
+
let(:routes) do
|
5
|
+
<%= constantize(config[:name]) %>::Map
|
6
|
+
end
|
7
|
+
|
8
|
+
let(:client) { Otis::SoapClient.new(routes, "config/<%= config[:wsdl] %>") }
|
9
|
+
|
10
|
+
<%- config[:routes].endpoints.each do |route| %>
|
11
|
+
describe '<%= route.to_s %>' do
|
12
|
+
it 'does something' do
|
13
|
+
peding
|
14
|
+
end
|
15
|
+
end
|
16
|
+
<%- end %>
|
17
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'otis/generator/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "otis-generator"
|
8
|
+
spec.version = Otis::Generator::VERSION
|
9
|
+
spec.authors = ["tbueno"]
|
10
|
+
spec.email = ["tbueno@tbueno.com"]
|
11
|
+
spec.description = %q{An Otis Wrapper gem generator}
|
12
|
+
spec.summary = %q{This is an extension the Otis Framework that adds code generation features}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
|
24
|
+
spec.add_dependency 'savon', '~> 2.2.0'
|
25
|
+
spec.add_dependency 'thor'
|
26
|
+
end
|
metadata
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: otis-generator
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- tbueno
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-02-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: savon
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.2.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.2.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: thor
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: An Otis Wrapper gem generator
|
70
|
+
email:
|
71
|
+
- tbueno@tbueno.com
|
72
|
+
executables:
|
73
|
+
- otis
|
74
|
+
extensions: []
|
75
|
+
extra_rdoc_files: []
|
76
|
+
files:
|
77
|
+
- .gitignore
|
78
|
+
- Gemfile
|
79
|
+
- LICENSE.txt
|
80
|
+
- README.md
|
81
|
+
- Rakefile
|
82
|
+
- bin/otis
|
83
|
+
- lib/otis/generator.rb
|
84
|
+
- lib/otis/generator/cli.rb
|
85
|
+
- lib/otis/generator/routes_presenter.rb
|
86
|
+
- lib/otis/generator/templates/newgem.tt
|
87
|
+
- lib/otis/generator/templates/newgem/.travis.yml.tt
|
88
|
+
- lib/otis/generator/templates/newgem/Gemfile.tt
|
89
|
+
- lib/otis/generator/templates/newgem/LICENSE.txt.tt
|
90
|
+
- lib/otis/generator/templates/newgem/README.md.tt
|
91
|
+
- lib/otis/generator/templates/newgem/Rakefile.tt
|
92
|
+
- lib/otis/generator/templates/newgem/bin/newgem.tt
|
93
|
+
- lib/otis/generator/templates/newgem/gitignore.tt
|
94
|
+
- lib/otis/generator/templates/newgem/lib/newgem.rb.tt
|
95
|
+
- lib/otis/generator/templates/newgem/lib/newgem/model.rb.tt
|
96
|
+
- lib/otis/generator/templates/newgem/lib/newgem/version.rb.tt
|
97
|
+
- lib/otis/generator/templates/newgem/newgem.gemspec.tt
|
98
|
+
- lib/otis/generator/templates/newgem/rspec.tt
|
99
|
+
- lib/otis/generator/templates/newgem/spec/integration/newgem_integration_spec.tt
|
100
|
+
- lib/otis/generator/templates/newgem/spec/newgem_spec.rb.tt
|
101
|
+
- lib/otis/generator/templates/newgem/spec/spec_helper.rb.tt
|
102
|
+
- lib/otis/generator/version.rb
|
103
|
+
- otis-generator.gemspec
|
104
|
+
homepage: ''
|
105
|
+
licenses:
|
106
|
+
- MIT
|
107
|
+
metadata: {}
|
108
|
+
post_install_message:
|
109
|
+
rdoc_options: []
|
110
|
+
require_paths:
|
111
|
+
- lib
|
112
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ! '>='
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - ! '>='
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
requirements: []
|
123
|
+
rubyforge_project:
|
124
|
+
rubygems_version: 2.1.11
|
125
|
+
signing_key:
|
126
|
+
specification_version: 4
|
127
|
+
summary: This is an extension the Otis Framework that adds code generation features
|
128
|
+
test_files: []
|