sandboxy 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -10
- data/lib/generators/sandboxy_generator.rb +2 -1
- data/lib/sandboxy/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: c7cdbe1c5377cdf36b8e2bbe6a638ada44ee6936dfa98781171833895b45bb9e
|
4
|
+
data.tar.gz: 1f4557f3a4005ccf3ff0c6aa8c716f963b20c5ba7fc8eb7c4b0efdd279e27560
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e72a928142e60e482e64c7933175c0bc73d2416390d242380c8a2cb308ea69444019a4871857e2861538bf005a21cd594fbdefd9b1f037a6861b6db15b9c560c
|
7
|
+
data.tar.gz: 863576c46ed662dadcab7e2772fa539a3c04552d3df337dc016957fa7aaaee636cc42ae148ed3bd365d680202f29e49392776938420e09c1a9948c47999ce0df
|
data/README.md
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
# Sandboxy
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/sandboxy.svg)](https://badge.fury.io/rb/sandboxy) ![Travis](https://travis-ci.org/jonhue/sandboxy.svg?branch=master)
|
4
|
-
|
5
3
|
Sandboxy allows you to use virtual data-oriented environments inside a Rails application while being able to switch between them at runtime. It achieves that by using a combination of Rack Middleware and ActiveRecord.
|
6
4
|
|
7
5
|
---
|
@@ -17,11 +15,9 @@ Sandboxy allows you to use virtual data-oriented environments inside a Rails app
|
|
17
15
|
* [Configuration](#configuration)
|
18
16
|
* [Testing](#testing)
|
19
17
|
* [Test Coverage](#test-coverage)
|
20
|
-
* [
|
18
|
+
* [Release](#release)
|
21
19
|
* [Contributing](#contributing)
|
22
|
-
* [Contributors](#contributors)
|
23
20
|
* [Semantic versioning](#semantic-versioning)
|
24
|
-
* [License](#license)
|
25
21
|
|
26
22
|
---
|
27
23
|
|
@@ -161,11 +157,15 @@ Tests are written with Shoulda on top of `Test::Unit` with Factory Girl being us
|
|
161
157
|
2. Clone your forked git locally
|
162
158
|
3. Install dependencies
|
163
159
|
|
160
|
+
```
|
164
161
|
$ bundle install
|
162
|
+
```
|
165
163
|
|
166
164
|
4. Run tests
|
167
165
|
|
168
|
-
|
166
|
+
```
|
167
|
+
$ bundle exec rake test
|
168
|
+
```
|
169
169
|
|
170
170
|
### Test Coverage
|
171
171
|
|
@@ -179,11 +179,14 @@ Test coverage can be calculated using SimpleCov. Make sure you have the [simplec
|
|
179
179
|
|
180
180
|
---
|
181
181
|
|
182
|
-
##
|
183
|
-
|
184
|
-
We use [GitHub projects](https://github.com/jonhue/sandboxy/projects/1) to coordinate the work on this project.
|
182
|
+
## Release
|
185
183
|
|
186
|
-
|
184
|
+
1. Review breaking changes and deprecations in `CHANGELOG.md`
|
185
|
+
2. Change the gem version in `lib/sandboxy/version.rb`
|
186
|
+
3. Reset `CHANGELOG.md`
|
187
|
+
4. Create a pull request to merge the changes into `master`
|
188
|
+
5. After the pull request was merged, create a new release listing the breaking changes and commits on `master` since the last release.
|
189
|
+
6. The release workflow will publish the gems to RubyGems and the GitHub Package Registry
|
187
190
|
|
188
191
|
---
|
189
192
|
|
@@ -13,7 +13,8 @@ class SandboxyGenerator < Rails::Generators::Base
|
|
13
13
|
if ActiveRecord::Base.timestamped_migrations
|
14
14
|
Time.now.utc.strftime('%Y%m%d%H%M%S')
|
15
15
|
else
|
16
|
-
format('
|
16
|
+
format('%<migration_number>.3d',
|
17
|
+
migration_number: current_migration_number(dirname) + 1)
|
17
18
|
end
|
18
19
|
end
|
19
20
|
|
data/lib/sandboxy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sandboxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Hübotter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -113,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
113
|
requirements:
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 2.
|
116
|
+
version: 2.5.0
|
117
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
118
|
requirements:
|
119
119
|
- - ">="
|