pivotoolz 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +23 -0
- data/exe/jira-story-ids-deployed +1 -1
- data/lib/pivotoolz/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: 4dd31c5a6721ed081086c98c0a069f4a38a4c1dde54b170e446780da2773bdd4
|
4
|
+
data.tar.gz: b099cfa80fdc349cead72eaded1c036467f793feb063fa8d54672a94f789d481
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 929634a5713e90745ae1bc2cac413855af3dee6441092c3f010854bc4159461f08d38872d9a6faa25cb2bae23ae7fba7094d487d5edbdc9b6601319c9b602a6a
|
7
|
+
data.tar.gz: 6437d69d3b64ed6c9dd380e3fb0028b94a71af256e3142e3d92946fb73fd8bae5c580c98c2ec532d73b3a4b467d6e03f6048077875f1ebe254cbade96c33411d
|
data/README.md
CHANGED
@@ -156,6 +156,29 @@ https://www.pivotaltracker.com/story/show/456
|
|
156
156
|
Use with `post-slack-message` to post a message in a slack deployment channel
|
157
157
|
with the list of stories that just got deployed.
|
158
158
|
|
159
|
+
For a slack-compatible formatted message, add the `--json` flag.
|
160
|
+
|
161
|
+
There are additional formatting flags if you want to see the name of the person who completed a story in the slack formatted message:
|
162
|
+
`--owners` - Show name of person who completed the story as part of the message
|
163
|
+
|
164
|
+
`--owners-footer` - Show name of person who completed the story as a footer (requires `--owners` flag)
|
165
|
+
|
166
|
+
`--bold-owners` - Show name of person who completed the story in bold text (requires `--owners` flag)
|
167
|
+
|
168
|
+
### `jira-stories-deployed`
|
169
|
+
|
170
|
+
Similar to `stories-deployed`, but for Jira! Now you can use your favourite development workflow accelerator, even if your
|
171
|
+
current team uses Jira!
|
172
|
+
|
173
|
+
Simply define the following environment variables, and you're ready to go!
|
174
|
+
|
175
|
+
```
|
176
|
+
export JIRA_API_BASIC_AUTH_BASE64_ENCODED=BASE_64_ENCODED_username:password # See https://developer.atlassian.com/server/jira/platform/basic-authentication/
|
177
|
+
export JIRA_API_BASE_URL=https://YOUR_ORG.atlassian.net/rest/api/3/issue/
|
178
|
+
export STORY_ID_REGEX=YOUR_STORY_ID_PATTERN_REGEX # Falls back to [[:alpha:]]+-\d+ if not set
|
179
|
+
```
|
180
|
+
Use `jira-stories-deployed` just as you would `stories-deployed`.
|
181
|
+
|
159
182
|
### `post-slack-message`
|
160
183
|
|
161
184
|
Post a message to a slack channel. You will need to [setup
|
data/exe/jira-story-ids-deployed
CHANGED
@@ -17,7 +17,7 @@ end
|
|
17
17
|
commit_message_bodies = `git log --pretty="%h %s" #{commit_range}`.strip
|
18
18
|
story_ids = commit_message_bodies.
|
19
19
|
# TODO: Make this configurable
|
20
|
-
scan(
|
20
|
+
scan(/#{ENV['STORY_ID_REGEX'] || '[[:alpha:]]+-\d+'}/).
|
21
21
|
flatten.
|
22
22
|
compact.
|
23
23
|
uniq
|
data/lib/pivotoolz/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pivotoolz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sufyan Adam
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
rubygems_version: 3.2.
|
144
|
+
rubygems_version: 3.2.22
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: Tools to save you time when working with Pivotal Tracker stories
|