octokitted 0.0.1 → 0.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
  SHA256:
3
- metadata.gz: b33a0fe5db207ed7676f1cacab5d10eda78112d2ff4e952574eab3890975dc3f
4
- data.tar.gz: f8cee9a0d5b35409ad84fef1ee75f696eb9f597133b5333ef757eed628f20767
3
+ metadata.gz: 79ee296a98c30f97fd70b08cf0c5c4d907425bb03047c315796b48fc171f461f
4
+ data.tar.gz: 952ad085cde53de7abcae1be6292e2a4e3b9d72af876b772e67fa0013e37f734
5
5
  SHA512:
6
- metadata.gz: '0210854b5aa9fe12a2e1038167d74e9924064ed60a7c5c84ac9ee433e637f9e2b317e121b3b0aa64e08a8cec702fd96c28708ea6c6bb85923361d292fc0e8cf6'
7
- data.tar.gz: b43739ead97c4ee9ea4b8fdd7bf99e2866bd633bae311bdaf0be29f5a8ca9bc1b4d6bf38f9f0d4fe0e115149c247b626631c42a390db44565b1f1bdbdb3b8dbd
6
+ metadata.gz: 5e3e6310f04d682ffaeb5077e707cb11fd1c4a3ad691614798a775e09798cb52d6c42c99dd7577c6043593eb06e55ded2bfb0f1bb53421288000c63d2bf17609
7
+ data.tar.gz: 65780350c6e442466e07e83008b96a8ad49acea371c2de44b41a8a99b5dfce9c973febaecdf9a25fc057cc105c6d2a8d5d022cc31d978f31b371885369dd31f7
data/lib/octokitted.rb CHANGED
@@ -23,6 +23,8 @@ class Octokitted
23
23
  @log = logger || setup_logger
24
24
  @org_and_repo = org_and_repo_hash[:org_and_repo]
25
25
 
26
+ @login = @client.login if @login.nil? # reset the login to the owner of the token if not provided
27
+
26
28
  @log.debug("Octokitted initialized")
27
29
  @log.debug("login: #{@client.login}")
28
30
  @log.debug("org: #{@org}")
data/lib/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Octokitted
4
4
  module Version
5
- VERSION = "0.0.1"
5
+ VERSION = "0.0.3"
6
6
  end
7
7
  end
data/octokitted.gemspec CHANGED
@@ -21,6 +21,8 @@ Gem::Specification.new do |spec|
21
21
  "bug_tracker_uri" => "https://github.com/grantbirki/octokitted/issues"
22
22
  }
23
23
 
24
+ spec.add_dependency "contracts", "~> 0.17"
25
+ spec.add_dependency "faraday-retry", "~> 2.2"
24
26
  spec.add_dependency "git", "~> 1.18"
25
27
  spec.add_dependency "octokit", "~> 7.1"
26
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octokitted
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grant Birkinbine
@@ -10,6 +10,34 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2023-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: contracts
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.17'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.17'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday-retry
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.2'
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: git
15
43
  requirement: !ruby/object:Gem::Requirement