vv 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vv.rb +4 -0
- data/lib/vv/file_methods.rb +25 -0
- data/lib/vv/string_methods.rb +4 -0
- data/lib/vv/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f85730241772824e99721c4172486afcfda2bf780c1054617de82ab689b02cd
|
4
|
+
data.tar.gz: 7d2aa4dfefa395bbf006cedd95d4364c74a9f2a0c7fb76f23e826a5f00050952
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72731d67ba4dfe17b6915b49803a9392d4762c060e14dd067cb24cf9880610b95dc45f82823f185fbe29699f49a43cf201f1a9e2a42e3af2672ee8f662fe7d9e
|
7
|
+
data.tar.gz: 44046a685b2f979e12d9db183c920f33553fad651b2df84c94f52d8939210db699483108e4a19b079f8edd865b0cf0366a03d81aef8ca8e60636c350e5af4846
|
data/lib/vv.rb
CHANGED
@@ -0,0 +1,25 @@
|
|
1
|
+
module VV
|
2
|
+
module FileMethods
|
3
|
+
|
4
|
+
def self.included(base)
|
5
|
+
base.extend(ClassMethods)
|
6
|
+
end
|
7
|
+
|
8
|
+
module ClassMethods
|
9
|
+
|
10
|
+
def vv_included?
|
11
|
+
true
|
12
|
+
end
|
13
|
+
|
14
|
+
def vv_readlines *args, **kwargs
|
15
|
+
File.readlines(*args, **kwargs).map!(&:chomp)
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
19
|
+
|
20
|
+
def vv_readlines
|
21
|
+
self.class.vv_readlines self
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
data/lib/vv/string_methods.rb
CHANGED
data/lib/vv/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Aysan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -64,6 +64,7 @@ files:
|
|
64
64
|
- lib/vv.rb
|
65
65
|
- lib/vv/array_methods.rb
|
66
66
|
- lib/vv/false_methods.rb
|
67
|
+
- lib/vv/file_methods.rb
|
67
68
|
- lib/vv/gem_methods.rb
|
68
69
|
- lib/vv/hash_methods.rb
|
69
70
|
- lib/vv/nil_methods.rb
|