checkoff 0.69.0 → 0.82.0

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: c51c3e2471e530356afaae22363325c6f6c3d1ce976740071d5776b7c30f4a13
4
- data.tar.gz: 8f4661f622986dc3a7b02898222f9b6baea259e8b4b06a75e1631b5b7d4f171a
3
+ metadata.gz: 2ed12dc4548f42066a862979cd32587db73fbdc9fdf739700043411bf8a847c6
4
+ data.tar.gz: 5c10fc42f321993f41ed73382d31bc6b98e9a1f3953291cfa6a1165c568a5078
5
5
  SHA512:
6
- metadata.gz: e632e71b7259b119cdf58d0fb9c21ce0158465054cd95336d3af36e0dc0fa255f29a7e4299d8d4b182fb07cee1161c1f9b248bda8e3fbf36bdb279f1e4c4946c
7
- data.tar.gz: f648d9ca336c7b7e77c9fbdaee2bdd6716c0a32e1a45ad45cb52687958de5dd3194145c09edc25d186a7cdddf9f5a35204b9af1a48a77beba107f3df4f34d158
6
+ metadata.gz: 4efb537663fdf38cef9f904eaed47991d3cd13bb235d364170695d0891c8ca3f193e994f54029080f45147fa1cb0dddd74cb72c4b7fc7c0d33871c361340d777
7
+ data.tar.gz: 45f4552181f13e36a4da1285f8bc5e9a5284f223088e4b11141c79ebb8ab476d6f1417e5f493d5c8a8cfb1891536dd627ee5cc16f63a8b28794f5149d58fc8c3
data/.circleci/config.yml CHANGED
@@ -108,6 +108,32 @@ jobs:
108
108
  command: make citest cicoverage
109
109
  # This seemed to shave 5ish% of the build time off when added
110
110
  resource_class: large
111
+ publish_gem:
112
+ working_directory: ~/checkoff
113
+ docker:
114
+ - image: apiology/circleci-ruby:latest
115
+ steps:
116
+ - set_up_environment
117
+ - run: git config user.email 'vince@broz.cc'
118
+ - run: git config user.name 'Vince Broz'
119
+ - run_with_languages:
120
+ label: Make RubyGems release
121
+ command: |
122
+ # Coax overcommit into working
123
+ git config --global user.email "test@test.test"
124
+ git config --global user.name "Test Test"
125
+ bundle exec overcommit --sign
126
+ bundle exec overcommit --sign pre-commit
127
+
128
+ git status
129
+ bundle exec bump --tag --tag-prefix=v minor
130
+ # bundle exec needed for overcommit hooks
131
+ #
132
+ # if this step fails, check that
133
+ # https://app.circleci.com/settings/project/github/apiology/checkoff/ssh
134
+ # includes a read-write 'user key':
135
+ bundle exec git push --set-upstream origin "${CIRCLE_BRANCH:?}"
136
+ bundle exec rake release
111
137
 
112
138
  workflows:
113
139
  version: 2
@@ -128,3 +154,9 @@ workflows:
128
154
  build:
129
155
  jobs:
130
156
  - build
157
+ - publish_gem:
158
+ requires:
159
+ - build
160
+ # filters:
161
+ # branches:
162
+ # only: main
data/Gemfile.lock CHANGED
@@ -12,7 +12,7 @@ GIT
12
12
  PATH
13
13
  remote: .
14
14
  specs:
15
- checkoff (0.69.0)
15
+ checkoff (0.82.0)
16
16
  activesupport
17
17
  asana (> 0.10.0)
18
18
  cache_method
@@ -71,10 +71,10 @@ module Checkoff
71
71
  end
72
72
  end
73
73
 
74
- # :due function
74
+ # :ready function
75
75
  class DuePFunctionEvaluator < FunctionEvaluator
76
76
  def matches?
77
- fn?(selector, :due)
77
+ fn?(selector, :ready)
78
78
  end
79
79
 
80
80
  # @param task [Asana::Resources::Task]
@@ -48,9 +48,9 @@ module Checkoff
48
48
  # incomplete task and one of these is true:
49
49
  #
50
50
  # * start is null and due on is today
51
- # * start is null and due at is after now
51
+ # * start is null and due at is before now
52
52
  # * start on is today
53
- # * start at is after now
53
+ # * start at is before now
54
54
  #
55
55
  # @param task [Asana::Resources::Task]
56
56
  # @param ignore_dependencies [Boolean]
@@ -3,5 +3,5 @@
3
3
  # Command-line and gem client for Asana (unofficial)
4
4
  module Checkoff
5
5
  # Version of library
6
- VERSION = '0.69.0'
6
+ VERSION = '0.82.0'
7
7
  end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ desc 'Make release'
4
+ task release: %i[trigger_next_builds]
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ desc 'Generate plate-spinner build'
4
+ task :trigger_next_builds do
5
+ sh 'curl -v -X POST https://circleci.com/api/v1/project/apiology/' \
6
+ 'plate-spinner/tree/main?circle-token=$CIRCLE_TOKEN'
7
+ end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.0
4
+ version: 0.82.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2023-10-21 00:00:00.000000000 Z
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description:
83
+ description:
84
84
  email:
85
85
  - vince@broz.cc
86
86
  executables:
@@ -193,8 +193,10 @@ files:
193
193
  - rakelib/localtest.rake
194
194
  - rakelib/overcommit.rake
195
195
  - rakelib/quality.rake
196
+ - rakelib/release.rb
196
197
  - rakelib/repl.rake
197
198
  - rakelib/test.rake
199
+ - rakelib/trigger_next_builds.rake
198
200
  - rakelib/undercover.rake
199
201
  - requirements_dev.txt
200
202
  homepage: https://github.com/apiology/checkoff
@@ -202,7 +204,7 @@ licenses:
202
204
  - MIT license
203
205
  metadata:
204
206
  rubygems_mfa_required: 'true'
205
- post_install_message:
207
+ post_install_message:
206
208
  rdoc_options: []
207
209
  require_paths:
208
210
  - lib
@@ -218,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
220
  version: '0'
219
221
  requirements: []
220
222
  rubygems_version: 3.2.33
221
- signing_key:
223
+ signing_key:
222
224
  specification_version: 4
223
225
  summary: Command-line and gem client for Asana (unofficial)
224
226
  test_files: []