calco 0.2.0 → 0.2.1
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 +4 -4
- data/README.md +1 -15
- data/calco.gemspec +1 -1
- data/lib/calco/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 41071f8b23de540d7c2d881dbc31f092bd92071f
|
|
4
|
+
data.tar.gz: 15ce9d40b979232e85cf5758d0bb61e166368804
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c52235eca9a454424a51ba090715762e54a047cc33c69d83593986684b769b60aa2de74f807172be706c179b9a47cadbcd09e1e83949fe6b028655abb4b9c56
|
|
7
|
+
data.tar.gz: debb504053a1a6afcef721ae72931245870c3317c6211389ac65de0b526516119fc566a6ab35fb1e2505540d5345dee53a37cf132f7f4b3fc2aa6bf6aaacbb28
|
data/README.md
CHANGED
|
@@ -241,21 +241,7 @@ searches for each sheet a template sheet in the template file after its name.
|
|
|
241
241
|
|
|
242
242
|
If the engine finds a template sheet, it removes the content and inserts the
|
|
243
243
|
generated rows. If the template sheet contains the header, the engine does
|
|
244
|
-
not remove it (using the `
|
|
245
|
-
|
|
246
|
-
```ruby
|
|
247
|
-
doc.save($stdout) do
|
|
248
|
-
|
|
249
|
-
sheet = doc.current
|
|
250
|
-
|
|
251
|
-
sheet[:some_date] = Date.new(1934, 10, 3)
|
|
252
|
-
sheet.write_row 3
|
|
253
|
-
|
|
254
|
-
sheet[:some_date] = Date.new(2004, 6, 19)
|
|
255
|
-
sheet.write_row 5
|
|
256
|
-
|
|
257
|
-
end
|
|
258
|
-
```
|
|
244
|
+
not remove it (using the `has_titles` directive).
|
|
259
245
|
|
|
260
246
|
If the engine does not find a template sheet, it appends a new sheet.
|
|
261
247
|
|
data/calco.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
|
|
|
10
10
|
gem.email = ["jean.lazarou@alef1.org"]
|
|
11
11
|
gem.description = %q{Implements a DSL used to create and define the content of spreadsheet documents}
|
|
12
12
|
gem.summary = %q{DSL for spreadsheet documents}
|
|
13
|
-
gem.homepage = "
|
|
13
|
+
gem.homepage = "http://jeanlazarou.github.io/calco/"
|
|
14
14
|
|
|
15
15
|
gem.files = `git ls-files`.split($/)
|
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
data/lib/calco/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: calco
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jean Lazarou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -120,7 +120,7 @@ files:
|
|
|
120
120
|
- spec/styles_spec.rb
|
|
121
121
|
- spec/variables_spec.rb
|
|
122
122
|
- spec/xml_builder_spec.rb
|
|
123
|
-
homepage:
|
|
123
|
+
homepage: http://jeanlazarou.github.io/calco/
|
|
124
124
|
licenses: []
|
|
125
125
|
metadata: {}
|
|
126
126
|
post_install_message:
|