sinclair 1.2.0 → 1.2.1

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: b1f884160da67fa0a41d2b19c5fb1f2186b6a5dfb8518e70d7e624667e7d7a35
4
- data.tar.gz: aff0a41c90770ec096c19963abfcea8a6435ee0c725ad90a70dedad800b03646
3
+ metadata.gz: c5d1b06127b9390b635b3f51e208b4e0e327e37bf3a983975256c998746c19ef
4
+ data.tar.gz: c9ef323396888f3adbf13b1f2147856987c0ffb4f4ea05e8419f0440f2445c25
5
5
  SHA512:
6
- metadata.gz: 455434bf9a034eb258b6cc52d0ff3f0a1f0d3671f9ca96c9f892d18ef1435946fc982821fcb34b077409b3f05265cbe493d2820e51804c79ca23da5e58d7ee12
7
- data.tar.gz: 8360e97280c678e0326b2be9227b16401059c7a8b37b97e3a0b1ffaa2177ffc4bec7df7a01d8dc8eb2accb216a8c68ade20783c3d4b77ce75a7acff9368ac8a0
6
+ metadata.gz: a70f4147f03c3ef11467af1c5de31c4fa446368496126ce588875016cbbac17287f3c736c7d040b42e5f6cbff797cdfb1b5002db4475451541114486a554b14e
7
+ data.tar.gz: 824f2cf65e9442e002b8010e4ed2f2ba3228043cba122358538aa497cc0015b1ea64a6acac1bce68f8f321d1c1c624ce27e97030775554bca9b33ec55da76671
data/.rubocop.yml CHANGED
@@ -2,7 +2,7 @@ require: rubocop-rspec
2
2
  inherit_from: .rubocop_todo.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.4
5
+ TargetRubyVersion: 2.5
6
6
 
7
7
  Metrics/BlockLength:
8
8
  Exclude:
data/README.md CHANGED
@@ -12,7 +12,7 @@ This gem helps the creation of complex concern with class methods
12
12
 
13
13
  Yard Documentation
14
14
  -------------------
15
- https://www.rubydoc.info/gems/sinclair/1.2.0
15
+ https://www.rubydoc.info/gems/sinclair/1.2.1
16
16
 
17
17
  Installation
18
18
  ---------------
@@ -248,3 +248,9 @@ DefaultValue
248
248
  should add method 'the_method' to #<Class:0x0000000143a1b0> instances
249
249
 
250
250
  ```
251
+
252
+ Projects Using
253
+ ---------------
254
+
255
+ - [Arstotzka](https://github.com/darthjee/arstotzka)
256
+
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Sinclair
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.1'
5
5
  end
data/sinclair.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
12
12
  gem.homepage = 'https://github.com/darthjee/sinclair'
13
13
  gem.description = 'Gem for easy concern creation'
14
14
  gem.summary = gem.description
15
- gem.required_ruby_version = '>= 2.4.0'
15
+ gem.required_ruby_version = '>= 2.5.0'
16
16
 
17
17
  gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
18
18
  gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -11,11 +11,9 @@ class MyBuilder < Sinclair
11
11
 
12
12
  def add_safe_method
13
13
  add_method(:symbolize) do
14
- begin
15
- @variable.to_sym
16
- rescue StandardError
17
- :default
18
- end
14
+ @variable.to_sym
15
+ rescue StandardError
16
+ :default
19
17
  end
20
18
  end
21
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinclair
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - DarthJee
@@ -221,7 +221,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
221
221
  requirements:
222
222
  - - ">="
223
223
  - !ruby/object:Gem::Version
224
- version: 2.4.0
224
+ version: 2.5.0
225
225
  required_rubygems_version: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - ">="