dreader 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -3
  3. data/lib/dreader/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a59b3e8b84e9bd26d753db6e25ff23158ecc6e64dc16eb61c37b3f49434f06b2
4
- data.tar.gz: a68e6045cce69837e779a85981b2f09feba3c868508abc65e806132786542cde
3
+ metadata.gz: eff0a237ea9c0a4162696790f1689a868fc8a3efb3075eb0c890ddcc4651b5d0
4
+ data.tar.gz: f3ef74d2063aa07e5f42e3569563b37837ee3fa8d83e243a546d49d6699ef0ae
5
5
  SHA512:
6
- metadata.gz: 5c2aae8a2439807827513eca2f20f8c1124849477e48b87133379a702f34157e729b964450b5f2ac3104583ef92a4a21f9022824d0bd6f865e9ed7824455545b
7
- data.tar.gz: 9ed0f9b735bd3f1ae75ff46fe1509d37c15f2458e064612cd1909e4be65f11654beaaac2a807d1f7f6ef5962e81925848136bcf80c8eddecafb026b07d5ee5b1
6
+ metadata.gz: 491a031d343211d988d7687601cacaeecac49770510940c56c46a770eddc26d703d8c1eb6e370deb79e0b536ecf2ebc8fbd5eac751f0354067c2242cb90f6268
7
+ data.tar.gz: 2ef1c5b00dadeba9f522f874022ec1e88e2409368144e056268155183f2cd5245f64b9e1445e44210cebbba01a24e409cc988651eddc8284080f85d1f216c394
data/README.md CHANGED
@@ -79,7 +79,7 @@ where:
79
79
  * (optional) `sheet` is the sheet name or number to read from. If not
80
80
  specified, the first (default) sheet is used
81
81
 
82
- Spexcify the structure of your file, for the columns you are interested
82
+ Specify the structure of your file, for the columns you are interested
83
83
  to process. You have to specify a name (used to access data) and a
84
84
  column reference (used to read data from the file).
85
85
 
@@ -89,6 +89,7 @@ preprocess data and to check for errors.
89
89
  For instance, given the following file:
90
90
 
91
91
  | Name | Surname | Age |
92
+ |------|---------|-----|
92
93
  | John | Doe | 30 |
93
94
  | Jane | Doe | 31 |
94
95
  | ... | ... | ... |
@@ -115,9 +116,9 @@ i.column :age do
115
116
  x.to_i
116
117
  end
117
118
 
118
- # check age is defined and greater than zero
119
+ # check age is greater than zero
119
120
  check do |x|
120
- x and x.length > 0
121
+ x > 0
121
122
  end
122
123
  end
123
124
 
@@ -1,3 +1,3 @@
1
1
  module Dreader
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dreader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adolfo Villafiorita