dreader 0.5.0 → 1.0.0

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: 6d8614a8a096861014425bd378d217b842f81d69e77570c7e2246b6f879340e3
4
- data.tar.gz: 95ad2ee890b15b6e2116dd7d9e41a4db619023950139fb8852ccb373524e1d9a
3
+ metadata.gz: 3c2efcf5261515d6957bc11526a5e63956bf09c3fd35cf0fb73805e541fa59ef
4
+ data.tar.gz: 4d6a80ea2112fbe2cbb024819801ca3853dd6046047069770361a4c32d84bcbe
5
5
  SHA512:
6
- metadata.gz: 2c5430e1e962437450c71bd7b0bb576815b68c09164aca1deccefa73d19227f55737da296f4aed6eb1ddf3aa1d630726eda06d6074bde7614e7430bc778c55a0
7
- data.tar.gz: 103f3c997d05fdb4827b5c24bd9a941341787aff46aad4843b09e33189bd482ebc077d75f62ed6a9732420247eb54ba1f7579bcacb845ed2af77a28341b99f03
6
+ metadata.gz: 7060427113fcf0d8bd33d6db69d42554cd8cf00cbc4b1e4701192c7f846bbfd4c1e4cc904d50277c3b3b6896178ba743dbfb1944da79aaa020b1599cd6f3f856
7
+ data.tar.gz: 9875ecb098b1085033de36da91917186ba5687028694b0073da71a2ebe4185c594fe31aaf536c2cb5ac7b96bdd7a1f3031fd943b05c9baa4959d0d15e2a5a2f8
data/CHANGELOG.ORG ADDED
@@ -0,0 +1,45 @@
1
+ #+TITLE: Changelog
2
+
3
+ * Version 1.0.0
4
+ ** Changes the DSL to allow declaration in a class
5
+
6
+ The preferred way of using Dreader is by declaring options, column,
7
+ ..., in a class and then instantiate the class and do the work
8
+
9
+ See the README for more details.
10
+
11
+ ** The bulk_declare method has been removed. Use ~columns~ instead
12
+
13
+ * Version 0.6.2
14
+ ** Adds row_errors and row_numbers in the hash of a row
15
+ ** Support ~{ a: 'A' }~ notation also in column
16
+ ** Now uses a logger and allows to specify logger and logger_level outside the class
17
+
18
+ If you pass the read a =logger:= and/or a =logger_level:=, dreader
19
+ will now honor them and log to the logger you specified, rather
20
+ than to standard output
21
+
22
+ * Version 0.5.0
23
+ ** Fixes issues with Gem declaration
24
+
25
+ * Version 0.4.2
26
+ ** Better error messages for process and check functions
27
+ dreader now captures exceptions raised by process and check and
28
+ prints and error message to stdout if an error is found.
29
+ the exception is then propagated in the standard way.
30
+ ** New method bulk_declare
31
+ bulk_declare allow to easily declare columns which don't need a
32
+ specific treatment
33
+ ** Read will now complains if the argument passed is not a hash
34
+ ** Virtualcols is now accessible (attr_reader)
35
+ ** Fixed a bug with slice
36
+
37
+ * Version 0.4.1
38
+ ** Fixed an issue with ~read~: it always required a hash as input
39
+ ** Changed syntax of ~debug~, which now accepts a hash as argument
40
+ This makes its syntax similar to ~read~.
41
+ ** Improved output of ~debug~
42
+ By default ~debug~ now prints the output of ~process~ and ~check~.
43
+ You can disable this feature by passing ~process: false~ and/or ~check:
44
+ false~ to the ~debug~. Notice that ~check~ implies ~process~.
45
+
data/Gemfile.lock CHANGED
@@ -1,26 +1,39 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dreader (0.4.2)
4
+ dreader (0.6.3)
5
+ fast_excel
5
6
  roo
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
9
10
  specs:
10
- mini_portile2 (2.4.0)
11
- nokogiri (1.10.5)
12
- mini_portile2 (~> 2.4.0)
11
+ debug (1.8.0)
12
+ irb (>= 1.5.0)
13
+ reline (>= 0.3.1)
14
+ fast_excel (0.4.1)
15
+ ffi (> 1.9, < 2)
16
+ ffi (1.15.5)
17
+ io-console (0.6.0)
18
+ irb (1.7.2)
19
+ reline (>= 0.3.6)
20
+ nokogiri (1.15.3-x86_64-linux)
21
+ racc (~> 1.4)
22
+ racc (1.7.1)
13
23
  rake (10.5.0)
14
- roo (2.8.2)
24
+ reline (0.3.6)
25
+ io-console (~> 0.5)
26
+ roo (2.10.0)
15
27
  nokogiri (~> 1)
16
- rubyzip (>= 1.2.1, < 2.0.0)
17
- rubyzip (1.3.0)
28
+ rubyzip (>= 1.3.0, < 3.0.0)
29
+ rubyzip (2.3.2)
18
30
 
19
31
  PLATFORMS
20
32
  ruby
21
33
 
22
34
  DEPENDENCIES
23
35
  bundler (~> 1.16)
36
+ debug (>= 1.0.0)
24
37
  dreader!
25
38
  rake (~> 10.0)
26
39