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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c4947b2573662cc82bf0fd8652c9efc13169326fb70952e3794aecd3a071a1c
4
- data.tar.gz: 97d4f7ec0a0781a62750462fc0a7428980f06a6d084c029b832897f854fd3d32
3
+ metadata.gz: eedcba2aa1cb33274b57228b924f8871d65e6d169b90d85b8328b207245c5d80
4
+ data.tar.gz: 075bd1131ea2a329637d77e08ce41e5589889c2207751634c7fe83fe7f8935d8
5
5
  SHA512:
6
- metadata.gz: 02e3a309b680887411309fa3f33d8f14a325889f1bfbf5c18790cec9ab20aa80a0e71ab38fdcfa7eefe523474dd2a56bf0443b3523fc0cb0bd90719dd380fcf9
7
- data.tar.gz: 22f2339cda88ee9ee63d6009e945d29bf2a7d9b552b0eae3d2a39892bc1f85e3ce373afd341fde97d24719ad89fbf804250fd4450761a4920ab00bc0e17b465d
6
+ metadata.gz: a7aaf83addcfd2371145991bd2672e0cd2ec9307359bcdd8fe606ff4e60eff09271b5fb08e031b448c540f29a2c3b7dbbddf2127f5a75c52ff8b4beacc8b3382
7
+ data.tar.gz: 581ccb6c3e27e608abf704751f06dcfd79ceb96b37f78131e603d9659961bf4269717aa5d6fd53bbf09f8cc71116e8ca859c27d327dbb13c05583552f0353a42
@@ -194,7 +194,7 @@ RSpec/StubbedMock: # (new in 1.44)
194
194
  Enabled: true
195
195
 
196
196
  AllCops:
197
- TargetRubyVersion: 2.6
197
+ TargetRubyVersion: 2.5
198
198
 
199
199
  require:
200
200
  - rubocop-rspec
@@ -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
- - ruby-head
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
@@ -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.6'
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)/})
@@ -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..].to_sym if project_name.start_with? ':'
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
@@ -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.project.gid == project_gid }
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Checkoff
4
- VERSION = '0.5.3'
4
+ VERSION = '0.5.4'
5
5
  end
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.3
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-19 00:00:00.000000000 Z
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.6'
238
+ version: '2.5'
239
239
  required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  requirements:
241
241
  - - ">="