gorilla-patch 2.1.1 → 2.1.2

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
  SHA1:
3
- metadata.gz: d3b8091bbe6834df6e74d2ac117f5e6e154dfb5b
4
- data.tar.gz: d84a9766821b8cc6361418f816b5318e2f78056b
3
+ metadata.gz: 37db570b68e851bafb5b9f0677878b96d6b06146
4
+ data.tar.gz: ec39262b859492824376df4cc7df1a4ba89065b3
5
5
  SHA512:
6
- metadata.gz: a690f35928ec2b5ba83f21635566386fa34ac59a03b41df6987b37ff50cc3925e2331d6dcef35efd043e55135aa0de0820178dc5cdb6faba9b50dcb7a33c2f44
7
- data.tar.gz: add547da8415514477a1313611d6daefcb149bff5da33b52cc2c490da50c1c142f90fff896bbc54ea67879a985dc60516a48276efa19abfb0930c4f292367b9b
6
+ metadata.gz: 56838483857370a8a09f127be44a16041e87fdaf402e4614fc2c25fde57e878eb052bf805ea0a1ddb63a81e3e3ad44106ddc44cfc29442655a5368f32c80adc8
7
+ data.tar.gz: c68842cd800c09ada27fc0281c36c22e3eea3233e9964f97cb319dc588c616dfb183b9dc7c32710096b19eca2f71d924228a057d710ecc7df3ff4ae0ac9b6ace
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Dir.glob(
2
4
  File.join(__dir__, 'gorilla-patch', '*.rb')
3
5
  ).each { |file| require file }
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative 'deep_dup'
2
4
 
3
5
  module GorillaPatch
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module GorillaPatch
2
4
  ## Adding compact methods
3
5
  module Compact
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module GorillaPatch
2
4
  ## Adding include methods
3
5
  module Cover
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module GorillaPatch
2
4
  ## Adding deep_dup method
3
5
  module DeepDup
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module GorillaPatch
2
4
  ## Adding except methods
3
5
  module Except
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module GorillaPatch
2
4
  ## Inflections
3
5
  module Inflections
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module GorillaPatch
2
4
  ## Adding keys methods
3
5
  module Keys
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module GorillaPatch
2
4
  ## Adding namespaces-changing methods
3
5
  module Namespace
@@ -7,9 +9,11 @@ module GorillaPatch
7
9
  end
8
10
  end
9
11
 
10
- refine Module do
11
- def demodulize
12
- to_s.demodulize
12
+ [Module, Class].each do |klass|
13
+ refine klass do
14
+ def demodulize
15
+ to_s.demodulize
16
+ end
13
17
  end
14
18
  end
15
19
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module GorillaPatch
2
4
  ## Adding slice methods
3
5
  module Slice
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module GorillaPatch
2
4
  ## Adding symbolize methods
3
5
  module Symbolize
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module GorillaPatch
2
4
  ## Module for truncating
3
5
  module Truncate
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gorilla-patch
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Popov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-25 00:00:00.000000000 Z
11
+ date: 2017-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -67,19 +67,19 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: codeclimate-test-reporter
70
+ name: codecov
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1'
75
+ version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1'
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: sequel
85
85
  requirement: !ruby/object:Gem::Requirement