rubysmith 4.0.1 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aab5b0e11cc7a26ae44d9bfb2f28b5a582a2b785c3e5140cb959d0dba1248492
4
- data.tar.gz: b6c20fa6f3bb6e5b1c9f893519ea57a61b20e3a7cba22c273bada97c760615b9
3
+ metadata.gz: 800b586dd843e166d9fc97e0034b4929111ee1f9dc0cb9e02ce294d512cfb227
4
+ data.tar.gz: 984327cfa351cd57aa103cbfc94e09a060afe4611d49504e61263cc5a6ff776a
5
5
  SHA512:
6
- metadata.gz: 6d4fc06bbee40a3ec061f572e2380260bc851420a3a6a101a0d0d685b4cc99e84505c3bcbc09376ed7d1dcf70bea6b56af4332e75f32142cd07834ff59b884f3
7
- data.tar.gz: 8af8cb102523d0ee51e5f74748b8d2bab01a858c02c72d98477870fed7ac2465f7bf470f232bc3ece2543fecd5ba77f6db3059458a4d72ee885f79a110bd0f0e
6
+ metadata.gz: e6012f65fb94be8bd2a515d3647c51b905bb591a3d4f5e692e53e502bc9ac573cf753de33d041639d21e10f2668258d3cfb9cb4c620365a04098dc6f7da1bbff
7
+ data.tar.gz: e226baccb45c568d104bd4775672573509bdd6d5d03f478b61b4c125bbc056ed21803949771a542fd975687782f3bed90a06bfc1f694b333e569f4963d0b8c35
checksums.yaml.gz.sig CHANGED
Binary file
@@ -24,7 +24,7 @@ module Rubysmith
24
24
 
25
25
  attr_reader :git
26
26
 
27
- def email = git.get "user.email", "TODO"
27
+ def email = git.get("user.email").value_or("")
28
28
  end
29
29
  end
30
30
  end
@@ -23,7 +23,8 @@ module Rubysmith
23
23
  attr_reader :git
24
24
 
25
25
  def user
26
- git.get("user.name", "TODO")
26
+ git.get("user.name")
27
+ .value_or("")
27
28
  .then { |name| String(name).split }
28
29
  .then { |first, last| {author_given_name: first, author_family_name: last} }
29
30
  end
@@ -20,7 +20,7 @@ group :code_quality do
20
20
  gem "reek", "~> 6.1"
21
21
  <% end %>
22
22
  <% if configuration.build_simple_cov %>
23
- gem "simplecov", "~> 0.21", require: false
23
+ gem "simplecov", "~> 0.22", require: false
24
24
  <% end %>
25
25
  end
26
26
 
@@ -6,8 +6,9 @@ require "simplecov"
6
6
 
7
7
  unless ENV["NO_COVERAGE"]
8
8
  SimpleCov.start do
9
- enable_coverage :branch
10
9
  add_filter %r(^/spec/)
10
+ enable_coverage :branch
11
+ enable_coverage_for_eval
11
12
  minimum_coverage_by_file line: 95, branch: 95
12
13
  end
13
14
  end
data/rubysmith.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "rubysmith"
5
- spec.version = "4.0.1"
5
+ spec.version = "4.1.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://github.com/bkuhlmann/rubysmith"
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -306,7 +306,6 @@ files:
306
306
  - lib/rubysmith/templates/%project_name%/lib/%project_path%.rb.erb
307
307
  - lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb
308
308
  - lib/rubysmith/templates/%project_name%/spec/support/shared_contexts/temp_dir.rb.erb
309
- - lib/rubysmith/templates/.DS_Store
310
309
  - lib/rubysmith/text/inserter.rb
311
310
  - rubysmith.gemspec
312
311
  homepage: https://github.com/bkuhlmann/rubysmith
metadata.gz.sig CHANGED
@@ -1,3 +1,5 @@
1
- Q "��"� |�<Q9�1<�=X��8��eZL�uk�Ǽ �Ӷ� �H��h�Zq}�K��������RM�����;�x�� ��F#�/�n9�b�Q�pd�̐�,��A�R��o۷t(_b't�+��H?b��ހLAJG��H+e�՘N���
2
-
3
- Gj�,��������y���L�y�eLU����K��6������t�8�W��M�4"2<ԫ� 1U�<SOMd<9)�ƥ���?X<�%-_V�3y
1
+ �<��>��C�.�vbP���C���
2
+ �E��<Z�j�� �.!j��p7����g��
3
+ G��xїu�y�߅SB�#��Vd.�z���`+����,kLv
4
+ U���,6��r�c,Ю1]Z�P�6)u�c�D0���1i={�:�w�+�J|�{S���G5-O.�DE7���S�1i���lBΦ�#�c� �f
5
+ �t@��F�]��g�#�w>L�r�p.��*c��i
Binary file