gemsmith 9.2.0 → 9.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gemsmith.rb +1 -1
- data/lib/gemsmith/authenticators/ruby_gems.rb +1 -0
- data/lib/gemsmith/generators/base.rb +4 -0
- data/lib/gemsmith/generators/bundler.rb +1 -1
- data/lib/gemsmith/generators/documentation.rb +2 -2
- data/lib/gemsmith/generators/git.rb +1 -7
- data/lib/gemsmith/generators/pragma.rb +1 -1
- data/lib/gemsmith/identity.rb +1 -1
- data/lib/gemsmith/templates/%gem_name%/Guardfile.tt +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed4b0644caf9cad4f2608978f4e730d3e7b92dda
|
4
|
+
data.tar.gz: e98c4c2a2d3d91f1b18b6e2fa3da722c0455d374
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d51edd62620c7383e42ae07f44f79a55748ea8ea5cff2bd4db996284f8d931f0405f3002007585fc81703b27d3029f3047a8fac53063900436e9d094f1d879e
|
7
|
+
data.tar.gz: e8c4aa16228b37f97e21780533f5afff5d5ea971bd1dea5ffe11d6c79d969343c48c10f6741a038e2a013b2cf757b8e0e6ef6e8d0d86593a4ec7e8e96d95b4ee
|
data/lib/gemsmith.rb
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
require "gemsmith/identity"
|
4
4
|
require "gemsmith/git"
|
5
|
-
require "gemsmith/credentials"
|
6
5
|
require "gemsmith/authenticators/basic"
|
7
6
|
require "gemsmith/authenticators/ruby_gems"
|
7
|
+
require "gemsmith/credentials"
|
8
8
|
require "gemsmith/errors/base"
|
9
9
|
require "gemsmith/errors/requirement_conversion"
|
10
10
|
require "gemsmith/errors/requirement_operator"
|
@@ -15,8 +15,8 @@ module Gemsmith
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def update_readme
|
18
|
-
|
19
|
-
Tocer::Writer.new(
|
18
|
+
readme = File.join gem_root, "README.md"
|
19
|
+
Tocer::Writer.new(readme).write
|
20
20
|
end
|
21
21
|
|
22
22
|
def run
|
@@ -9,7 +9,7 @@ module Gemsmith
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def create_repository
|
12
|
-
Dir.chdir(
|
12
|
+
Dir.chdir(gem_root) do
|
13
13
|
`git init`
|
14
14
|
`git add .`
|
15
15
|
`git commit --all --no-verify --message "Added Gemsmith files."`
|
@@ -20,12 +20,6 @@ module Gemsmith
|
|
20
20
|
create_ignore_file
|
21
21
|
create_repository
|
22
22
|
end
|
23
|
-
|
24
|
-
private
|
25
|
-
|
26
|
-
def gem_dir
|
27
|
-
File.join cli.destination_root, configuration.dig(:gem, :name)
|
28
|
-
end
|
29
23
|
end
|
30
24
|
end
|
31
25
|
end
|
data/lib/gemsmith/identity.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemsmith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.
|
4
|
+
version: 9.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -435,7 +435,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
435
435
|
version: '0'
|
436
436
|
requirements: []
|
437
437
|
rubyforge_project:
|
438
|
-
rubygems_version: 2.6.
|
438
|
+
rubygems_version: 2.6.11
|
439
439
|
signing_key:
|
440
440
|
specification_version: 4
|
441
441
|
summary: A command line interface for smithing new Ruby gems.
|