pra 2.1.0 → 3.0.0

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
- SHA1:
3
- metadata.gz: a460b389929e15e19c6350124522f9bee85a82f8
4
- data.tar.gz: b5859920cd6119434af70312ce60b49a68d966c8
2
+ SHA256:
3
+ metadata.gz: 628ec63b7b6715945d212db42ded43948f96cfe621bf5ed1b3bfe8f48a41c1dd
4
+ data.tar.gz: 8a3ce401aa27302455cff5aaf71736961fed6cdf9f6c36abb7bdcca99ddfc2c2
5
5
  SHA512:
6
- metadata.gz: 773f87f111d7ca90b25f8d2a4d9064bec399574c02903822bdb00dda5d50eb7b30dc048b1e8b24184dcbec47072425ac74dec82ed38fbff3356a27e81b2103bb
7
- data.tar.gz: f1ef94403694fdb29627534065cc53b95ec3aaf9755251b5b2a1d519401bf81bf59cc2381b5b1838ed64a59127d59931fed140da3dbbc4807facad4786e1e8cf
6
+ metadata.gz: cac38d7aaaefa5d6ed64db23c8be9faa2f31413d6d0802ad88a8fdf318c63bdae8b0621feb853eb55b45f58f0f7191601e1a6e0f119bbe83dfd52682297ecdb4
7
+ data.tar.gz: 1fccbbd25588d6252f18035a239d6394f8de7d5cda848c07483e88cdcbf48b5ae1430bed4fc231e7f40d9b9c74a3b898dd5127f9ba4a0d7b3ac4d5b23388c3ca
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .DS_Store
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.2.3
1
+ 3.3.3
data/lib/pra/config.rb CHANGED
@@ -26,7 +26,7 @@ module Pra
26
26
  end
27
27
 
28
28
  def self.config_path
29
- if File.exists?(File.join(self.users_home_directory, '.pra', 'config.json'))
29
+ if File.exist?(File.join(self.users_home_directory, '.pra', 'config.json'))
30
30
  return File.join(self.users_home_directory, '.pra', 'config.json')
31
31
  else
32
32
  return File.join(self.users_home_directory, '.pra.json')
@@ -34,7 +34,7 @@ module Pra
34
34
  end
35
35
 
36
36
  def self.log_path
37
- unless Dir.exists?(File.join(self.users_home_directory, '.pra', 'logs'))
37
+ unless Dir.exist?(File.join(self.users_home_directory, '.pra', 'logs'))
38
38
  FileUtils.mkdir_p(File.join(self.users_home_directory, '.pra', 'logs'))
39
39
  end
40
40
  return File.join(self.users_home_directory, '.pra', 'logs', '.pra.log')
@@ -19,8 +19,10 @@ module Pra
19
19
 
20
20
  def fetch_pull_requests
21
21
  pull_requests_json = "[]"
22
- conn = Faraday.new
23
- conn.basic_auth(@config['username'], @config['password'])
22
+ conn = Faraday.new do |faraday|
23
+ faraday.request :authorization, :basic, @config['username'], @config['password']
24
+ end
25
+ # conn.basic_auth(@config['username'], @config['password'])
24
26
  resp = conn.get do |req|
25
27
  req.url rest_api_search_issues_url
26
28
  req.params['q'] = "is:pr is:open sort:updated-desc #{repos_for_query}"
data/lib/pra/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pra
2
- VERSION = "2.1.0"
2
+ VERSION = "3.0.0"
3
3
  end
data/pra.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["cyphactor@gmail.com"]
11
11
  spec.description = %q{Command Line utility to make you aware of open pull-requests across systems at all times.}
12
12
  spec.summary = %q{CLI tool that shows open pull-requests across systems.}
13
- spec.homepage = "http://github.com/codebreakdown/pra"
13
+ spec.homepage = "http://github.com/drewdeponte/pra"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -19,13 +19,13 @@ Gem::Specification.new do |spec|
19
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_development_dependency "bundler", "~> 1.10"
23
- spec.add_development_dependency "rake", "~> 10.1"
24
- spec.add_development_dependency "rspec", "~> 3.5"
25
- spec.add_development_dependency "timecop", "~> 0.8"
22
+ spec.add_development_dependency "bundler", "~> 2.5"
23
+ spec.add_development_dependency "rake", "~> 13.2"
24
+ spec.add_development_dependency "rspec", "~> 3.13"
25
+ spec.add_development_dependency "timecop", "~> 0.9"
26
26
 
27
- spec.add_dependency "faraday", "~> 0.9"
28
- spec.add_dependency "launchy", "~> 2.4"
29
- spec.add_dependency "curses", "~> 1.0"
27
+ spec.add_dependency "faraday", "~> 2.11"
28
+ spec.add_dependency "launchy", "~> 3.0"
29
+ spec.add_dependency "curses", "~> 1.4"
30
30
  spec.add_dependency "time-lord", "~> 1.0"
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew De Ponte
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-06 00:00:00.000000000 Z
11
+ date: 2024-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,98 +16,98 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.10'
19
+ version: '2.5'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.10'
26
+ version: '2.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.1'
33
+ version: '13.2'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.1'
40
+ version: '13.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.5'
47
+ version: '3.13'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '3.5'
54
+ version: '3.13'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: timecop
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.8'
61
+ version: '0.9'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.8'
68
+ version: '0.9'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: faraday
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.9'
75
+ version: '2.11'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.9'
82
+ version: '2.11'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: launchy
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.4'
89
+ version: '3.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '2.4'
96
+ version: '3.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: curses
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '1.0'
103
+ version: '1.4'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '1.0'
110
+ version: '1.4'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: time-lord
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -159,11 +159,11 @@ files:
159
159
  - lib/pra/window_system.rb
160
160
  - lib/pra/window_system_factory.rb
161
161
  - pra.gemspec
162
- homepage: http://github.com/codebreakdown/pra
162
+ homepage: http://github.com/drewdeponte/pra
163
163
  licenses:
164
164
  - MIT
165
165
  metadata: {}
166
- post_install_message:
166
+ post_install_message:
167
167
  rdoc_options: []
168
168
  require_paths:
169
169
  - lib
@@ -178,9 +178,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  - !ruby/object:Gem::Version
179
179
  version: '0'
180
180
  requirements: []
181
- rubyforge_project:
182
- rubygems_version: 2.4.5.1
183
- signing_key:
181
+ rubygems_version: 3.5.14
182
+ signing_key:
184
183
  specification_version: 4
185
184
  summary: CLI tool that shows open pull-requests across systems.
186
185
  test_files: []