gemsmith 11.0.1 → 11.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/gemsmith/generators/git.rb +1 -1
- data/lib/gemsmith/generators/reek.rb +1 -0
- data/lib/gemsmith/identity.rb +1 -1
- data/lib/gemsmith/templates/%gem_name%/.reek.tt +5 -0
- data/lib/gemsmith/templates/%gem_name%/LICENSE.md.tt +1 -1
- data/lib/gemsmith/templates/%gem_name%/README.md.tt +1 -1
- data/lib/gemsmith/templates/%gem_name%/circle.yml.tt +39 -9
- data/lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt +3 -1
- metadata +4 -25
- checksums.yaml.gz.sig +0 -2
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0a8f30d84dd510f024975ff15a5fcf234a547a9634b78563a30e93928066410
|
4
|
+
data.tar.gz: fe5251ece2857bcad694c8da8a0a8cc90e7141e742782b30039412cb9df2bbf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 259a3eed23cd0ca32e89ed0e1ca5341c85bc76cf6e00dd13c61b0bf6f0a30da6138f16ca38ff0972d679c6add979f1c12ee1e0d1cbf8a882cd0ff864348ecc93
|
7
|
+
data.tar.gz: e45f8d0f84df75009966e340c1d853206efccde2cede802fb87fa05bbdd85684c1e497746c93a4340f2ff28d5605e714cbaa7e2b101e17adc651ab461537ec47
|
data/README.md
CHANGED
@@ -369,7 +369,7 @@ Read [CONTRIBUTING](CONTRIBUTING.md) for details.
|
|
369
369
|
|
370
370
|
## License
|
371
371
|
|
372
|
-
Copyright
|
372
|
+
Copyright 2011 [Alchemists](https://www.alchemists.io).
|
373
373
|
Read [LICENSE](LICENSE.md) for details.
|
374
374
|
|
375
375
|
## History
|
data/lib/gemsmith/identity.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright
|
1
|
+
Copyright <%= config.fetch :year %> [<%= config.dig :organization, :name %>](<%= config.dig :organization, :url %>).
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
@@ -83,7 +83,7 @@ Read [CONTRIBUTING](CONTRIBUTING.md) for details.
|
|
83
83
|
|
84
84
|
## License
|
85
85
|
|
86
|
-
Copyright
|
86
|
+
Copyright <%= config.fetch :year %> [<%= config.dig :organization, :name %>](<%= config.dig :organization, :url %>).
|
87
87
|
Read [LICENSE](LICENSE.md) for details.
|
88
88
|
|
89
89
|
## History
|
@@ -1,11 +1,41 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
version: 2
|
2
|
+
jobs:
|
3
|
+
build:
|
4
|
+
working_directory: ~/project
|
5
|
+
docker:
|
6
|
+
- image: circleci/ruby:<%= config.dig(:versions, :ruby) %>
|
7
|
+
environment:
|
8
|
+
BUNDLE_JOBS: 3
|
9
|
+
BUNDLE_RETRY: 3
|
10
|
+
BUNDLE_PATH: vendor/bundle
|
11
|
+
EDITOR: vim
|
12
|
+
RAILS_ENV: test
|
13
|
+
steps:
|
14
|
+
- checkout
|
15
|
+
|
16
|
+
- type: cache-restore
|
17
|
+
name: Bundler Cache Restore
|
18
|
+
key: bundle-{{ checksum "Gemfile" }}
|
19
|
+
|
20
|
+
- run:
|
21
|
+
name: Bundler Install
|
22
|
+
command: |
|
23
|
+
gem update --system
|
24
|
+
bundle check || bundle install
|
25
|
+
gem install rails
|
26
|
+
|
27
|
+
- type: cache-save
|
28
|
+
name: Bundler Cache Store
|
29
|
+
key: bundle-{{ checksum "Gemfile" }}
|
30
|
+
paths:
|
31
|
+
- vendor/bundle
|
32
|
+
|
33
|
+
- run:
|
34
|
+
name: Rake Run
|
35
|
+
command: bundle exec rake
|
36
|
+
|
8
37
|
<%- if config.dig(:generate, :code_climate) -%>
|
9
|
-
|
10
|
-
|
38
|
+
- run:
|
39
|
+
name: Code Climate Analyze
|
40
|
+
command: bundle exec codeclimate-test-reporter
|
11
41
|
<%- end -%>
|
@@ -8,7 +8,9 @@ SimpleCov.start
|
|
8
8
|
require "pry"
|
9
9
|
require "pry-byebug"
|
10
10
|
<%- end -%>
|
11
|
-
<%- unless config.dig(:generate, :rails) -%>
|
11
|
+
<%- unless config.dig(:generate, :rails) -%>
|
12
|
+
require "<%= config.dig(:gem, :path) %>"
|
13
|
+
<%- end -%>
|
12
14
|
|
13
15
|
Dir[File.join(File.dirname(__FILE__), "support/shared_contexts/**/*.rb")].each do |file|
|
14
16
|
require file
|
metadata
CHANGED
@@ -1,36 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemsmith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.0
|
4
|
+
version: 11.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMQ8wDQYDVQQDDAZicm9v
|
14
|
-
a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
|
15
|
-
aW8wHhcNMTcxMDI5MjExMDE0WhcNMTgxMDI5MjExMDE0WjBBMQ8wDQYDVQQDDAZi
|
16
|
-
cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQB
|
17
|
-
GRYCaW8wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCw5ljqJRwCHI+L
|
18
|
-
DHJM8mLBNg/PMlK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-27 00:00:00.000000000 Z
|
34
12
|
dependencies:
|
35
13
|
- !ruby/object:Gem::Dependency
|
36
14
|
name: bundler
|
@@ -412,6 +390,7 @@ files:
|
|
412
390
|
- lib/gemsmith/templates/%gem_name%/.github/ISSUE_TEMPLATE.md.tt
|
413
391
|
- lib/gemsmith/templates/%gem_name%/.github/PULL_REQUEST_TEMPLATE.md.tt
|
414
392
|
- lib/gemsmith/templates/%gem_name%/.gitignore.tt
|
393
|
+
- lib/gemsmith/templates/%gem_name%/.reek.tt
|
415
394
|
- lib/gemsmith/templates/%gem_name%/.rubocop.yml.tt
|
416
395
|
- lib/gemsmith/templates/%gem_name%/.ruby-version.tt
|
417
396
|
- lib/gemsmith/templates/%gem_name%/CHANGES.md.tt
|
checksums.yaml.gz.sig
DELETED
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
Binary file
|