w-stdlib 0.0.1 → 0.0.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
  SHA256:
3
- metadata.gz: f7cb8e2bf20665a3a90bfa7cdfbf7db465f5867bce893d78783b3ccfa38d245a
4
- data.tar.gz: 3ce32ae202b1a5f77fa3cf90e97295d775a4c2fa6487daa92fbb8a4f6c6830fa
3
+ metadata.gz: 04c50ead7377d2c59951d5cc7ba399bf1e9369e23cb3d94b4884d2dadcce3a31
4
+ data.tar.gz: e56cfa336ffecdf871e11f9390d1e4522b59610034dfb48bbafe1c80afc31c0f
5
5
  SHA512:
6
- metadata.gz: 43bae6362746dd9b6bbddf3fa1fc74a8272be4db2e15df2fb65daaa9905a7938b2a8f5faf45228e29348678bd2d390a3258eedae83218ff37ee68e1c5a4ed4b5
7
- data.tar.gz: 7e8447678675d9df0e2c8fea625833c893a471403df9713aac377b06a86afbfbe34d2697e86b237e860708b2bd96073528fe427d8ff31b1311a42bf1c323873f
6
+ metadata.gz: 4b395f06878b1552788db94781245b1d5ad14a32b3774bf85474a48c7715f55b241030b5fdf3d4b32d79b27b6913b7faab22f42eea34108e09c3e13e47713a22
7
+ data.tar.gz: be726cc0a08511909f76582f9cbe32bdb267e88f6ac06e9a7eb2a971b316ca3bc86460550de13c8c97accd26f8e98560ac29a5547542cfac03670b59b064923b
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,9 +1,14 @@
1
1
  require 'base64'
2
2
  require 'json'
3
3
  require 'cgi'
4
+ require 'yaml'
4
5
 
5
6
  module StringExt
6
7
  refine String do
8
+ def from_yaml
9
+ YAML.safe_load(self)
10
+ end
11
+
7
12
  def from_json
8
13
  JSON.parse self
9
14
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/lib/w-stdlib.rb CHANGED
@@ -1 +1 @@
1
- require ''
1
+ require_relative './prelude.rb'
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.1'
3
+ g.version = '0.0.5'
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']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: w-stdlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - will@btlr.dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-01-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Pre-alpha package that contains abstractions that I find useful when
14
14
  scripting. Not suitable for production use. Breaking changes highly likely even
@@ -19,24 +19,24 @@ extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - Gemfile
22
- - lib/aws.rb
23
- - lib/case_insensitive_hash.rb
24
- - lib/core_ext/array.rb
25
- - lib/core_ext/aws.rb
26
- - lib/core_ext/file.rb
27
- - lib/core_ext/hash.rb
28
- - lib/core_ext/io.rb
29
- - lib/core_ext/ipv4net.rb
30
- - lib/core_ext/object.rb
31
- - lib/core_ext/openssl.rb
32
- - lib/core_ext/string.rb
33
- - lib/core_ext/uri.rb
34
- - lib/github_client.rb
35
- - lib/glob.rb
36
- - lib/prelude.rb
37
- - lib/processes.rb
38
- - lib/uri.rb
39
22
  - lib/w-stdlib.rb
23
+ - lib/w-stdlib/aws.rb
24
+ - lib/w-stdlib/case_insensitive_hash.rb
25
+ - lib/w-stdlib/core_ext/array.rb
26
+ - lib/w-stdlib/core_ext/aws.rb
27
+ - lib/w-stdlib/core_ext/file.rb
28
+ - lib/w-stdlib/core_ext/hash.rb
29
+ - lib/w-stdlib/core_ext/io.rb
30
+ - lib/w-stdlib/core_ext/ipv4net.rb
31
+ - lib/w-stdlib/core_ext/object.rb
32
+ - lib/w-stdlib/core_ext/openssl.rb
33
+ - lib/w-stdlib/core_ext/string.rb
34
+ - lib/w-stdlib/core_ext/uri.rb
35
+ - lib/w-stdlib/github_client.rb
36
+ - lib/w-stdlib/glob.rb
37
+ - lib/w-stdlib/prelude.rb
38
+ - lib/w-stdlib/processes.rb
39
+ - lib/w-stdlib/uri.rb
40
40
  - w-stdlib.gemspec
41
41
  homepage:
42
42
  licenses: []
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  - !ruby/object:Gem::Version
57
57
  version: '0'
58
58
  requirements: []
59
- rubygems_version: 3.0.3
59
+ rubygems_version: 3.1.6
60
60
  signing_key:
61
61
  specification_version: 4
62
62
  summary: Pre-alpha package that contains abstractions that I find useful when scripting.