chelsea 0.0.23 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -1
- data/lib/chelsea/version.rb +1 -1
- metadata +1 -3
- data/bin/setup +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f51bc9ebee4f9d00b5c0ddda4c45c692864946b5adde386871f1d5bdbd90782
|
4
|
+
data.tar.gz: ed391b804442208428439d285009b0344215d71789bc71d6e55685c08356bb5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1bbc05ec99c96ed359aa98a704338f7351780d170f74f09a8e1d4a3b61fb68fc7ba217534ebd8fc56ee05e194820add3601d13eed74cc42f2b6d4c90ba70cb7
|
7
|
+
data.tar.gz: c0c8025f8cc54425e31ff9cd703c743f8b4a7b3c10c023a3da04ad4d6d7b3b38092cf061dd8239e49410ba10ea8707bf28151ae9d52e23459146821838edc054
|
data/README.md
CHANGED
@@ -135,7 +135,37 @@ Report URL: http://localhost:8070/ui/links/application/testapp/report/0e0f469269
|
|
135
135
|
|
136
136
|
## Development
|
137
137
|
|
138
|
-
|
138
|
+
We suggest using [rbenv](https://github.com/rbenv/rbenv) to setup a reliable ruby development environment.
|
139
|
+
|
140
|
+
Follow the [installation steps](https://github.com/rbenv/rbenv#installation).
|
141
|
+
For macos (10.15.7), there was a problem with step 2, with: `$ rbenv init`. The command
|
142
|
+
printed suggested editing `~/.bashrc`; however, this did not work in our case (even after an OS reboot),
|
143
|
+
and we had to instead edit `~/bash_profile`. To sanity check your installation, you should see the
|
144
|
+
`.rbenv` directory early in your PATH, e.g.:
|
145
|
+
```
|
146
|
+
$ echo $PATH
|
147
|
+
/Users/<username>/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:...
|
148
|
+
```
|
149
|
+
|
150
|
+
We are using ruby version 2.6.6, but newer versions should also work.
|
151
|
+
```
|
152
|
+
rbenv install 2.6.6
|
153
|
+
```
|
154
|
+
|
155
|
+
Install `bundler`:
|
156
|
+
```
|
157
|
+
gem install bundler
|
158
|
+
```
|
159
|
+
|
160
|
+
Install dependencies:
|
161
|
+
```
|
162
|
+
bundle install
|
163
|
+
```
|
164
|
+
|
165
|
+
Run tests:
|
166
|
+
```
|
167
|
+
bundle exec rspec
|
168
|
+
```
|
139
169
|
|
140
170
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
141
171
|
|
data/lib/chelsea/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chelsea
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Allister Beharry
|
@@ -218,7 +218,6 @@ email:
|
|
218
218
|
executables:
|
219
219
|
- chelsea
|
220
220
|
- console
|
221
|
-
- setup
|
222
221
|
extensions: []
|
223
222
|
extra_rdoc_files: []
|
224
223
|
files:
|
@@ -244,7 +243,6 @@ files:
|
|
244
243
|
- Rakefile
|
245
244
|
- bin/chelsea
|
246
245
|
- bin/console
|
247
|
-
- bin/setup
|
248
246
|
- chelsea
|
249
247
|
- chelsea.gemspec
|
250
248
|
- docs/images/chelsea.png
|
data/bin/setup
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
#
|
3
|
-
# Copyright 2019-Present Sonatype Inc.
|
4
|
-
#
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
-
# you may not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
-
# See the License for the specific language governing permissions and
|
15
|
-
# limitations under the License.
|
16
|
-
#
|
17
|
-
|
18
|
-
set -euo pipefail
|
19
|
-
IFS=$'\n\t'
|
20
|
-
set -vx
|
21
|
-
|
22
|
-
bundle install
|
23
|
-
|
24
|
-
# Do any other automated setup that you need to do here
|