makecal 0.0.3 → 0.0.4

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.
Files changed (4) hide show
  1. data/.gitignore +3 -0
  2. data/bin/makecal +14 -0
  3. data/lib/makecal/version.rb +1 -1
  4. metadata +5 -3
data/.gitignore CHANGED
@@ -15,3 +15,6 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+
19
+
20
+ *.sw*
data/bin/makecal ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'makecal'
4
+
5
+ class UI < Thor
6
+ include Thor::Actions
7
+
8
+ desc "makecal", "Generates postscript calendar to your desktop"
9
+ def makecal
10
+ puts run "pcal -B -b all -d Helvetica/8 -t Helvetica/16 -S #{Time.now.month} #{Time.now.year} > ~/Desktop/#{Time.now.month}-#{Time.now.year}"
11
+ end
12
+ end
13
+
14
+ UI.start
@@ -1,3 +1,3 @@
1
1
  module Makecal
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: makecal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-05 00:00:00.000000000 Z
12
+ date: 2012-11-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -30,7 +30,8 @@ dependencies:
30
30
  description: Uses pcal to create a postscript calendar for printing
31
31
  email:
32
32
  - joshua.klina@gmail.com
33
- executables: []
33
+ executables:
34
+ - makecal
34
35
  extensions: []
35
36
  extra_rdoc_files: []
36
37
  files:
@@ -39,6 +40,7 @@ files:
39
40
  - LICENSE
40
41
  - README.md
41
42
  - Rakefile
43
+ - bin/makecal
42
44
  - lib/makecal.rb
43
45
  - lib/makecal/version.rb
44
46
  - makecal.gemspec