squasher 0.3.0 → 0.3.1
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 +20 -1
- data/lib/squasher/render.rb +1 -1
- data/squasher.gemspec +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: dbcde2fe7af3cc7854dfa744fc92bbe03ea5657c
|
4
|
+
data.tar.gz: 5859b87e2dd11e1edffcb09aa8b070b2bf7fdaf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 608e982702c3c8de252fbaad554a094fd072a322de12ad957bed80b6928860c1a1d94ca5257ff13f7eee43a6b0b1c458e735a7177baf861f97f1afca2988099f
|
7
|
+
data.tar.gz: 809912cb74e444f34b6fe534c961c23f03f9194bd554087172bea39560e2aa7d8e03afdeb32916be0ec4dfef6e5b2a222ce944b3c6b1d5044d6b04f4a5e7d066
|
data/README.md
CHANGED
@@ -8,12 +8,31 @@ Squasher compresses old migrations in a Rails application. If you work on a big
|
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
11
|
-
You
|
11
|
+
You don't have to add it into your Gemfile. Just a standalone installation:
|
12
12
|
|
13
13
|
$ gem install squasher
|
14
14
|
|
15
15
|
**@note** if you use Rbenv don't forget to run `rbenv rehash`.
|
16
16
|
|
17
|
+
If you want to share it with your rails/sinatra/etc app add the below:
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
# Yep, the missing group in most Gemfiles where all utilities should be!
|
21
|
+
group :tools do
|
22
|
+
gem 'squasher', '>= 0.3.0'
|
23
|
+
gem 'capistrano'
|
24
|
+
gem 'rubocop'
|
25
|
+
end
|
26
|
+
```
|
27
|
+
|
28
|
+
Don't forget to run `bundle`.
|
29
|
+
|
30
|
+
To integrate `squasher` with your app even more do the below:
|
31
|
+
|
32
|
+
$ bundle binstub squasher
|
33
|
+
$ # and you have a runner inside the `bin` folder
|
34
|
+
$ bin/squasher
|
35
|
+
|
17
36
|
## Usage
|
18
37
|
|
19
38
|
**@note** stop all preloading systems if there are present (spring, zeus, etc)
|
data/lib/squasher/render.rb
CHANGED
data/squasher.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "squasher"
|
8
|
-
spec.version = "0.3.
|
8
|
+
spec.version = "0.3.1"
|
9
9
|
spec.authors = ["Sergey Pchelintsev"]
|
10
10
|
spec.email = ["mail@sergeyp.me"]
|
11
11
|
spec.description = %q{Squash your old migrations}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: squasher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Pchelintsev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|