ptf 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +2 -0
- data/.ruby-version +1 -0
- data/.travis.yml +4 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +8 -0
- data/bin/console +14 -0
- data/bin/ptf +14 -0
- data/bin/setup +7 -0
- data/lib/ptf/client/group.rb +23 -0
- data/lib/ptf/client/summary.rb +23 -0
- data/lib/ptf/client/task.rb +37 -0
- data/lib/ptf/client.rb +39 -0
- data/lib/ptf/commands/group/add.rb +50 -0
- data/lib/ptf/commands/group.rb +9 -0
- data/lib/ptf/commands/init.rb +65 -0
- data/lib/ptf/commands/list.rb +91 -0
- data/lib/ptf/commands/task/create.rb +70 -0
- data/lib/ptf/commands/task/edit.rb +55 -0
- data/lib/ptf/commands/task.rb +67 -0
- data/lib/ptf/commands.rb +13 -0
- data/lib/ptf/config.rb +42 -0
- data/lib/ptf/data/data_file.rb +42 -0
- data/lib/ptf/data/group.rb +107 -0
- data/lib/ptf/data/metadata_file.rb +237 -0
- data/lib/ptf/data.rb +9 -0
- data/lib/ptf/utilities/date.rb +63 -0
- data/lib/ptf/utilities/file_system.rb +83 -0
- data/lib/ptf/utilities.rb +28 -0
- data/lib/ptf/version.rb +3 -0
- data/lib/ptf.rb +10 -0
- data/ptf.gemspec +35 -0
- metadata +139 -0
data/lib/ptf.rb
ADDED
data/ptf.gemspec
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'ptf/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "ptf"
|
8
|
+
spec.version = Ptf::VERSION
|
9
|
+
spec.authors = ["Austin Blatt"]
|
10
|
+
spec.email = ["austinblatt@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{A command line task manager.}
|
13
|
+
spec.description = %q{}
|
14
|
+
spec.homepage = "https://github.com/austb/ptf"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
|
+
# delete this section to allow pushing this gem to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
21
|
+
else
|
22
|
+
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
+
end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
spec.bindir = "bin"
|
27
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
|
30
|
+
spec.add_dependency "thor", "~> 0.19.1"
|
31
|
+
|
32
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
33
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
34
|
+
spec.add_development_dependency "rspec"
|
35
|
+
end
|
metadata
ADDED
@@ -0,0 +1,139 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ptf
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Austin Blatt
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-12-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.19.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.19.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: ''
|
70
|
+
email:
|
71
|
+
- austinblatt@gmail.com
|
72
|
+
executables:
|
73
|
+
- console
|
74
|
+
- ptf
|
75
|
+
- setup
|
76
|
+
extensions: []
|
77
|
+
extra_rdoc_files: []
|
78
|
+
files:
|
79
|
+
- ".gitignore"
|
80
|
+
- ".rspec"
|
81
|
+
- ".ruby-version"
|
82
|
+
- ".travis.yml"
|
83
|
+
- CODE_OF_CONDUCT.md
|
84
|
+
- Gemfile
|
85
|
+
- LICENSE.txt
|
86
|
+
- README.md
|
87
|
+
- Rakefile
|
88
|
+
- bin/console
|
89
|
+
- bin/ptf
|
90
|
+
- bin/setup
|
91
|
+
- lib/ptf.rb
|
92
|
+
- lib/ptf/client.rb
|
93
|
+
- lib/ptf/client/group.rb
|
94
|
+
- lib/ptf/client/summary.rb
|
95
|
+
- lib/ptf/client/task.rb
|
96
|
+
- lib/ptf/commands.rb
|
97
|
+
- lib/ptf/commands/group.rb
|
98
|
+
- lib/ptf/commands/group/add.rb
|
99
|
+
- lib/ptf/commands/init.rb
|
100
|
+
- lib/ptf/commands/list.rb
|
101
|
+
- lib/ptf/commands/task.rb
|
102
|
+
- lib/ptf/commands/task/create.rb
|
103
|
+
- lib/ptf/commands/task/edit.rb
|
104
|
+
- lib/ptf/config.rb
|
105
|
+
- lib/ptf/data.rb
|
106
|
+
- lib/ptf/data/data_file.rb
|
107
|
+
- lib/ptf/data/group.rb
|
108
|
+
- lib/ptf/data/metadata_file.rb
|
109
|
+
- lib/ptf/utilities.rb
|
110
|
+
- lib/ptf/utilities/date.rb
|
111
|
+
- lib/ptf/utilities/file_system.rb
|
112
|
+
- lib/ptf/version.rb
|
113
|
+
- ptf.gemspec
|
114
|
+
homepage: https://github.com/austb/ptf
|
115
|
+
licenses:
|
116
|
+
- MIT
|
117
|
+
metadata:
|
118
|
+
allowed_push_host: https://rubygems.org
|
119
|
+
post_install_message:
|
120
|
+
rdoc_options: []
|
121
|
+
require_paths:
|
122
|
+
- lib
|
123
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '0'
|
128
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
requirements: []
|
134
|
+
rubyforge_project:
|
135
|
+
rubygems_version: 2.4.5.1
|
136
|
+
signing_key:
|
137
|
+
specification_version: 4
|
138
|
+
summary: A command line task manager.
|
139
|
+
test_files: []
|