w-stdlib 0.0.15 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/w-stdlib/core_ext/hash.rb +4 -0
- data/lib/w-stdlib/core_ext/string.rb +0 -1
- data/lib/w-stdlib/prelude.rb +6 -0
- data/w-stdlib.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99306665498093b2a9e70d81c1e1a6320a146b8861706a4194a9b15c7c4bc4b8
|
4
|
+
data.tar.gz: 875e7062c1762943c45893bf147b5d43a534df15b359f22830415d6cc80f0ef5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d02a46a406cff16e17834b22d460a3b19532c51acc5d079cac669751e409da1bcbb95406f71656e91fc0da3838943e58839ea80f0402b55a6c3c2d176985fe8a
|
7
|
+
data.tar.gz: 6973d4ffbb55fac0bed17fde82c23486b3f240cd20514d67acfb266e3c8353327cc671f1f898070260896d7fa8a10979dfa1bb0bb6bddd2e4356c03d672c0046
|
data/lib/w-stdlib/prelude.rb
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
require 'http'
|
2
2
|
require 'json'
|
3
3
|
require_relative 'core_ext/string'
|
4
|
+
require_relative 'core_ext/array'
|
5
|
+
require_relative 'core_ext/hash'
|
6
|
+
require_relative 'core_ext/object'
|
4
7
|
|
5
8
|
using StringExt
|
9
|
+
using ArrayExt
|
10
|
+
using HashExt
|
11
|
+
using ObjectExt
|
6
12
|
|
7
13
|
def fatal(msg, code=1, pref='[!] ')
|
8
14
|
STDERR.puts pref + msg
|
data/w-stdlib.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |g|
|
2
2
|
g.name = 'w-stdlib'
|
3
|
-
g.version = '0.0
|
3
|
+
g.version = '0.1.0'
|
4
4
|
g.summary = 'Pre-alpha package that contains abstractions that I find useful when scripting. Not suitable for production use. Breaking changes highly likely even with minor version bumps. Use at your own risk'
|
5
5
|
g.description = g.summary
|
6
6
|
g.authors = ['will@btlr.dev']
|