fast_underscore 0.3.0 → 0.3.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: 7d28091570b3b614967f128f03463f53a4756ead6eac601f5079f243360a792d
4
- data.tar.gz: ed2f503634f9409882bce0c0c678f5e40d20deeb5df32f90b0bad1f957feaee6
3
+ metadata.gz: f7979abf665d0f01098c8ceb7f8a38d35ec293facc7359c2f46e1097acf27972
4
+ data.tar.gz: 6611a83e71d5dc12ca49d0cd59796f1c2ddfe5bf0a16f2b0a13f183899bbceb4
5
5
  SHA512:
6
- metadata.gz: 8c1c36bb21b58386e63507972fa55914e3942e2fc19b7448b9d2bf1b93887b732e480f4da554cc8fcbf331f1ec7cab1e0a5aa10f4fccf7341fb56317c273c295
7
- data.tar.gz: 11eabdb8ddc721164856fe7a76856045decf07b1b561e142e6915503e3648194cb59c3f4d021a3c1809435b31d75dcf7da6d06681b88693512aeeb759e10b777
6
+ metadata.gz: ecb7db9b18d84db45026439535c6e4f1fbb653b41b046aef7c1dfc0a1a3ceb3435c2e8ffa8ca1dbb9626b825a4eb427a1e5b028dfa764271628880bd24c97511
7
+ data.tar.gz: 24e60ffe74f04f08fdde2234727842d4583c36d06b146a3f234216e478abf1b9d57c300e539148f6e5cd97409f59f3cff0058ce51e5a8f8d3ae2e2a4e0ce5582
@@ -1,5 +1,5 @@
1
1
  language: ruby
2
- rvm: 2.4.3
2
+ rvm: 2.5.1
3
3
  branches:
4
4
  only: master
5
5
  cache: bundler
data/Gemfile CHANGED
@@ -4,4 +4,4 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
6
 
7
- gem 'activesupport', '~> 5.2.0.beta2'
7
+ gem 'activesupport', github: 'rails/rails'
@@ -1,22 +1,27 @@
1
+ GIT
2
+ remote: git://github.com/rails/rails.git
3
+ revision: 185fce159721b331cc9a0ae17b662373ee0fc95f
4
+ specs:
5
+ activesupport (6.0.0.alpha)
6
+ concurrent-ruby (~> 1.0, >= 1.0.2)
7
+ i18n (>= 0.7, < 2)
8
+ minitest (~> 5.1)
9
+ tzinfo (~> 1.1)
10
+
1
11
  PATH
2
12
  remote: .
3
13
  specs:
4
- fast_underscore (0.3.0)
14
+ fast_underscore (0.3.1)
5
15
 
6
16
  GEM
7
17
  remote: https://rubygems.org/
8
18
  specs:
9
- activesupport (5.2.0.beta2)
10
- concurrent-ruby (~> 1.0, >= 1.0.2)
11
- i18n (~> 0.7)
12
- minitest (~> 5.1)
13
- tzinfo (~> 1.1)
14
- ast (2.3.0)
19
+ ast (2.4.0)
15
20
  benchmark-ips (2.7.2)
16
21
  concurrent-ruby (1.0.5)
17
- i18n (0.9.1)
22
+ i18n (1.0.1)
18
23
  concurrent-ruby (~> 1.0)
19
- minitest (5.10.3)
24
+ minitest (5.11.3)
20
25
  parallel (1.12.1)
21
26
  parser (2.4.0.2)
22
27
  ast (~> 2.3)
@@ -25,7 +30,7 @@ GEM
25
30
  rake (12.3.0)
26
31
  rake-compiler (1.0.4)
27
32
  rake
28
- rubocop (0.52.0)
33
+ rubocop (0.52.1)
29
34
  parallel (~> 1.10)
30
35
  parser (>= 2.4.0.2, < 3.0)
31
36
  powerpack (~> 0.1)
@@ -34,7 +39,7 @@ GEM
34
39
  unicode-display_width (~> 1.0, >= 1.0.1)
35
40
  ruby-progressbar (1.9.0)
36
41
  thread_safe (0.3.6)
37
- tzinfo (1.2.4)
42
+ tzinfo (1.2.5)
38
43
  thread_safe (~> 0.1)
39
44
  unicode-display_width (1.3.0)
40
45
 
@@ -42,7 +47,7 @@ PLATFORMS
42
47
  ruby
43
48
 
44
49
  DEPENDENCIES
45
- activesupport (~> 5.2.0.beta2)
50
+ activesupport!
46
51
  benchmark-ips (~> 2)
47
52
  bundler (~> 1)
48
53
  fast_underscore!
@@ -4,4 +4,4 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec path: '..'
6
6
 
7
- gem 'activesupport', '~> 5.2.0.beta2'
7
+ gem 'activesupport', '~> 5.2'
@@ -11,8 +11,9 @@ module FastUnderscore
11
11
  # `String` that allows it to call into the newly redefined `Inflector` method.
12
12
  def self.install
13
13
  require 'active_support/version'
14
+ gem_version = Gem::Version.new(ActiveSupport::VERSION::STRING)
14
15
 
15
- if ActiveSupport::VERSION::MAJOR == 5 && ActiveSupport::VERSION::MINOR >= 2
16
+ if gem_version >= Gem::Version.new('5.2.0')
16
17
  require 'fast_underscore/acronym_underscore_regex'
17
18
  else
18
19
  require 'fast_underscore/acronym_regex'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastUnderscore
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_underscore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Deisz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-03 00:00:00.000000000 Z
11
+ date: 2018-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: benchmark-ips
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  requirements: []
147
147
  rubyforge_project:
148
- rubygems_version: 2.7.4
148
+ rubygems_version: 2.7.6
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: Fast String#underscore implementation