muflax 0.1.34
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 +7 -0
- checksums.yaml.gz.sig +1 -0
- data.tar.gz.sig +1 -0
- data/.gitignore +3 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +47 -0
- data/LICENSE +674 -0
- data/README +39 -0
- data/Rakefile +23 -0
- data/lib/muflax.rb +34 -0
- data/lib/muflax/array.rb +59 -0
- data/lib/muflax/debug.rb +31 -0
- data/lib/muflax/dir.rb +16 -0
- data/lib/muflax/enumerable.rb +67 -0
- data/lib/muflax/file.rb +39 -0
- data/lib/muflax/hash.rb +14 -0
- data/lib/muflax/kernel.rb +21 -0
- data/lib/muflax/library.rb +16 -0
- data/lib/muflax/objects.rb +51 -0
- data/lib/muflax/regex.rb +25 -0
- data/lib/muflax/string.rb +21 -0
- data/muflax.gemspec +26 -0
- metadata +196 -0
- metadata.gz.sig +1 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# -*- encoding: utf-8 -*-
|
3
|
+
# Copyright muflax <mail@muflax.com>, 2013
|
4
|
+
# License: GNU GPL 3 <http://www.gnu.org/copyleft/gpl.html>
|
5
|
+
|
6
|
+
class String
|
7
|
+
alias :starts_with? :start_with?
|
8
|
+
alias :ends_with? :end_with?
|
9
|
+
|
10
|
+
def align str=" ", alignment: :left
|
11
|
+
self.split("\n").align(str, alignment: alignment).join("\n")
|
12
|
+
end
|
13
|
+
|
14
|
+
def align! str=" ", alignment: :left
|
15
|
+
self.replace(self.align(str, aligment: alignment))
|
16
|
+
end
|
17
|
+
|
18
|
+
def whackuum str=/\s+/
|
19
|
+
self.split(str).map(&:strip)
|
20
|
+
end
|
21
|
+
end
|
data/muflax.gemspec
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = "muflax"
|
3
|
+
s.version = "0.1.34"
|
4
|
+
|
5
|
+
s.authors = ["muflax"]
|
6
|
+
s.summary = "muflax standard library"
|
7
|
+
s.description = "collection of stuff muflax always uses in scripts"
|
8
|
+
s.email = "mail@muflax.com"
|
9
|
+
s.license = "GPL-3.0"
|
10
|
+
s.extra_rdoc_files = [
|
11
|
+
"README"
|
12
|
+
]
|
13
|
+
s.files = `git ls-files`.split("\n")
|
14
|
+
s.homepage = "http://github.com/muflax/ruby-muflax"
|
15
|
+
s.require_paths = ["lib"]
|
16
|
+
|
17
|
+
s.add_dependency "activesupport", "~> 4"
|
18
|
+
s.add_dependency "awesome_print"
|
19
|
+
s.add_dependency "debug_inspector"
|
20
|
+
s.add_dependency "highline"
|
21
|
+
s.add_dependency "pry"
|
22
|
+
s.add_dependency "range_math"
|
23
|
+
s.add_dependency "trollop"
|
24
|
+
|
25
|
+
s.add_development_dependency "rake"
|
26
|
+
end
|
metadata
ADDED
@@ -0,0 +1,196 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: muflax
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.34
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- muflax
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDLDCCAhSgAwIBAgIBAzANBgkqhkiG9w0BAQUFADA8MQ0wCwYDVQQDDARtYWls
|
14
|
+
MRYwFAYKCZImiZPyLGQBGRYGbXVmbGF4MRMwEQYKCZImiZPyLGQBGRYDY29tMB4X
|
15
|
+
DTE2MDQxNzA2MjIyOFoXDTE3MDQxNzA2MjIyOFowPDENMAsGA1UEAwwEbWFpbDEW
|
16
|
+
MBQGCgmSJomT8ixkARkWBm11ZmxheDETMBEGCgmSJomT8ixkARkWA2NvbTCCASIw
|
17
|
+
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMBwn+ZDlWYfoEevtvoQBKK+NBFA
|
18
|
+
U9iKN5Aa4g51ZjiFUtoasYeTVUvqKmkRDM+tFTjlTNRCMtFKZy+Fbw+Q2+JALBnk
|
19
|
+
isyJmRCxoWLxUds/XT40I0m+mtwP5etKr7g01lE3gsIM8644iEBGw41pG7F8nm2w
|
20
|
+
dxcs78uGx/Y89vH4xlP5utdq4lChCo60+jQWUBNdnRlrFoBerUrdEUWlj7HhOQSl
|
21
|
+
coJqx3UHhPw1e97CxC4r4IEO4vfNwMr3Uxxcv/idcQwDi5thDwtzjG3u4xwzL3xS
|
22
|
+
HSvktDccLmeF9hsWUGlmee87oQGqZvZTmRmLmpcpzsNxFcVJxGK72VfbsjUCAwEA
|
23
|
+
AaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFEEiWHZRn5hp
|
24
|
+
8ho98JIewpJitn3DMA0GCSqGSIb3DQEBBQUAA4IBAQCmRlMlfsFqU3KIUOG9lTLv
|
25
|
+
XCT+JciYBYw9kyzKOLv1zO8O8QcSDy25mMCEwVPEYbwPKwT+RJkVIxI9bzdSKkJN
|
26
|
+
iYuU+llCnKEgUJC1ZOGMW4X3jyZSw2oIBYRsvGdhsQEYofS7stuvjeXcx4Mp8Hm4
|
27
|
+
4Y4Y5xbaJxCu0VwljpCV7WJH8+fGK8pnz0ubxPCJB8SIimMtlcpyGYM3V3x/bMpv
|
28
|
+
UTuVeeTxPBRAkEStqSL/T6ftwAkFee8ORyJjuOJgqTUPfe/qPIe/qQw3RVUesjYb
|
29
|
+
pNY9O02iAik7VcnsSGB3oSR6yBKVb8d2pFmbUEPSenyN/hGrJJKFPqqmCO9jhzlY
|
30
|
+
-----END CERTIFICATE-----
|
31
|
+
date: 2016-04-17 00:00:00.000000000 Z
|
32
|
+
dependencies:
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: activesupport
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '4'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '4'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: awesome_print
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: debug_inspector
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: highline
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
type: :runtime
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: pry
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: range_math
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: trollop
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
type: :runtime
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: rake
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0'
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0'
|
145
|
+
description: collection of stuff muflax always uses in scripts
|
146
|
+
email: mail@muflax.com
|
147
|
+
executables: []
|
148
|
+
extensions: []
|
149
|
+
extra_rdoc_files:
|
150
|
+
- README
|
151
|
+
files:
|
152
|
+
- ".gitignore"
|
153
|
+
- Gemfile
|
154
|
+
- Gemfile.lock
|
155
|
+
- LICENSE
|
156
|
+
- README
|
157
|
+
- Rakefile
|
158
|
+
- lib/muflax.rb
|
159
|
+
- lib/muflax/array.rb
|
160
|
+
- lib/muflax/debug.rb
|
161
|
+
- lib/muflax/dir.rb
|
162
|
+
- lib/muflax/enumerable.rb
|
163
|
+
- lib/muflax/file.rb
|
164
|
+
- lib/muflax/hash.rb
|
165
|
+
- lib/muflax/kernel.rb
|
166
|
+
- lib/muflax/library.rb
|
167
|
+
- lib/muflax/objects.rb
|
168
|
+
- lib/muflax/regex.rb
|
169
|
+
- lib/muflax/string.rb
|
170
|
+
- muflax.gemspec
|
171
|
+
homepage: http://github.com/muflax/ruby-muflax
|
172
|
+
licenses:
|
173
|
+
- GPL-3.0
|
174
|
+
metadata: {}
|
175
|
+
post_install_message:
|
176
|
+
rdoc_options: []
|
177
|
+
require_paths:
|
178
|
+
- lib
|
179
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
180
|
+
requirements:
|
181
|
+
- - ">="
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: '0'
|
184
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
requirements: []
|
190
|
+
rubyforge_project:
|
191
|
+
rubygems_version: 2.6.3
|
192
|
+
signing_key:
|
193
|
+
specification_version: 4
|
194
|
+
summary: muflax standard library
|
195
|
+
test_files: []
|
196
|
+
has_rdoc:
|
metadata.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
�c~#�K)��<٦[���[��~�_3F�J��1�k���͑r���W�\��n��1���<�8ޤ��d�W�"�������=�(mw�ӳ��oNz�1�TS^������>[�l���<݀+�D�أb��=��2��e���e�h�y�es���Bt�� ���&�9*Fn���5���s=��x�ʥ���8�g_��B8����k+����4�N6D�}�^��(�=r��1�t�)�&�5��;c�����f
|