gemsmith 11.0.1 → 11.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a299aea5b3d0aba377236ed86cd90c9820332049dfd964541de392561a2fbdbc
4
- data.tar.gz: 7d555a2fcd6bd33b51b195ab323803ff5588702a11eccdd911ce07a7a431bd53
3
+ metadata.gz: b0a8f30d84dd510f024975ff15a5fcf234a547a9634b78563a30e93928066410
4
+ data.tar.gz: fe5251ece2857bcad694c8da8a0a8cc90e7141e742782b30039412cb9df2bbf3
5
5
  SHA512:
6
- metadata.gz: f4476b56597beadb561c9356099ded9a5ceed08d0c93fc839f3a3833553e2de1aef9d78fffab9862adfe68a88a145da2aeedd212baf57f1ab5953f94534bdd46
7
- data.tar.gz: 64c2378867b32edf1fc2fba98822a5f7dc9bcb23fffd0b1b07bcc348c7f54178555cd6107a7d00c6bc6a3fcc735916790e5911adc3c856ef3b56dfa9533f943d
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 (c) 2011 [Alchemists](https://www.alchemists.io).
372
+ Copyright 2011 [Alchemists](https://www.alchemists.io).
373
373
  Read [LICENSE](LICENSE.md) for details.
374
374
 
375
375
  ## History
@@ -10,7 +10,7 @@ module Gemsmith
10
10
 
11
11
  # :reek:TooManyStatements
12
12
  def create_repository
13
- subject = "Added Gemsmith files."
13
+ subject = "Added Gemsmith skeleton."
14
14
  body = "Built with #{Identity.version_label}."
15
15
 
16
16
  Dir.chdir(gem_root) do
@@ -9,6 +9,7 @@ module Gemsmith
9
9
 
10
10
  cli.uncomment_lines "#{gem_name}/Rakefile", /require.+reek.+/
11
11
  cli.uncomment_lines "#{gem_name}/Rakefile", /Reek.+/
12
+ cli.template "%gem_name%/.reek.tt", configuration
12
13
  end
13
14
  end
14
15
  end
@@ -12,7 +12,7 @@ module Gemsmith
12
12
  end
13
13
 
14
14
  def self.version
15
- "11.0.1"
15
+ "11.1.0"
16
16
  end
17
17
 
18
18
  def self.version_label
@@ -0,0 +1,5 @@
1
+ exclude_paths:
2
+ - tmp
3
+ - vendor
4
+ IrresponsibleModule:
5
+ enabled: false
@@ -1,4 +1,4 @@
1
- Copyright (c) <%= config.fetch :year %> [<%= config.dig :organization, :name %>](<%= config.dig :organization, :url %>).
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 (c) <%= config.fetch :year %> [<%= config.dig :organization, :name %>](<%= config.dig :organization, :url %>).
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
- dependencies:
2
- pre:
3
- - gem update --system
4
- - gem update bundler
5
- test:
6
- override:
7
- - bundle exec rake
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
- post:
10
- - bundle exec codeclimate-test-reporter
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) -%>require "<%= config.dig(:gem, :path) %>"<%- end -%>
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.1
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
- aW8wHhcNMTcxMDI5MjExMDE0WhcNMTgxMDI5MjExMDE0WjBBMQ8wDQYDV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4g2qi6FomQ==
32
- -----END CERTIFICATE-----
33
- date: 2018-01-01 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2018-01-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
@@ -1,2 +0,0 @@
1
- J�Tl!������.f�P��K���C��7��?����/r������)pg½��2� �k�M�b� 8������rK[$_��T#v�&x��C�|m��mխ��X�s��L���;lЇQ����A���[�=�ݘb�D�<`�)+��ˆ<M�!d0_wv�/l�leh a=����c����ǒ�(3�~Z�f~��I !o�9�$(D"��B��������U��?��u���[~��&L���
2
- �p�K�*���
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file