gemsmith 9.6.0 → 10.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +3 -0
- data.tar.gz.sig +0 -0
- data/README.md +75 -67
- data/lib/gemsmith.rb +2 -1
- data/lib/gemsmith/cli.rb +27 -17
- data/lib/gemsmith/credentials.rb +6 -3
- data/lib/gemsmith/gem/module_formatter.rb +7 -9
- data/lib/gemsmith/gem/requirement.rb +4 -2
- data/lib/gemsmith/gem/specification.rb +4 -0
- data/lib/gemsmith/generators/base.rb +4 -5
- data/lib/gemsmith/generators/bundler.rb +1 -1
- data/lib/gemsmith/generators/circle_ci.rb +13 -0
- data/lib/gemsmith/generators/cli.rb +1 -1
- data/lib/gemsmith/generators/gem.rb +1 -0
- data/lib/gemsmith/generators/git_cop.rb +13 -0
- data/lib/gemsmith/generators/pragma.rb +20 -17
- data/lib/gemsmith/generators/rails.rb +3 -8
- data/lib/gemsmith/generators/rake.rb +5 -1
- data/lib/gemsmith/helpers/cli.rb +7 -4
- data/lib/gemsmith/identity.rb +1 -5
- data/lib/gemsmith/rake/builder.rb +2 -6
- data/lib/gemsmith/rake/publisher.rb +12 -6
- data/lib/gemsmith/rake/tasks.rb +8 -3
- data/lib/gemsmith/templates/%gem_name%/%gem_name%.gemspec.tt +7 -5
- data/lib/gemsmith/templates/%gem_name%/README.md.tt +15 -15
- data/lib/gemsmith/templates/%gem_name%/Rakefile.tt +1 -0
- data/lib/gemsmith/templates/%gem_name%/circle.yml.tt +11 -0
- data/lib/gemsmith/templates/%gem_name%/lib/%gem_path%/cli.rb.tt +6 -7
- data/lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt +1 -7
- data/lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/install/USAGE.tt +1 -1
- data/lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/install/install_generator.rb.tt +1 -1
- data/lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/upgrade/USAGE.tt +1 -1
- data/lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/upgrade/upgrade_generator.rb.tt +1 -1
- data/lib/gemsmith/templates/%gem_name%/spec/lib/%gem_path%/cli_spec.rb.tt +7 -22
- metadata +58 -36
- metadata.gz.sig +0 -0
- data/lib/gemsmith/generators/travis.rb +0 -13
- data/lib/gemsmith/templates/%gem_name%/.travis.yml.tt +0 -11
- data/lib/gemsmith/templates/%gem_name%/gemfiles/rails-%rails_version%.x.gemfile.tt +0 -5
metadata.gz.sig
ADDED
Binary file
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Gemsmith
|
4
|
-
module Generators
|
5
|
-
# Generates Travis CI support.
|
6
|
-
class Travis < Base
|
7
|
-
def run
|
8
|
-
return unless configuration.dig(:generate, :travis)
|
9
|
-
cli.template "%gem_name%/.travis.yml.tt", configuration
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
@@ -1,11 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
<%- if config.dig(:generate, :rails) -%>
|
3
|
-
gemfile:
|
4
|
-
- gemfiles/rails-<%= config.dig(:versions, :rails) %>.x.gemfile
|
5
|
-
<%- end -%>
|
6
|
-
before_install: gem update --system
|
7
|
-
<%- if config.dig(:generate, :code_climate) -%>
|
8
|
-
after_script: bundle exec codeclimate-test-reporter
|
9
|
-
<%- end -%>
|
10
|
-
notifications:
|
11
|
-
email: false
|