makecal 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/bin/makecal +14 -0
- data/lib/makecal/version.rb +1 -1
- metadata +5 -3
data/.gitignore
CHANGED
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
|
data/lib/makecal/version.rb
CHANGED
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.
|
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-
|
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
|