ptt 1.0.2 → 1.0.3

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: 9f914a5499254b17d3735a37ddcc34104c61ef59
4
- data.tar.gz: 5d5cf6aefb2b97fb92b6d9aafdee63cf371333ce
3
+ metadata.gz: 6bd7936e8aab3d99e6a29f3a1f58ed05fa63c8b7
4
+ data.tar.gz: 794bf70eef892a3c5f37f24afb1f03adc8814fc0
5
5
  SHA512:
6
- metadata.gz: 337b762871cdaf12ec32642c2656e2cd267b0c36b20966365a8bcb837400c1efdab23247f5a86a81a4bc64c9361768e477fdcb12ef806f3db7b18c23af68a33c
7
- data.tar.gz: 70c81a8d0bee4383c99b007f87acaaeea00c01e2f041145d325da4c58875be7c5abe99450b51d646091ba971b4ac06f1f0abe1e1a3c025434533b54e19a86a18
6
+ metadata.gz: d5949244e82e3c0b6375dacf0e53c2fab837c277adc0fd0325bfd00b19d0387100d6e760ba700724665a6b4dd042f4a5436f51206a0f719a0ce1dce6873fb275
7
+ data.tar.gz: 2eaaa3a9d7462c948aa02c24c6d561a89086162c01324d32f19145be70693b018a95e206c188662bd05bdaffdcacf1da96f8668516f8d1df0d86bdfb526b5f82
@@ -0,0 +1,3 @@
1
+ Gemfile.lock
2
+ .pt
3
+ *.gem
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.13.7
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at botoksgonzales@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
- source "http://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
+ # Specify your gem's dependencies in ptt.gemspec
3
4
  gemspec
4
5
 
5
6
  gem 'tracker_api', github: 'drselump14/tracker_api', branch: :develop
6
-
@@ -17,4 +17,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
17
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
18
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
19
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -4,6 +4,9 @@
4
4
 
5
5
  Minimal client to use Pivotal Tracker API v5 from the command line (forked from pt
6
6
 
7
+ # Demo
8
+
9
+ [![asciicast](https://asciinema.org/a/0u8dnizygazrksgtd1p33a69b.png)](https://asciinema.org/a/0u8dnizygazrksgtd1p33a69b)
7
10
 
8
11
  ## Setup
9
12
 
data/Rakefile CHANGED
@@ -1,2 +1,10 @@
1
- require 'bundler'
2
- Bundler::GemHelper.install_tasks
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "ptt"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install --path=vendor/bundle
7
+
8
+ # Do any other automated setup that you need to do here
data/lib/ptt.rb CHANGED
@@ -1,12 +1,13 @@
1
- require 'rubygems'
2
-
3
- module PTT
4
- class InputError < StandardError; end
5
- VERSION = '1.0.2'
6
- end
7
-
1
+ require "bundler"
2
+ Bundler.require(:default)
8
3
  require 'tracker_api'
4
+
5
+ require "ptt/version"
9
6
  require 'ptt/client'
10
7
  require 'ptt/data_row'
11
8
  require 'ptt/data_table'
12
9
  require 'ptt/ui'
10
+
11
+ module PTT
12
+ # Your code goes here...
13
+ end
@@ -1,5 +1,6 @@
1
1
  require 'ptt/switch_ssl'
2
2
  require 'uri'
3
+ require 'tracker_api'
3
4
 
4
5
  class PTT::Client
5
6
 
@@ -0,0 +1,3 @@
1
+ module PTT
2
+ VERSION = '1.0.3'
3
+ end
@@ -0,0 +1,31 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'ptt/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "ptt"
8
+ spec.version = PTT::VERSION
9
+ spec.authors = ["Slamet Kristanto","Raul Murciano", "Orta Therox", "Engineering at Causes"]
10
+ spec.email = ["cakmet14@gmail.com", "raul@murciano.net", "orta.therox@gmail.com", "eng@causes.com"]
11
+ spec.licenses = ['MIT']
12
+ spec.homepage = "http://www.github.com/drselump14/ptt"
13
+ spec.summary = "Pivotal Tracker CLI (API v5)"
14
+ spec.description = "Pivotal Tracker Command Line Interface (forked from pt)"
15
+ spec.executables = ["ptt"]
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_development_dependency "bundler", "~> 1.13"
24
+ spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "minitest", "~> 5.0"
26
+
27
+ spec.add_dependency 'hirb', '~> 0.7', '>= 0.7.3'
28
+ spec.add_dependency 'hirb-unicode', '~> 0.0.5', '>= 0.0.5'
29
+ spec.add_dependency 'colored', '~> 1.2'
30
+ spec.add_dependency 'highline'
31
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ptt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Slamet Kristanto
@@ -11,36 +11,50 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-01-01 00:00:00.000000000 Z
14
+ date: 2017-01-05 00:00:00.000000000 Z
15
15
  dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: bundler
18
+ requirement: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - "~>"
21
+ - !ruby/object:Gem::Version
22
+ version: '1.13'
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.13'
16
30
  - !ruby/object:Gem::Dependency
17
31
  name: rake
18
32
  requirement: !ruby/object:Gem::Requirement
19
33
  requirements:
20
- - - ">="
34
+ - - "~>"
21
35
  - !ruby/object:Gem::Version
22
- version: '0'
36
+ version: '10.0'
23
37
  type: :development
24
38
  prerelease: false
25
39
  version_requirements: !ruby/object:Gem::Requirement
26
40
  requirements:
27
- - - ">="
41
+ - - "~>"
28
42
  - !ruby/object:Gem::Version
29
- version: '0'
43
+ version: '10.0'
30
44
  - !ruby/object:Gem::Dependency
31
- name: tracker_api
45
+ name: minitest
32
46
  requirement: !ruby/object:Gem::Requirement
33
47
  requirements:
34
- - - ">="
48
+ - - "~>"
35
49
  - !ruby/object:Gem::Version
36
- version: '0'
37
- type: :runtime
50
+ version: '5.0'
51
+ type: :development
38
52
  prerelease: false
39
53
  version_requirements: !ruby/object:Gem::Requirement
40
54
  requirements:
41
- - - ">="
55
+ - - "~>"
42
56
  - !ruby/object:Gem::Version
43
- version: '0'
57
+ version: '5.0'
44
58
  - !ruby/object:Gem::Dependency
45
59
  name: hirb
46
60
  requirement: !ruby/object:Gem::Requirement
@@ -120,12 +134,16 @@ executables:
120
134
  extensions: []
121
135
  extra_rdoc_files: []
122
136
  files:
123
- - Changelog.md
137
+ - ".gitignore"
138
+ - ".travis.yml"
139
+ - CODE_OF_CONDUCT.md
124
140
  - Gemfile
125
- - LICENSE
141
+ - LICENSE.txt
126
142
  - README.md
127
143
  - Rakefile
144
+ - bin/console
128
145
  - bin/ptt
146
+ - bin/setup
129
147
  - lib/ptt.rb
130
148
  - lib/ptt/client.rb
131
149
  - lib/ptt/data_row.rb
@@ -133,6 +151,9 @@ files:
133
151
  - lib/ptt/debugger.rb
134
152
  - lib/ptt/switch_ssl.rb
135
153
  - lib/ptt/ui.rb
154
+ - lib/ptt/version.rb
155
+ - pkg/ptt-1.0.2.gem
156
+ - ptt.gemspec
136
157
  homepage: http://www.github.com/drselump14/ptt
137
158
  licenses:
138
159
  - MIT
@@ -152,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
173
  - !ruby/object:Gem::Version
153
174
  version: '0'
154
175
  requirements: []
155
- rubyforge_project: ptt
176
+ rubyforge_project:
156
177
  rubygems_version: 2.6.8
157
178
  signing_key:
158
179
  specification_version: 4
@@ -1,119 +0,0 @@
1
- # ptt changelog
2
-
3
- Upgrade to Pivotal Tracker API V5
4
-
5
-
6
- # pt changelog
7
-
8
- ## v0.7.3
9
-
10
- Fix to `pt list` ( icetan )
11
-
12
- ## v0.7.2
13
-
14
- Show task updates for attachments, labels, and a recent stories list
15
-
16
- ## v0.7.1
17
-
18
- Fixes to pt show
19
- Updates to the help
20
- Fixed the -m option
21
-
22
- ## v0.7.0
23
-
24
- Comment, Assign, Estimate, Start, Finish, Deliver, Accept all accept the num value in `pt` or a story id
25
-
26
- ## v0.6.3 & v0.6.4
27
-
28
- Added the ability to see started by username ( good idea marcolz )
29
-
30
- ## v0.6.2
31
-
32
- Added "-m" to create that will load the description in your editor ( good idea ahunt09 )
33
-
34
- ## v0.6
35
-
36
- Added command pt started ( Matthijs Groen )
37
- Added command pt tasks ( Matthijs Groen )
38
-
39
- ## v0.5.8
40
-
41
- Improved support for ruby 1.8 ( Paco Benavent )
42
-
43
- ## v0.5.7
44
-
45
- Fixed `pt list [username]` ( stephencelis )
46
-
47
- ## v0.5.6
48
-
49
- Added `pt list all` which shows tickets from all members of the project ( kylewest )
50
-
51
- ## v0.5.5
52
-
53
- Show the id of tickes by default in tables, adds the url of the task to show and shows more information about attachments ( derwiki )
54
-
55
- ## v0.5.4
56
-
57
- Fix to pt create, wherein skipping optional parameters wouldn't work as expected, or at all. ( aniccolai )
58
-
59
- ## v0.5.3
60
-
61
- Added a command todo, that only shows unscheduled stories ( orta )
62
-
63
- ## v0.5.2
64
-
65
- Made create agnostic of order for assignee / type, and use defaults of you / feature ( orta )
66
- Added query limit size to activity ( jonmountjoy )
67
-
68
- ## v0.5.1
69
-
70
- Extra commands added, they can be accessed through 'pt help' ( orta )
71
- Fix for 1.9.3 not getting deprecation warnings
72
-
73
- ## v0.4
74
-
75
- Added support for calling functions without going through the walkthroughs ( orta )
76
-
77
- ## v0.3.9
78
-
79
- Attachments displayed in 'show' task, thanks Anthony Crumley!
80
-
81
- ## v0.3.8
82
-
83
- Fix converting encodings, thanks Johan Andersson!
84
-
85
- ## v0.3.7
86
- Fix and story's id in "show" command
87
-
88
- ## v0.3.6
89
- Fix for ruby 1.9 strings, thanks David Ramirez for reporting!
90
-
91
- ## v0.3.5
92
- New 'show' command largely based on craftycode's (Anthony Crumley) contribution
93
-
94
- ## v0.3.4
95
- Improved charset support
96
-
97
- ## v0.3.3
98
- Added SSL support
99
-
100
- ## v0.3.2
101
- Fix in requests debugger
102
-
103
- ## v0.3.1
104
- Dependencies versions added to gemspec
105
-
106
- ## v0.3.0
107
- Added --debug option to see the interaction with PT's API
108
-
109
- ## v0.2.2
110
- Fix: list of tasks to start
111
-
112
- ## v0.2.1
113
- Error message when using pt from ~
114
-
115
- ## v0.2
116
- Fix for ruby 1.8
117
-
118
- ## v0.1
119
- First release