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 +5 -5
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/lib/toolshed/ticket_tracking/jira.rb +1 -1
- data/lib/toolshed/version.rb +1 -1
- data/test/helper.rb +0 -3
- data/test/time_tracking/harvest_test.rb +6 -0
- data/toolshed.gemspec +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a14ac7eba8844e179d80e11b6fd8de14a7a9a4c2362e0dab009056236d7717cb
|
4
|
+
data.tar.gz: 99c5d62abb205a2dd2389e7160aa1c6c47a588615bf5a3bc9eafcbbeb4b09d9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/toolshed/version.rb
CHANGED
data/test/helper.rb
CHANGED
@@ -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', '
|
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.
|
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:
|
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:
|
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:
|
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
|
-
|
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
|