botspec 0.4.30 → 0.4.58
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +4 -49
- data/README.md +1 -19
- data/lib/botspec/version.rb +1 -1
- data/script/release.sh +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0dd0889d0ed8a8cf44f3cada4b7e42130aea5d8
|
4
|
+
data.tar.gz: 4c3a49c7f5a01e4635e2171c27cb3f3e92bcd03d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e5586e1185a1eb02c0620bb0da767917563ec265af92309d1aab0edf1333ec61c954a7ee2275967a2141941a184b79882caf3d096955f810e0463cc5e5ff35a
|
7
|
+
data.tar.gz: 83312f276d944bcbed11c08b598197527a6e23a0b60845f82291c0946f1a7d044bc69b5514ba4ec610877be1f624ece8a3bcd11c36b136aa2e8e2ff8d9b64a23
|
data/.circleci/config.yml
CHANGED
@@ -49,69 +49,24 @@ jobs:
|
|
49
49
|
git config user.name "Circleci"
|
50
50
|
git config --global push.default simple
|
51
51
|
git push --set-upstream origin $CIRCLE_BRANCH
|
52
|
-
|
53
52
|
.circleci/setup-rubygems.sh
|
54
|
-
bundle exec rake release
|
55
53
|
|
54
|
+
script/patch.sh
|
56
55
|
|
57
56
|
- run:
|
58
57
|
name: Docker Release
|
59
58
|
command: curl --data build=true -X POST https://cloud.docker.com/api/build/v1/source/06910a8b-39e1-4929-b55c-4111c3216452/trigger/24b37a19-bd4c-461d-ba80-3d9f1b0704bd/call/
|
60
59
|
|
61
|
-
bump:
|
62
|
-
docker:
|
63
|
-
# specify the version you desire here
|
64
|
-
- image: circleci/ruby:2.4.1-node-browsers
|
65
|
-
|
66
|
-
working_directory: ~/repo
|
67
|
-
|
68
|
-
steps:
|
69
|
-
- add_ssh_keys:
|
70
|
-
fingerprints:
|
71
|
-
- "4c:60:84:77:2a:a6:e5:1a:4c:7f:c3:fc:dd:4c:78:c4"
|
72
|
-
- checkout
|
73
|
-
|
74
|
-
- run:
|
75
|
-
name: Bump
|
76
|
-
command: |
|
77
|
-
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
78
|
-
git config user.email "elliottmurray@gmail.com"
|
79
|
-
git config user.name "Circleci"
|
80
|
-
git config --global push.default simple
|
81
|
-
git push --set-upstream origin $CIRCLE_BRANCH
|
82
|
-
|
83
|
-
script/patch.sh
|
84
|
-
|
85
|
-
|
86
|
-
|
87
60
|
workflows:
|
88
61
|
version: 2
|
89
|
-
build_branch:
|
90
|
-
jobs:
|
91
|
-
- build:
|
92
|
-
filters:
|
93
|
-
branches:
|
94
|
-
ignore: master
|
95
|
-
|
96
62
|
build_and_publish:
|
97
63
|
jobs:
|
98
|
-
- build
|
99
|
-
filters:
|
100
|
-
branches:
|
101
|
-
only: master
|
64
|
+
- build
|
102
65
|
- publish:
|
103
|
-
requires:
|
104
|
-
- build
|
105
|
-
filters:
|
106
|
-
tags:
|
107
|
-
only: /^v.*/
|
108
|
-
- bump:
|
109
66
|
requires:
|
110
67
|
- build
|
111
68
|
filters:
|
112
69
|
branches:
|
113
|
-
only:
|
114
|
-
|
115
|
-
ignore: /^v.*/
|
116
|
-
|
70
|
+
only:
|
71
|
+
- master
|
117
72
|
|
data/README.md
CHANGED
@@ -2,25 +2,7 @@
|
|
2
2
|
|
3
3
|
[![CircleCI](https://circleci.com/gh/elliottmurray/botspec/tree/master.svg?style=svg)](https://circleci.com/gh/elliottmurray/botspec/tree/master)
|
4
4
|
|
5
|
-
Making specs for your bot that can be run in your build pipeline.
|
6
|
-
```yaml
|
7
|
-
|
8
|
-
description: "simple specs tests"
|
9
|
-
|
10
|
-
dialogs:
|
11
|
-
- what: "simple flower test"
|
12
|
-
dialog:
|
13
|
-
- "I would like to order some flowers"
|
14
|
-
- "What type of flowers would you like to order?"
|
15
|
-
- "Tulips"
|
16
|
-
- "What day do you want the Tulips to be picked up?"
|
17
|
-
- "20th December"
|
18
|
-
- "Pick up the Tulips at what time on .*-12-20?"
|
19
|
-
- "noon"
|
20
|
-
- "Okay, your Tulips will be ready for pickup by 12:00 on .*-12-20. Does this sound okay?"
|
21
|
-
- "yes"
|
22
|
-
|
23
|
-
```
|
5
|
+
Making specs for your bot that can be run in your build pipeline.
|
24
6
|
|
25
7
|
## Installation
|
26
8
|
|
data/lib/botspec/version.rb
CHANGED
data/script/release.sh
CHANGED
@@ -8,8 +8,8 @@ bundle exec bump ${MODE} --no-commit
|
|
8
8
|
#bundle exec appraisal update
|
9
9
|
bundle exec rake generate_changelog
|
10
10
|
git add lib/botspec/version.rb CHANGELOG.md
|
11
|
-
git commit -m "chore(release): version $(ruby -r ./lib/botspec/version.rb -e "puts Botspec::VERSION")" && git push
|
12
|
-
|
11
|
+
git commit -m "chore(release) [ci skip]: version $(ruby -r ./lib/botspec/version.rb -e "puts Botspec::VERSION")" && git push
|
12
|
+
bundle exec rake release
|
13
13
|
|
14
14
|
# Dockerhub release
|
15
15
|
#docker build -t botspec .
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: botspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.58
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elliott Murray
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|