usabls 0.1.4 → 0.1.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0bb5b2f9298183054e00292622becc6f3bfe181
4
- data.tar.gz: 5db75e98d52393797bdca371874ab122b3a8e01d
3
+ metadata.gz: abffeb676b9a0504fc7110ce5f70fcbe5bccc9a4
4
+ data.tar.gz: 8bc1cc94afe450c0067c75330ee0e5a15a8c4724
5
5
  SHA512:
6
- metadata.gz: 9731a0e3c1ec10c534ad74c9a27e66df7605144f78744c723e12d23f254c47f7421e8fd0296de8ebae84500022c84f7f406e996bf8c610a0fa93d0578cfe45e6
7
- data.tar.gz: 34bff85fad441694638d646567edfa7910b03912e0866ae0f3809be25561d2621bee48ca6972fdcdaefb97bf67f8831f8d24de575442094cad3614e82436e0ef
6
+ metadata.gz: d70c84a56906c37a35473ab8de43728cf8591f2514633007eaa1576f302ba3877ea314ef9dc17646620fc52d3cdc37f3be9b21968231b5db9f885eb5431869ff
7
+ data.tar.gz: 5499cbd2a787c10ac5f5fb23c3e33876f4a421a77326fff92a77273d4d5e881943cc62419496ded19043262cb4d5d095191dc77fb8d8e685f79dec3c346cdc10
@@ -0,0 +1,5 @@
1
+ module Usabls::Methods::Module
2
+ define Module, :try_super, &->(method, *args, &block) do
3
+ superclass.__send__ method, *args, &block if superclass && superclass.respond_to?(method)
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ module Usabls
2
+ module Super
3
+ refine ::Module do
4
+ include ::Usabls::Methods::Module.extensions[:try_super]
5
+ end
6
+ end
7
+ end
data/usabls.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "usabls"
3
- spec.version = "0.1.4"
3
+ spec.version = "0.1.5"
4
4
  spec.authors = ["mosop"]
5
5
  spec.email = ["mosop@a.b.com"]
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usabls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - mosop
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-03 00:00:00.000000000 Z
11
+ date: 2015-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: usabl
@@ -86,11 +86,13 @@ files:
86
86
  - lib/usabls/inflection.rb
87
87
  - lib/usabls/methods.rb
88
88
  - lib/usabls/methods/array/#options!.rb
89
+ - lib/usabls/methods/module/#try_super.rb
89
90
  - lib/usabls/methods/string/#constize.rb
90
91
  - lib/usabls/methods/string/#pascalize.rb
91
92
  - lib/usabls/methods/string/#pathify.rb
92
93
  - lib/usabls/methods/string/#snakify.rb
93
94
  - lib/usabls/option.rb
95
+ - lib/usabls/super.rb
94
96
  - usabls.gemspec
95
97
  homepage: https://github.com/mosop/usabls
96
98
  licenses: []