dot_grid 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +8 -8
- data/lib/dot_grid/cli.rb +1 -0
- data/lib/dot_grid/version.rb +1 -1
- data/lib/dot_grid.rb +1 -0
- metadata +3 -4
- data/Gemfile.lock +0 -55
- /data/bin/{dotgrid → dot_grid} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a8a13e059d013b2349a61cdc460e3d6630a4d3b
|
4
|
+
data.tar.gz: bbb99be909ece712429a32064bc1cf275acb0615
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fc5cd005c24da97c7314d2c612c273d46b3fe68271528ee731e56cedeb2680e4fc7af783c050449f362dd71021f2b43f8adfd8800c237b38226bad86366240a
|
7
|
+
data.tar.gz: ef0e80294f9663c7a988f3800b7ab1f5ba87fcfd0a4bf93f953468a23e7843ae8fa7ad1ae6ae27b7f9a4d34ca3ceac2bd064e9ee780e49da0bd67cb70e7cf25d
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -14,28 +14,28 @@ A simple ruby file for generating dot grid graph paper.
|
|
14
14
|
## CLI
|
15
15
|
|
16
16
|
### A basic dot grid page can be generated like this ...
|
17
|
-
|
17
|
+
dot_grid -f dot_grid.pdf --page-types dot-grid --spacing 5 --grid-color CFBAEC --dot-weight 0.5 -m 0.0
|
18
18
|
|
19
19
|
### A basic planning page can be generated like this ...
|
20
|
-
|
20
|
+
dot_grid -f planner_w5_c2dfff.pdf --page-types planner --grid-color CFBAEC --dot-weight 0.5 -m 0.0 --planner-color-1 dddddd --planner-color-2 C2DFFF
|
21
21
|
|
22
22
|
### A regular grid page
|
23
|
-
|
23
|
+
dot_grid -f grid_c2dfff.pdf --page-types grid --spacing 5 --grid-color CFBAEC --margin 0.0
|
24
24
|
|
25
25
|
### A horizontal rule page
|
26
|
-
|
26
|
+
dot_grid -f horizontal_rule_c2dfff.pdf --page-types horizontal-rule --spacing 5 --grid-color CFBAEC --margin 0.0
|
27
27
|
|
28
28
|
### A checkerboard page
|
29
|
-
|
29
|
+
dot_grid -f checkerboard_c2dfff.pdf --page-types checkerboard --spacing 5 --grid-color CFBAEC --margin 0.0
|
30
30
|
|
31
31
|
### Multiple page types (either with no spaces after commas or in quotes).
|
32
|
-
|
32
|
+
dot_grid -f page_types.pdf --page-types "planner, checkerboard, grid, dot_grid" --spacing 5 --grid-color CFBAEC --margin 0.0
|
33
33
|
|
34
34
|
### All of the pages at once ...
|
35
|
-
|
35
|
+
dot_grid -f page_types.pdf --page-types "planner, checkerboard, grid, dot_grid, horizontal_rule" --spacing 5 --grid-color CFBAEC -m 0.0
|
36
36
|
|
37
37
|
### To get help on the command and its options ...
|
38
|
-
|
38
|
+
dot_grid --help
|
39
39
|
|
40
40
|
### The options and their defaults are ...
|
41
41
|
|
data/lib/dot_grid/cli.rb
CHANGED
@@ -5,6 +5,7 @@ module DotGrid
|
|
5
5
|
def self.execute(argv)
|
6
6
|
|
7
7
|
opts = Trollop::options argv do
|
8
|
+
version "dot_grid #{DotGrid::VERSION}"
|
8
9
|
opt :file_name, "File Name", :type => :string, :default => "dotgrid.pdf"
|
9
10
|
opt :orientation, "Orientation of pages (portrait/landscape)", type: :string, default: "portrait"
|
10
11
|
opt :page_types, "Types of pages desired: Types of pages desired: DotGrid, Planner, Grid, HorizontalRule, Checkerboard", type: :string, default: "Planner"
|
data/lib/dot_grid/version.rb
CHANGED
data/lib/dot_grid.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dot_grid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott LaBounty
|
@@ -84,7 +84,7 @@ description: Dot Grid planner PDF generator.
|
|
84
84
|
email:
|
85
85
|
- slabounty@gmail.com
|
86
86
|
executables:
|
87
|
-
-
|
87
|
+
- dot_grid
|
88
88
|
extensions: []
|
89
89
|
extra_rdoc_files: []
|
90
90
|
files:
|
@@ -93,11 +93,10 @@ files:
|
|
93
93
|
- .ruby-version
|
94
94
|
- .travis.yml
|
95
95
|
- Gemfile
|
96
|
-
- Gemfile.lock
|
97
96
|
- LICENSE
|
98
97
|
- README.md
|
99
98
|
- Rakefile
|
100
|
-
- bin/
|
99
|
+
- bin/dot_grid
|
101
100
|
- dot_grid.gemspec
|
102
101
|
- lib/dot_grid.rb
|
103
102
|
- lib/dot_grid/bounding_box.rb
|
data/Gemfile.lock
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
dot_grid (0.0.7)
|
5
|
-
prawn (~> 1.1.0)
|
6
|
-
trollop (~> 2.0)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
coveralls (0.7.0)
|
12
|
-
multi_json (~> 1.3)
|
13
|
-
rest-client
|
14
|
-
simplecov (>= 0.7)
|
15
|
-
term-ansicolor
|
16
|
-
thor
|
17
|
-
diff-lcs (1.2.5)
|
18
|
-
docile (1.1.3)
|
19
|
-
mime-types (2.3)
|
20
|
-
multi_json (1.10.1)
|
21
|
-
pdf-core (0.2.5)
|
22
|
-
prawn (1.1.0)
|
23
|
-
pdf-core (~> 0.2.5)
|
24
|
-
ttfunk (~> 1.2.0)
|
25
|
-
rake (10.3.2)
|
26
|
-
rest-client (1.6.7)
|
27
|
-
mime-types (>= 1.16)
|
28
|
-
rspec (2.14.1)
|
29
|
-
rspec-core (~> 2.14.0)
|
30
|
-
rspec-expectations (~> 2.14.0)
|
31
|
-
rspec-mocks (~> 2.14.0)
|
32
|
-
rspec-core (2.14.8)
|
33
|
-
rspec-expectations (2.14.5)
|
34
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
35
|
-
rspec-mocks (2.14.6)
|
36
|
-
simplecov (0.8.2)
|
37
|
-
docile (~> 1.1.0)
|
38
|
-
multi_json
|
39
|
-
simplecov-html (~> 0.8.0)
|
40
|
-
simplecov-html (0.8.0)
|
41
|
-
term-ansicolor (1.3.0)
|
42
|
-
tins (~> 1.0)
|
43
|
-
thor (0.19.1)
|
44
|
-
tins (1.3.0)
|
45
|
-
trollop (2.0)
|
46
|
-
ttfunk (1.2.0)
|
47
|
-
|
48
|
-
PLATFORMS
|
49
|
-
ruby
|
50
|
-
|
51
|
-
DEPENDENCIES
|
52
|
-
coveralls
|
53
|
-
dot_grid!
|
54
|
-
rake (~> 10.3.2)
|
55
|
-
rspec (~> 2.14.1)
|
/data/bin/{dotgrid → dot_grid}
RENAMED
File without changes
|