gorilla-patch 0.0.5.3 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gorilla-patch/string.rb +4 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1d1f0ca46565aa771e4f789f522a08b4bd26d481
4
- data.tar.gz: 44529039f8af33b6469dbd02fe7d2f570a209b1b
3
+ metadata.gz: 23b73916056cc356d7d8fa2830ddb8a8562afb76
4
+ data.tar.gz: 2baeb31d67f4e1a6748366e8d2b4869e3593af44
5
5
  SHA512:
6
- metadata.gz: 6a56fcf9f379a41c2465007fd6def74a22d90db2df6fe66f76e9cbf3d8c33721675970f56445948e16cd640f01b8e6c7d228fa0a71034ac58c3c98be249e393f
7
- data.tar.gz: 6b7c39a102c6bc0db46fba59dfd25ac33ebe01c2e29791cb855918ef4359c26148d9dadcd9b849e3a81842602629985d921d4a51b9cc2a0417b128858358e0a3
6
+ metadata.gz: 5216797954cecaf5b8267a90048c60eb82ab5fc9ea5a655b4eaf72a13346e6c5486ed59ed212826e9402fb57fecf189c9ba0bf365a6f3238e815ce02144843e6
7
+ data.tar.gz: 893174477111c6bf01f0e4b3c598a701b75e6abe5c810745665d9475e11d565da259ed7da437d237fcefffcebf66b561225c8a52f7cca05da75d00f0f60d55d1
@@ -9,6 +9,10 @@ module GorillaPatch
9
9
  .tr('-', '_')
10
10
  .downcase
11
11
  end
12
+
13
+ def demodulize
14
+ split('::').last
15
+ end
12
16
  end
13
17
  end
14
18
  end
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: 0.0.5.3
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Popov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-30 00:00:00.000000000 Z
11
+ date: 2015-10-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Refine Ruby Core classes.
14
14
  email: alex.wayfer@gmail.com
@@ -21,7 +21,7 @@ files:
21
21
  - lib/gorilla-patch/hash.rb
22
22
  - lib/gorilla-patch/module.rb
23
23
  - lib/gorilla-patch/string.rb
24
- homepage: https://bitbucket.org/AlexWayfer/gorilla-patch
24
+ homepage: https://gitlab.com/AlexWayfer/gorilla-patch
25
25
  licenses:
26
26
  - MIT
27
27
  metadata: {}