botspec 0.4.14 → 0.4.15
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/Dockerfile +4 -1
- data/README.md +5 -1
- data/lib/botspec/version.rb +1 -1
- 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: 06264b51f2768d2528a205de3a6b463776995e6e
|
|
4
|
+
data.tar.gz: 28da35c826f18757f019f492485869cc9d1c4c66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d112b2e223dd92b99e25ed69111f3b184e94f0ab6e9a7be9b9fc58a73d40edeb03c4b349cf27f53bc03af7c95098b6462173ed641785011642a3a1b24e562f5
|
|
7
|
+
data.tar.gz: b78b114cc8fd5b786792bedc4978593bc7b02257300529fdb81eb86c80a7258407c20b2d90af3179154a0d5a534af2375c199441bd0782a26ea174e044527e58
|
data/Dockerfile
CHANGED
|
@@ -16,7 +16,10 @@ RUN apk update && apk add --no-cache git make gcc libc-dev
|
|
|
16
16
|
|
|
17
17
|
ENV SPEC_PATH=$SPEC_PATH
|
|
18
18
|
|
|
19
|
-
RUN
|
|
19
|
+
RUN gem install bundler -v 2.0.2
|
|
20
|
+
|
|
21
|
+
RUN bundle install --verbose
|
|
22
|
+
RUN bundle exec thor install lib/cli.thor --as botspec --force
|
|
20
23
|
|
|
21
24
|
ENTRYPOINT ["sh"]
|
|
22
25
|
|
data/README.md
CHANGED
|
@@ -27,6 +27,10 @@ You will need to have AWS credentials set up. A dot file or env vars normally ap
|
|
|
27
27
|
* AWS_ACCESS_KEY_ID
|
|
28
28
|
* AWS_SECRET_ACCESS_KEY
|
|
29
29
|
|
|
30
|
+
or better
|
|
31
|
+
* AWS_REGION
|
|
32
|
+
* AWS_PROFILE
|
|
33
|
+
|
|
30
34
|
## Development
|
|
31
35
|
|
|
32
36
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
@@ -55,7 +59,7 @@ Should create a changelog record
|
|
|
55
59
|
## Docker
|
|
56
60
|
You can run the command with:
|
|
57
61
|
```
|
|
58
|
-
docker run -e AWS_REGION -e
|
|
62
|
+
docker run -e AWS_REGION -e AWS_PROFILE -v $HOME/.aws/credentials:/root/.aws/credentials:ro -v `pwd`/specs:/app/bot/specs -it elliottmurray/botspec ./botspec.sh <botname> <relative path to fixture>
|
|
59
63
|
```
|
|
60
64
|
|
|
61
65
|
Assuming you are in your project root directory and your specs are in the corresponding specs folder
|
data/lib/botspec/version.rb
CHANGED
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.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elliott Murray
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-08-
|
|
11
|
+
date: 2019-08-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|