checkoff 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.travis.yml +7 -2
- data/checkoff.gemspec +1 -1
- data/lib/checkoff/cli.rb +1 -1
- data/lib/checkoff/sections.rb +1 -1
- data/lib/checkoff/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eedcba2aa1cb33274b57228b924f8871d65e6d169b90d85b8328b207245c5d80
|
4
|
+
data.tar.gz: 075bd1131ea2a329637d77e08ce41e5589889c2207751634c7fe83fe7f8935d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7aaf83addcfd2371145991bd2672e0cd2ec9307359bcdd8fe606ff4e60eff09271b5fb08e031b448c540f29a2c3b7dbbddf2127f5a75c52ff8b4beacc8b3382
|
7
|
+
data.tar.gz: 581ccb6c3e27e608abf704751f06dcfd79ceb96b37f78131e603d9659961bf4269717aa5d6fd53bbf09f8cc71116e8ca859c27d327dbb13c05583552f0353a42
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -10,8 +10,13 @@ rvm:
|
|
10
10
|
# checking for main() in -lstdc++... RuntimeError: The compiler failed to generate
|
11
11
|
# https://travis-ci.com/apiology/pronto-punchlist/jobs/264907931
|
12
12
|
# - jruby-head
|
13
|
-
|
13
|
+
|
14
|
+
# These are currently pending ruby-asana fixes:
|
15
|
+
#
|
16
|
+
# https://github.com/Asana/ruby-asana/pull/99
|
17
|
+
#
|
18
|
+
# - ruby-head
|
19
|
+
# - ruby-3.0
|
14
20
|
- ruby-2.7
|
15
21
|
- ruby-2.6
|
16
22
|
- ruby-2.5
|
17
|
-
- ruby-2.4
|
data/checkoff.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.summary = 'Command-line and gem client for Asana (unofficial)'
|
14
14
|
spec.homepage = 'http://github.com/apiology/checkoff'
|
15
15
|
spec.license = 'MIT'
|
16
|
-
spec.required_ruby_version = '>= 2.
|
16
|
+
spec.required_ruby_version = '>= 2.5'
|
17
17
|
|
18
18
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
19
19
|
f.match(%r{^(test|spec|features)/})
|
data/lib/checkoff/cli.rb
CHANGED
@@ -110,7 +110,7 @@ module Checkoff
|
|
110
110
|
end
|
111
111
|
|
112
112
|
def view(workspace_name, project_name, section_name)
|
113
|
-
project_name = project_name[1
|
113
|
+
project_name = project_name[1..-1].to_sym if project_name.start_with? ':'
|
114
114
|
if section_name.nil?
|
115
115
|
run_on_project(workspace_name, project_name)
|
116
116
|
else
|
data/lib/checkoff/sections.rb
CHANGED
@@ -23,7 +23,7 @@ module Checkoff
|
|
23
23
|
def_delegators :@projects, :client
|
24
24
|
|
25
25
|
def file_task_by_section(by_section, task, project_gid)
|
26
|
-
membership = task.memberships.find { |m| m
|
26
|
+
membership = task.memberships.find { |m| m['project']['gid'] == project_gid }
|
27
27
|
raise "Could not find task in project_gid #{project_gid}: #{task}" if membership.nil?
|
28
28
|
|
29
29
|
current_section = membership.section.name
|
data/lib/checkoff/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: checkoff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vince Broz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -235,7 +235,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
235
235
|
requirements:
|
236
236
|
- - ">="
|
237
237
|
- !ruby/object:Gem::Version
|
238
|
-
version: '2.
|
238
|
+
version: '2.5'
|
239
239
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
241
|
- - ">="
|