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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5357769bf237ae74776982ba521b37a44442302
4
- data.tar.gz: c8072fa7ed15de141c851089cf5518f179c0bbe2
3
+ metadata.gz: 8a8a13e059d013b2349a61cdc460e3d6630a4d3b
4
+ data.tar.gz: bbb99be909ece712429a32064bc1cf275acb0615
5
5
  SHA512:
6
- metadata.gz: 8e7885d565a62a20adc9842aca4768294c5808d80f4c762996a44e2fc728fe7bec4f657aa4384810a3a459ea9d0e832a4754da5d9d772550f2bf7628a9c9f19a
7
- data.tar.gz: d5250a1bdecfa52f82e504e146708ced242df9dc83a6ef3b8edf884936651c0bbe85c8c0a34c36554a22828643ec4fa3dead31cd02019a456c2300ece1f762bc
6
+ metadata.gz: 8fc5cd005c24da97c7314d2c612c273d46b3fe68271528ee731e56cedeb2680e4fc7af783c050449f362dd71021f2b43f8adfd8800c237b38226bad86366240a
7
+ data.tar.gz: ef0e80294f9663c7a988f3800b7ab1f5ba87fcfd0a4bf93f953468a23e7843ae8fa7ad1ae6ae27b7f9a4d34ca3ceac2bd064e9ee780e49da0bd67cb70e7cf25d
data/.gitignore CHANGED
@@ -3,3 +3,4 @@
3
3
  *.pdf
4
4
  *.gem
5
5
  coverage/
6
+ Gemfile.lock
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
- dotgrid -f dot_grid.pdf --page-types dot-grid --spacing 5 --grid-color CFBAEC --dot-weight 0.5 -m 0.0
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
- dotgrid -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
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
- dotgrid -f grid_c2dfff.pdf --page-types grid --spacing 5 --grid-color CFBAEC --margin 0.0
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
- dotgrid -f horizontal_rule_c2dfff.pdf --page-types horizontal-rule --spacing 5 --grid-color CFBAEC --margin 0.0
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
- dotgrid -f checkerboard_c2dfff.pdf --page-types checkerboard --spacing 5 --grid-color CFBAEC --margin 0.0
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
- dotgrid -f page_types.pdf --page-types "planner, checkerboard, grid, dot_grid" --spacing 5 --grid-color CFBAEC --margin 0.0
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
- dotgrid -f page_types.pdf --page-types "planner, checkerboard, grid, dot_grid, horizontal_rule" --spacing 5 --grid-color CFBAEC -m 0.0
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
- dotgrid --help
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"
@@ -1,3 +1,3 @@
1
1
  module DotGrid
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
data/lib/dot_grid.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require 'dot_grid/version'
1
2
  require 'dot_grid/cli'
2
3
  require 'dot_grid/generator'
3
4
  require 'dot_grid/document'
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.8
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
- - dotgrid
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/dotgrid
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)
File without changes