rpush 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/CHANGELOG.md +7 -0
- data/lib/generators/templates/rpush_3_0_1_updates.rb +2 -2
- data/lib/rpush/version.rb +1 -1
- data/spec/support/active_record_setup.rb +11 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7de52efb63f861275eeec5a6c22d80ae891df704140742127da8709a873b373
|
4
|
+
data.tar.gz: e9c82eb246ba4f268f2553d974703c78a8eb8fa2d3df87b603956382f8823aa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d17f2506d4b26c69ddd9b371c55997b7c64a7244597393ee8d2f95542abbc43fe4d1f753020ddb9f9e180c5ca5745926d88406ea07385b0c8a129768cb5df30
|
7
|
+
data.tar.gz: 3c222ffb736101b9c8178766402b8adf9f7f41ae94187344ec2c2449ade4ec47a89ea5ef1c9cced95573dd1b896d4ac5be43651aa42d86f04b8e732080c3fd0f
|
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,13 @@
|
|
12
12
|
|
13
13
|
- None
|
14
14
|
|
15
|
+
## 3.0.2 (2018-01-08)
|
16
|
+
|
17
|
+
#### Fixes
|
18
|
+
|
19
|
+
* Fixes migrations added in 3.0.1 ([#396](https://github.com/rpush/rpush/pull/396) by [@grosser](https://github.com/grosser))
|
20
|
+
* Actually run these migrations in the test suite ([#399](https://github.com/rpush/rpush/pull/399) by [@aried3r](https://github.com/aried3r))
|
21
|
+
|
15
22
|
## 3.0.1 (2017-11-30)
|
16
23
|
|
17
24
|
#### Enhancements
|
@@ -2,12 +2,12 @@ class Rpush301Updates < ActiveRecord::VERSION::MAJOR >= 5 ? ActiveRecord::Migrat
|
|
2
2
|
def self.up
|
3
3
|
change_column_null :rpush_notifications, :mutable_content, false
|
4
4
|
change_column_null :rpush_notifications, :content_available, false
|
5
|
-
change_column_null :
|
5
|
+
change_column_null :rpush_notifications, :alert_is_json, false
|
6
6
|
end
|
7
7
|
|
8
8
|
def self.down
|
9
9
|
change_column_null :rpush_notifications, :mutable_content, true
|
10
10
|
change_column_null :rpush_notifications, :content_available, true
|
11
|
-
change_column_null :
|
11
|
+
change_column_null :rpush_notifications, :alert_is_json, true
|
12
12
|
end
|
13
13
|
end
|
data/lib/rpush/version.rb
CHANGED
@@ -32,8 +32,17 @@ require 'generators/templates/rpush_2_1_0_updates'
|
|
32
32
|
require 'generators/templates/rpush_2_6_0_updates'
|
33
33
|
require 'generators/templates/rpush_2_7_0_updates'
|
34
34
|
require 'generators/templates/rpush_3_0_0_updates'
|
35
|
-
|
36
|
-
|
35
|
+
require 'generators/templates/rpush_3_0_1_updates'
|
36
|
+
|
37
|
+
migrations = [
|
38
|
+
AddRpush,
|
39
|
+
Rpush200Updates,
|
40
|
+
Rpush210Updates,
|
41
|
+
Rpush260Updates,
|
42
|
+
Rpush270Updates,
|
43
|
+
Rpush300Updates,
|
44
|
+
Rpush301Updates
|
45
|
+
]
|
37
46
|
|
38
47
|
unless ENV['TRAVIS']
|
39
48
|
migrations.reverse_each do |m|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rpush
|
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
|
- Ian Leitch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|