value_inspect 0.1.2 → 0.2.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 +19 -0
- data/README.md +10 -1
- data/lib/value_inspect.rb +6 -3
- data/lib/value_inspect/dir.rb +7 -0
- data/lib/value_inspect/file.rb +7 -0
- data/lib/value_inspect/pathname.rb +7 -0
- data/value_inspect.gemspec +1 -2
- metadata +7 -3
- data/lib/value_inspect/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73129ad4f99216cbecad93b3a99427b514a187db
|
4
|
+
data.tar.gz: f00eb8cd9444fff43fa6e8c6d85ba42748578d0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96b214f5e031ad8861ae40ac656a935d64b8f0d3b7611b12d2e278e22503b439541261274a08932169ad9e8022901f41352e94270109da636ee96c915dafa18d
|
7
|
+
data.tar.gz: 1817a4f16d9c11ee99e0962fb1ba889074ea04a9aaf9d87ced6859d6ee48942971ed9cffad7b02722f4171a30d9bba621912074c82a593024535dafd7202bf60
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -43,11 +43,20 @@ Date.new(1970, 1, 1).original_inspect
|
|
43
43
|
|
44
44
|
## Supported classes
|
45
45
|
|
46
|
+
Core:
|
47
|
+
* "basic" classes like `Integer`, `String`, `Array` etc "just work"
|
48
|
+
* `Dir`
|
49
|
+
* `File`
|
46
50
|
* `Struct`
|
47
51
|
* `Time`
|
52
|
+
|
53
|
+
Standard library:
|
54
|
+
* `BigDecimal`
|
48
55
|
* `Date`
|
49
56
|
* `DateTime`
|
50
|
-
* `
|
57
|
+
* `Pathname`
|
58
|
+
|
59
|
+
Gems:
|
51
60
|
* [`Value`](https://github.com/tcrayford/Values)
|
52
61
|
|
53
62
|
## Installation
|
data/lib/value_inspect.rb
CHANGED
@@ -1,7 +1,10 @@
|
|
1
|
-
require "value_inspect/
|
2
|
-
|
1
|
+
require "value_inspect/dir"
|
2
|
+
require "value_inspect/file"
|
3
3
|
require "value_inspect/struct"
|
4
|
-
require "value_inspect/bigdecimal" if defined? BigDecimal
|
5
4
|
require "value_inspect/time"
|
5
|
+
|
6
|
+
require "value_inspect/bigdecimal" if defined? BigDecimal
|
6
7
|
require "value_inspect/date" if defined? Date
|
8
|
+
require "value_inspect/pathname" if defined? Pathname
|
9
|
+
|
7
10
|
require "value_inspect/values" if defined? Value
|
data/value_inspect.gemspec
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'value_inspect/version'
|
5
4
|
|
6
5
|
Gem::Specification.new do |spec|
|
7
6
|
spec.name = "value_inspect"
|
8
|
-
spec.version =
|
7
|
+
spec.version = "0.2.0"
|
9
8
|
spec.authors = ["Wojtek Mach"]
|
10
9
|
spec.email = ["wojtek@wojtekmach.pl"]
|
11
10
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: value_inspect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wojtek Mach
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -76,6 +76,7 @@ extra_rdoc_files: []
|
|
76
76
|
files:
|
77
77
|
- ".gitignore"
|
78
78
|
- ".travis.yml"
|
79
|
+
- CHANGELOG.md
|
79
80
|
- Gemfile
|
80
81
|
- LICENSE.txt
|
81
82
|
- README.md
|
@@ -83,10 +84,12 @@ files:
|
|
83
84
|
- lib/value_inspect.rb
|
84
85
|
- lib/value_inspect/bigdecimal.rb
|
85
86
|
- lib/value_inspect/date.rb
|
87
|
+
- lib/value_inspect/dir.rb
|
88
|
+
- lib/value_inspect/file.rb
|
89
|
+
- lib/value_inspect/pathname.rb
|
86
90
|
- lib/value_inspect/struct.rb
|
87
91
|
- lib/value_inspect/time.rb
|
88
92
|
- lib/value_inspect/values.rb
|
89
|
-
- lib/value_inspect/version.rb
|
90
93
|
- value_inspect.gemspec
|
91
94
|
homepage: https://github.com/wojtekmach/value_inspect
|
92
95
|
licenses:
|
@@ -114,3 +117,4 @@ specification_version: 4
|
|
114
117
|
summary: 'Provides implementation of #inspect that is more readable and can be used
|
115
118
|
in irb.'
|
116
119
|
test_files: []
|
120
|
+
has_rdoc:
|