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 +4 -4
- data/.travis.yml +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +17 -12
- data/gemfiles/5.2.gemfile +1 -1
- data/lib/fast_underscore.rb +2 -1
- data/lib/fast_underscore/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7979abf665d0f01098c8ceb7f8a38d35ec293facc7359c2f46e1097acf27972
|
4
|
+
data.tar.gz: 6611a83e71d5dc12ca49d0cd59796f1c2ddfe5bf0a16f2b0a13f183899bbceb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecb7db9b18d84db45026439535c6e4f1fbb653b41b046aef7c1dfc0a1a3ceb3435c2e8ffa8ca1dbb9626b825a4eb427a1e5b028dfa764271628880bd24c97511
|
7
|
+
data.tar.gz: 24e60ffe74f04f08fdde2234727842d4583c36d06b146a3f234216e478abf1b9d57c300e539148f6e5cd97409f59f3cff0058ce51e5a8f8d3ae2e2a4e0ce5582
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -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.
|
14
|
+
fast_underscore (0.3.1)
|
5
15
|
|
6
16
|
GEM
|
7
17
|
remote: https://rubygems.org/
|
8
18
|
specs:
|
9
|
-
|
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.
|
22
|
+
i18n (1.0.1)
|
18
23
|
concurrent-ruby (~> 1.0)
|
19
|
-
minitest (5.
|
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.
|
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.
|
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
|
50
|
+
activesupport!
|
46
51
|
benchmark-ips (~> 2)
|
47
52
|
bundler (~> 1)
|
48
53
|
fast_underscore!
|
data/gemfiles/5.2.gemfile
CHANGED
data/lib/fast_underscore.rb
CHANGED
@@ -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
|
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'
|
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.
|
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-
|
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.
|
148
|
+
rubygems_version: 2.7.6
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Fast String#underscore implementation
|