toolshed 1.0.10 → 1.0.11

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: f59c748de28147e98b514bbb55497754b083db87
4
- data.tar.gz: 609adee1280558e2de65725d85786736bc7e591f
2
+ SHA256:
3
+ metadata.gz: a14ac7eba8844e179d80e11b6fd8de14a7a9a4c2362e0dab009056236d7717cb
4
+ data.tar.gz: 99c5d62abb205a2dd2389e7160aa1c6c47a588615bf5a3bc9eafcbbeb4b09d9c
5
5
  SHA512:
6
- metadata.gz: 15b75ab22236323e63161709ba292e9192e1b0e0e710eaa12d0657610eeffcad476d5346b3338530a7ac7b142c8832910b7698518c3693dc407915388b79a5ed
7
- data.tar.gz: 75846609561724ff2d005fdd118a6e42383484fe3b1ff5ff33c818638a74a39d1e0ccb9dc62d711905cbcbd7cdd80769c4c03fee876b160ec44a327d10c0dc8a
6
+ metadata.gz: 5c007cb4e3e090cb5bbb109e78185a07716ce3525ced868b3ba7f0edb16b5fe97ebd1565b05d173c2731c4d64cf5a21ade5425df9322702c7fee517339d2a5af
7
+ data.tar.gz: 78763ca978100034d0a726e7c87ffb879e0124c53ec5bdbc403272a190c6c968e6ee61c883480975a27c3fbff1d663c8e2795504b8dbad743e82345c034ba3d8
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ toolshed
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.6.0
@@ -1,4 +1,4 @@
1
- require 'jira'
1
+ require 'jira-ruby'
2
2
 
3
3
  module Toolshed
4
4
  module TicketTracking
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Module for toolshed
4
4
  module Toolshed
5
- VERSION = '1.0.10'
5
+ VERSION = '1.0.11'
6
6
 
7
7
  # Display the version information with the toolshed banner
8
8
  class Version
data/test/helper.rb CHANGED
@@ -7,9 +7,6 @@ if (ENV["COVERAGE"])
7
7
  end
8
8
  end
9
9
 
10
- require "codeclimate-test-reporter"
11
- CodeClimate::TestReporter.start
12
-
13
10
  require 'test/unit'
14
11
  require 'mocha/test_unit'
15
12
  require 'faker'
@@ -9,13 +9,17 @@ class HarvestTest < Test::Unit::TestCase
9
9
  Toolshed::Client.instance.time_tracking_username = 'sample_username'
10
10
  Toolshed::Client.instance.time_tracking_password = 'sample1234'
11
11
  Toolshed::Client.instance.time_tracking_owner = 'me'
12
+ end
12
13
 
14
+ def stub_harvest
13
15
  ::Harvest.expects(:client).
14
16
  with(subdomain: Toolshed::Client.instance.time_tracking_owner, username: Toolshed::Client.instance.time_tracking_username, password: Toolshed::Client.instance.time_tracking_password).
15
17
  returns('')
16
18
  end
17
19
 
18
20
  def test_get_previous_time_entries
21
+ stub_harvest
22
+
19
23
  harvest_mock = mock('Harvest::TimeEntry')
20
24
  harvest_mock.stubs(:notes => 'Worked on this yesterday')
21
25
 
@@ -33,6 +37,8 @@ class HarvestTest < Test::Unit::TestCase
33
37
  end
34
38
 
35
39
  def test_get_todays_time_entries
40
+ stub_harvest
41
+
36
42
  harvest_mock = mock('Harvest::TimeEntry')
37
43
  harvest_mock.stubs(:notes => 'Worked on this today')
38
44
 
data/toolshed.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_dependency 'veto'
26
26
  spec.add_dependency 'launchy', '2.4.3'
27
27
  spec.add_dependency 'clipboard', '1.0.6'
28
- spec.add_dependency 'jira-ruby', '0.1.14'
28
+ spec.add_dependency 'jira-ruby', '1.6.0'
29
29
  spec.add_dependency 'net-ssh', '2.9.2'
30
30
  spec.add_dependency 'term-ansicolor', '1.3.0'
31
31
  spec.add_dependency 'highline', '1.7.2'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toolshed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Waller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-17 00:00:00.000000000 Z
11
+ date: 2019-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.1.14
103
+ version: 1.6.0
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: 0.1.14
110
+ version: 1.6.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: net-ssh
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -329,6 +329,8 @@ extra_rdoc_files: []
329
329
  files:
330
330
  - ".gitignore"
331
331
  - ".rubocop.yml"
332
+ - ".ruby-gemset"
333
+ - ".ruby-version"
332
334
  - ".toolshedrc.sample"
333
335
  - ".travis.yml"
334
336
  - Gemfile
@@ -422,8 +424,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
422
424
  - !ruby/object:Gem::Version
423
425
  version: '0'
424
426
  requirements: []
425
- rubyforge_project:
426
- rubygems_version: 2.6.6
427
+ rubygems_version: 3.0.1
427
428
  signing_key:
428
429
  specification_version: 4
429
430
  summary: Create a Github pull request with minimal work. Will automatically read ticket