ideapad 0.1.1 → 0.1.2
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.
- data/.gitignore +1 -0
- data/bin/idea +9 -4
- data/lib/ideapad/version.rb +1 -1
- metadata +5 -3
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pkg
|
data/bin/idea
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
CMD = ARGV[0]
|
4
|
-
|
4
|
+
begin
|
5
|
+
require 'ideapad'
|
6
|
+
rescue LoadError
|
7
|
+
require File.dirname(__FILE__) + '/../lib/ideapad'
|
8
|
+
end
|
9
|
+
|
5
10
|
include Ideapad
|
6
11
|
|
7
12
|
list = IdeaList.load!
|
@@ -24,9 +29,9 @@ def halp!
|
|
24
29
|
|
25
30
|
puts msg.join("\n")
|
26
31
|
end
|
27
|
-
|
28
|
-
case
|
29
|
-
when 'help'
|
32
|
+
cmd = CMD || ''
|
33
|
+
case cmd.downcase
|
34
|
+
when 'help', ''
|
30
35
|
halp!
|
31
36
|
when 'list', 'l'
|
32
37
|
list.pretty
|
data/lib/ideapad/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ideapad
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
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: 2013-01-
|
12
|
+
date: 2013-01-25 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Tiny utility for keeping track of ideas.
|
15
15
|
email:
|
@@ -19,6 +19,7 @@ executables:
|
|
19
19
|
extensions: []
|
20
20
|
extra_rdoc_files: []
|
21
21
|
files:
|
22
|
+
- .gitignore
|
22
23
|
- README.md
|
23
24
|
- bin/idea
|
24
25
|
- ideapad.gemspec
|
@@ -46,8 +47,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
46
47
|
version: '0'
|
47
48
|
requirements: []
|
48
49
|
rubyforge_project: ideapad
|
49
|
-
rubygems_version: 1.8.
|
50
|
+
rubygems_version: 1.8.24
|
50
51
|
signing_key:
|
51
52
|
specification_version: 3
|
52
53
|
summary: Tiny utility for keeping track of ideas.
|
53
54
|
test_files: []
|
55
|
+
has_rdoc:
|