gemplate 0.0.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.
- checksums.yaml +7 -0
- data/.gitignore +5 -0
- data/.rspec +2 -0
- data/.rubocop.yml +2 -0
- data/.travis.yml +13 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +29 -0
- data/Rakefile +14 -0
- data/bin/gemplate +51 -0
- data/gemplate.gemspec +27 -0
- data/lib/gemplate.rb +89 -0
- data/spec/gemplate_spec.rb +9 -0
- data/spec/spec_helper.rb +10 -0
- data/template/.gitignore +5 -0
- data/template/.rspec +2 -0
- data/template/.rubocop.yml +2 -0
- data/template/.travis.yml +11 -0
- data/template/Gemfile +4 -0
- data/template/LICENSE +22 -0
- data/template/README.md +22 -0
- data/template/REPO_NAME.gemspec +21 -0
- data/template/Rakefile +14 -0
- data/template/lib/REPO_NAME.rb +0 -0
- data/template/spec/REPO_NAME_spec.rb +2 -0
- data/template/spec/spec_helper.rb +10 -0
- metadata +197 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f4de43aa47366852ef272bcc39cce69f23cc135b
|
4
|
+
data.tar.gz: dcfd0a0d2ea73448f69eb75f95825c462762414a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 387f5725fd412f3335e5ff3d83d56c20d98ab243d765ab63b178250713db5b37aa63a7768640458ee059983190d1a0c3ac5194a63714d3377bdcd880f1413651
|
7
|
+
data.tar.gz: 54ba37b53ace3a2d730db654526ec6f464681a3b8b100501422784223f3807aede69df6474568fde576eeced8ec7d778225436a169ceaf6952163869efd46d6a
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
language: ruby
|
2
|
+
cache: bundler
|
3
|
+
rvm:
|
4
|
+
- 2.1.0
|
5
|
+
- 2.0.0
|
6
|
+
- 1.9.3
|
7
|
+
notifications:
|
8
|
+
email: false
|
9
|
+
irc:
|
10
|
+
template:
|
11
|
+
- '%{repository}/%{branch}/%{build_number}: %{message} -- %{build_url}'
|
12
|
+
channels:
|
13
|
+
secure: dfgPyDmu7m8ZKo/4oViD743hueQ7LmLDmDkqgQ8a0BTOZniOpjbR7HL511VrewASmS5BQ9wU8yRXPdsv69A4OYypgc2fZRChwjalU0em1wgeetPZxOCDfbdEW4hD9UZwfAJO2q61rZAifJIdl6FkeEN0t2J6z+C8pcjJHXDcLa8=
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2014 Les Aker
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
22
|
+
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
gemplate
|
2
|
+
=========
|
3
|
+
|
4
|
+
[](https://rubygems.org/gems/gemplate)
|
5
|
+
[](https://gemnasium.com/akerl/gemplate)
|
6
|
+
[](https://codeclimate.com/github/akerl/gemplate)
|
7
|
+
[](https://coveralls.io/r/akerl/gemplate)
|
8
|
+
[](https://travis-ci.org/akerl/gemplate)
|
9
|
+
[](https://tldrlegal.com/license/mit-license)
|
10
|
+
|
11
|
+
Bootstrap tool for making new gems.
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
Pretty simple: just run gemplate from the directory where you want your gem's repository to be created, and give it a name:
|
16
|
+
|
17
|
+
```
|
18
|
+
cd place/where/i/keep/my/code/
|
19
|
+
gemplate my_gem
|
20
|
+
```
|
21
|
+
|
22
|
+
## Installation
|
23
|
+
|
24
|
+
gem install gemplate
|
25
|
+
|
26
|
+
## License
|
27
|
+
|
28
|
+
gemplate is released under the MIT License. See the bundled LICENSE file for details.
|
29
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'bundler/gem_tasks'
|
2
|
+
require 'rspec/core/rake_task'
|
3
|
+
require 'rubocop/rake_task'
|
4
|
+
|
5
|
+
desc 'Run tests'
|
6
|
+
RSpec::Core::RakeTask.new(:spec)
|
7
|
+
|
8
|
+
desc 'Run Rubocop on the gem'
|
9
|
+
Rubocop::RakeTask.new(:rubocop) do |task|
|
10
|
+
task.patterns = ['lib/**/*.rb', 'spec/**/*.rb', 'bin/**/*']
|
11
|
+
task.fail_on_error = true
|
12
|
+
end
|
13
|
+
|
14
|
+
task default: [:spec, :rubocop, :build, :install]
|
data/bin/gemplate
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'gemplate'
|
4
|
+
require 'userinput'
|
5
|
+
require 'rugged'
|
6
|
+
require 'curb'
|
7
|
+
|
8
|
+
name = ARGV.first
|
9
|
+
name = UserInput.new(message: 'Gem name', default: name).ask
|
10
|
+
|
11
|
+
user = Rugged::Config.global['github.user'] || ENV['USER']
|
12
|
+
user = UserInput.new(message: 'GitHub username', default: user).ask
|
13
|
+
|
14
|
+
full_name = Rugged::Config.global['user.name']
|
15
|
+
full_name = UserInput.new(message: 'Full name', default: full_name).ask
|
16
|
+
|
17
|
+
email = Rugged::Config.global['user.email']
|
18
|
+
email = UserInput.new(message: 'Email address', default: email).ask
|
19
|
+
|
20
|
+
irc_command = `security find-generic-password -g -s TravisIRC 2>&1`.split "\n"
|
21
|
+
irc_stanza = irc_command.each_with_object(['', '']) do |x, o|
|
22
|
+
o[1] = x.split[1][1..-2] if x.match(/^password/)
|
23
|
+
o[0] = x.split('=')[1][1..-2] if x.match(/^[\s"]*acct/)
|
24
|
+
end.join(',')
|
25
|
+
irc_stanza = UserInput.new(
|
26
|
+
message: 'IRC channel/key',
|
27
|
+
default: irc_stanza
|
28
|
+
).ask
|
29
|
+
|
30
|
+
license_validation = proc do |lname|
|
31
|
+
url = "https://raw.githubusercontent.com/akerl/licenses/master/#{lname}.txt"
|
32
|
+
Curl::Easy.http_head(url).response_code == 200
|
33
|
+
end
|
34
|
+
|
35
|
+
puts 'Available licenses can be found here: https://github.com/akerl/licenses'
|
36
|
+
license = UserInput.new(
|
37
|
+
message: 'License',
|
38
|
+
default: 'MIT',
|
39
|
+
validation: license_validation
|
40
|
+
).ask
|
41
|
+
|
42
|
+
Gemplate.new(
|
43
|
+
name: name,
|
44
|
+
user: user,
|
45
|
+
full_name: full_name,
|
46
|
+
email: email,
|
47
|
+
irc_stanza: irc_stanza,
|
48
|
+
license: license
|
49
|
+
).create
|
50
|
+
|
51
|
+
puts 'New gem has been created!'
|
data/gemplate.gemspec
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = 'gemplate'
|
3
|
+
s.version = '0.0.1'
|
4
|
+
s.date = Time.now.strftime("%Y-%m-%d")
|
5
|
+
|
6
|
+
s.summary = 'Bootstrap tool for making gems'
|
7
|
+
s.description = 'Creates a basic repository layout for a new gem'
|
8
|
+
s.authors = ['Les Aker']
|
9
|
+
s.email = 'me@lesaker.org'
|
10
|
+
s.homepage = 'https://github.com/akerl/gemplate'
|
11
|
+
s.license = 'MIT'
|
12
|
+
|
13
|
+
s.files = `git ls-files`.split
|
14
|
+
s.test_files = `git ls-files spec/*`.split
|
15
|
+
s.executables = ['gemplate']
|
16
|
+
|
17
|
+
s.add_dependency 'travis', '~> 1.6.8'
|
18
|
+
s.add_dependency 'rugged', '~> 0.19.0'
|
19
|
+
s.add_dependency 'userinput', '~> 0.0.2'
|
20
|
+
s.add_dependency 'curb', '~> 0.8.5'
|
21
|
+
|
22
|
+
s.add_development_dependency 'rubocop', '~> 0.19.0'
|
23
|
+
s.add_development_dependency 'rake', '~> 10.2.1'
|
24
|
+
s.add_development_dependency 'coveralls', '~> 0.7.0'
|
25
|
+
s.add_development_dependency 'rspec', '~> 2.14.1'
|
26
|
+
s.add_development_dependency 'fuubar', '~> 1.3.2'
|
27
|
+
end
|
data/lib/gemplate.rb
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
require 'travis'
|
2
|
+
require 'rugged'
|
3
|
+
require 'pathname'
|
4
|
+
require 'fileutils'
|
5
|
+
require 'curb'
|
6
|
+
|
7
|
+
##
|
8
|
+
# Bootstrap tool for new gems
|
9
|
+
module Gemplate
|
10
|
+
class << self
|
11
|
+
##
|
12
|
+
# Insert a helper .new() method for creating a new Gem object
|
13
|
+
|
14
|
+
def new(*args)
|
15
|
+
self::Gem.new(*args)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
TEMPLATE = "#{Pathname.new(__FILE__).parent.parent}/template"
|
20
|
+
LICENSE_URL = 'https://raw.githubusercontent.com/akerl/licenses/master'
|
21
|
+
|
22
|
+
##
|
23
|
+
# Gem directory object
|
24
|
+
class Gem
|
25
|
+
def initialize(params = {})
|
26
|
+
@name = params[:name]
|
27
|
+
@user = params[:user]
|
28
|
+
@full_name = params[:full_name]
|
29
|
+
@email = params[:email]
|
30
|
+
@irc_stanza = params[:irc_stanza]
|
31
|
+
@license = params[:license]
|
32
|
+
end
|
33
|
+
|
34
|
+
def create
|
35
|
+
create_directory
|
36
|
+
process_templates
|
37
|
+
adjust_files
|
38
|
+
add_license
|
39
|
+
make_repo
|
40
|
+
configure_travis
|
41
|
+
end
|
42
|
+
|
43
|
+
private
|
44
|
+
|
45
|
+
def create_directory
|
46
|
+
fail "#{@name} already exists" if File.exist? @name
|
47
|
+
FileUtils.cp_r TEMPLATE, @name
|
48
|
+
Dir.chdir @name
|
49
|
+
end
|
50
|
+
|
51
|
+
def process_templates
|
52
|
+
Dir.glob('**/*').each do |path|
|
53
|
+
next unless File.file? path
|
54
|
+
text = File.read path
|
55
|
+
[[/AUTHOR_NAME/, @user], [/LICENSE_NAME/, @license],
|
56
|
+
[/FULL_NAME/, @full_name], [/REPO_NAME/, @name],
|
57
|
+
[/EMAIL_ADDRESS/, @email]].each { |regex, new| text.gsub! regex, new }
|
58
|
+
File.open(path, 'w') { |fh| fh.write text }
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
def adjust_files
|
63
|
+
moves = [['REPO_NAME.gemspec', "#{@name}.gemspec"],
|
64
|
+
['lib/REPO_NAME.rb', "lib/#{@name}.rb"],
|
65
|
+
['spec/REPO_NAME_spec.rb', "spec/#{@name}_spec.rb"]]
|
66
|
+
moves.each { |original, new| FileUtils.move original, new }
|
67
|
+
end
|
68
|
+
|
69
|
+
def add_license
|
70
|
+
url = "#{LICENSE_URL}/#{@license}.txt"
|
71
|
+
File.open('LICENSE', 'w') do |fh|
|
72
|
+
text = Curl::Easy.perform(url).body_str
|
73
|
+
fh.write text
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
def make_repo
|
78
|
+
Rugged::Repository.init_at '.'
|
79
|
+
`git remote add origin "git@github.com:#{@user}/#{@name}"`
|
80
|
+
end
|
81
|
+
|
82
|
+
def configure_travis
|
83
|
+
args = [
|
84
|
+
'encrypt', '-p', '--add', 'notifications.irc.channels', @irc_stanza
|
85
|
+
]
|
86
|
+
Travis::CLI.run(args)
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
data/spec/spec_helper.rb
ADDED
data/template/.gitignore
ADDED
data/template/.rspec
ADDED
data/template/Gemfile
ADDED
data/template/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2014 FULL_NAME
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
22
|
+
|
data/template/README.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
REPO_NAME
|
2
|
+
=========
|
3
|
+
|
4
|
+
[](https://rubygems.org/gems/REPO_NAME)
|
5
|
+
[](https://gemnasium.com/AUTHOR_NAME/REPO_NAME)
|
6
|
+
[](https://codeclimate.com/github/AUTHOR_NAME/REPO_NAME)
|
7
|
+
[](https://coveralls.io/r/AUTHOR_NAME/REPO_NAME)
|
8
|
+
[](https://travis-ci.org/AUTHOR_NAME/REPO_NAME)
|
9
|
+
[](https://tldrlegal.com/license/mit-license)
|
10
|
+
|
11
|
+
SHORT_DESCRIPTION
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
## Installation
|
16
|
+
|
17
|
+
gem install REPO_NAME
|
18
|
+
|
19
|
+
## License
|
20
|
+
|
21
|
+
REPO_NAME is released under the LICENSE_NAME License. See the bundled LICENSE file for details.
|
22
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = 'REPO_NAME'
|
3
|
+
s.version = '0.0.1'
|
4
|
+
s.date = Time.now.strftime("%Y-%m-%d")
|
5
|
+
|
6
|
+
s.summary = ''
|
7
|
+
s.description = ""
|
8
|
+
s.authors = ['FULL_NAME']
|
9
|
+
s.email = 'EMAIL_ADDRESS'
|
10
|
+
s.homepage = 'https://github.com/AUTHOR_NAME/REPO_NAME'
|
11
|
+
s.license = 'MIT'
|
12
|
+
|
13
|
+
s.files = `git ls-files`.split
|
14
|
+
s.test_files = `git ls-files spec/*`.split
|
15
|
+
|
16
|
+
s.add_development_dependency 'rubocop', '~> 0.19.0'
|
17
|
+
s.add_development_dependency 'rake', '~> 10.2.1'
|
18
|
+
s.add_development_dependency 'coveralls', '~> 0.7.0'
|
19
|
+
s.add_development_dependency 'rspec', '~> 2.14.1'
|
20
|
+
s.add_development_dependency 'fuubar', '~> 1.3.2'
|
21
|
+
end
|
data/template/Rakefile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'bundler/gem_tasks'
|
2
|
+
require 'rspec/core/rake_task'
|
3
|
+
require 'rubocop/rake_task'
|
4
|
+
|
5
|
+
desc 'Run tests'
|
6
|
+
RSpec::Core::RakeTask.new(:spec)
|
7
|
+
|
8
|
+
desc 'Run Rubocop on the gem'
|
9
|
+
Rubocop::RakeTask.new(:rubocop) do |task|
|
10
|
+
task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
|
11
|
+
task.fail_on_error = true
|
12
|
+
end
|
13
|
+
|
14
|
+
task default: [:spec, :rubocop, :build, :install]
|
File without changes
|
metadata
ADDED
@@ -0,0 +1,197 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: gemplate
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Les Aker
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-04-04 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: travis
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.6.8
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.6.8
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rugged
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.19.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.19.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: userinput
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.0.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.0.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: curb
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.8.5
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.8.5
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubocop
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.19.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.19.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 10.2.1
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 10.2.1
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: coveralls
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ~>
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.7.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.7.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 2.14.1
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 2.14.1
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: fuubar
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ~>
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.3.2
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ~>
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.3.2
|
139
|
+
description: Creates a basic repository layout for a new gem
|
140
|
+
email: me@lesaker.org
|
141
|
+
executables:
|
142
|
+
- gemplate
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- .gitignore
|
147
|
+
- .rspec
|
148
|
+
- .rubocop.yml
|
149
|
+
- .travis.yml
|
150
|
+
- Gemfile
|
151
|
+
- LICENSE
|
152
|
+
- README.md
|
153
|
+
- Rakefile
|
154
|
+
- bin/gemplate
|
155
|
+
- gemplate.gemspec
|
156
|
+
- lib/gemplate.rb
|
157
|
+
- spec/gemplate_spec.rb
|
158
|
+
- spec/spec_helper.rb
|
159
|
+
- template/.gitignore
|
160
|
+
- template/.rspec
|
161
|
+
- template/.rubocop.yml
|
162
|
+
- template/.travis.yml
|
163
|
+
- template/Gemfile
|
164
|
+
- template/LICENSE
|
165
|
+
- template/README.md
|
166
|
+
- template/REPO_NAME.gemspec
|
167
|
+
- template/Rakefile
|
168
|
+
- template/lib/REPO_NAME.rb
|
169
|
+
- template/spec/REPO_NAME_spec.rb
|
170
|
+
- template/spec/spec_helper.rb
|
171
|
+
homepage: https://github.com/akerl/gemplate
|
172
|
+
licenses:
|
173
|
+
- MIT
|
174
|
+
metadata: {}
|
175
|
+
post_install_message:
|
176
|
+
rdoc_options: []
|
177
|
+
require_paths:
|
178
|
+
- lib
|
179
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
180
|
+
requirements:
|
181
|
+
- - '>='
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: '0'
|
184
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - '>='
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
requirements: []
|
190
|
+
rubyforge_project:
|
191
|
+
rubygems_version: 2.0.14
|
192
|
+
signing_key:
|
193
|
+
specification_version: 4
|
194
|
+
summary: Bootstrap tool for making gems
|
195
|
+
test_files:
|
196
|
+
- spec/gemplate_spec.rb
|
197
|
+
- spec/spec_helper.rb
|