hanami-utils 0.0.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +183 -0
- data/LICENSE.md +22 -0
- data/README.md +106 -7
- data/hanami-utils.gemspec +15 -13
- data/lib/hanami-utils.rb +1 -0
- data/lib/hanami/interactor.rb +497 -0
- data/lib/hanami/logger.rb +141 -0
- data/lib/hanami/utils.rb +31 -2
- data/lib/hanami/utils/attributes.rb +132 -0
- data/lib/hanami/utils/basic_object.rb +53 -0
- data/lib/hanami/utils/callbacks.rb +286 -0
- data/lib/hanami/utils/class.rb +94 -0
- data/lib/hanami/utils/class_attribute.rb +95 -0
- data/lib/hanami/utils/deprecation.rb +70 -0
- data/lib/hanami/utils/duplicable.rb +80 -0
- data/lib/hanami/utils/escape.rb +577 -0
- data/lib/hanami/utils/hash.rb +299 -0
- data/lib/hanami/utils/inflector.rb +439 -0
- data/lib/hanami/utils/io.rb +37 -0
- data/lib/hanami/utils/kernel.rb +1031 -0
- data/lib/hanami/utils/load_paths.rb +167 -0
- data/lib/hanami/utils/path_prefix.rb +146 -0
- data/lib/hanami/utils/string.rb +419 -0
- data/lib/hanami/utils/version.rb +4 -1
- metadata +51 -16
- data/.gitignore +0 -9
- data/Gemfile +0 -4
- data/Rakefile +0 -2
- data/bin/console +0 -14
- data/bin/setup +0 -8
data/lib/hanami/utils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
|
+
- Trung Lê
|
9
|
+
- Alfonso Uceda
|
8
10
|
autorequire:
|
9
|
-
bindir:
|
11
|
+
bindir: bin
|
10
12
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
13
|
+
date: 2016-01-22 00:00:00.000000000 Z
|
12
14
|
dependencies:
|
13
15
|
- !ruby/object:Gem::Dependency
|
14
16
|
name: bundler
|
@@ -16,46 +18,78 @@ dependencies:
|
|
16
18
|
requirements:
|
17
19
|
- - "~>"
|
18
20
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
21
|
+
version: '1.6'
|
20
22
|
type: :development
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
23
25
|
requirements:
|
24
26
|
- - "~>"
|
25
27
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
28
|
+
version: '1.6'
|
27
29
|
- !ruby/object:Gem::Dependency
|
28
30
|
name: rake
|
29
31
|
requirement: !ruby/object:Gem::Requirement
|
30
32
|
requirements:
|
31
33
|
- - "~>"
|
32
34
|
- !ruby/object:Gem::Version
|
33
|
-
version: '10
|
35
|
+
version: '10'
|
34
36
|
type: :development
|
35
37
|
prerelease: false
|
36
38
|
version_requirements: !ruby/object:Gem::Requirement
|
37
39
|
requirements:
|
38
40
|
- - "~>"
|
39
41
|
- !ruby/object:Gem::Version
|
40
|
-
version: '10
|
41
|
-
|
42
|
+
version: '10'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: minitest
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '5.4'
|
50
|
+
type: :development
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '5.4'
|
57
|
+
description: Hanami utilities
|
42
58
|
email:
|
43
59
|
- me@lucaguidi.com
|
60
|
+
- trung.le@ruby-journal.com
|
61
|
+
- uceda73@gmail.com
|
44
62
|
executables: []
|
45
63
|
extensions: []
|
46
64
|
extra_rdoc_files: []
|
47
65
|
files:
|
48
|
-
-
|
49
|
-
-
|
66
|
+
- CHANGELOG.md
|
67
|
+
- LICENSE.md
|
50
68
|
- README.md
|
51
|
-
- Rakefile
|
52
|
-
- bin/console
|
53
|
-
- bin/setup
|
54
69
|
- hanami-utils.gemspec
|
70
|
+
- lib/hanami-utils.rb
|
71
|
+
- lib/hanami/interactor.rb
|
72
|
+
- lib/hanami/logger.rb
|
55
73
|
- lib/hanami/utils.rb
|
74
|
+
- lib/hanami/utils/attributes.rb
|
75
|
+
- lib/hanami/utils/basic_object.rb
|
76
|
+
- lib/hanami/utils/callbacks.rb
|
77
|
+
- lib/hanami/utils/class.rb
|
78
|
+
- lib/hanami/utils/class_attribute.rb
|
79
|
+
- lib/hanami/utils/deprecation.rb
|
80
|
+
- lib/hanami/utils/duplicable.rb
|
81
|
+
- lib/hanami/utils/escape.rb
|
82
|
+
- lib/hanami/utils/hash.rb
|
83
|
+
- lib/hanami/utils/inflector.rb
|
84
|
+
- lib/hanami/utils/io.rb
|
85
|
+
- lib/hanami/utils/kernel.rb
|
86
|
+
- lib/hanami/utils/load_paths.rb
|
87
|
+
- lib/hanami/utils/path_prefix.rb
|
88
|
+
- lib/hanami/utils/string.rb
|
56
89
|
- lib/hanami/utils/version.rb
|
57
90
|
homepage: http://hanamirb.org
|
58
|
-
licenses:
|
91
|
+
licenses:
|
92
|
+
- MIT
|
59
93
|
metadata: {}
|
60
94
|
post_install_message:
|
61
95
|
rdoc_options: []
|
@@ -65,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
99
|
requirements:
|
66
100
|
- - ">="
|
67
101
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
102
|
+
version: 2.0.0
|
69
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
104
|
requirements:
|
71
105
|
- - ">="
|
@@ -76,5 +110,6 @@ rubyforge_project:
|
|
76
110
|
rubygems_version: 2.5.1
|
77
111
|
signing_key:
|
78
112
|
specification_version: 4
|
79
|
-
summary:
|
113
|
+
summary: Ruby core extentions and Hanami utilities
|
80
114
|
test_files: []
|
115
|
+
has_rdoc:
|
data/.gitignore
DELETED
data/Gemfile
DELETED
data/Rakefile
DELETED
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "hanami/utils"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|