acts_as_hoc_pushable 1.0.0 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d00454537e4bab721f743e015a0480f109ee6b18
4
- data.tar.gz: f52dc1694290daf75ac9f576b903a5ef08164afa
3
+ metadata.gz: 1ce2c2c9e15bed7d6736fd65d4fdfd0c1074480d
4
+ data.tar.gz: 2ae7910837bb30390c346efb4fe47c65769a72eb
5
5
  SHA512:
6
- metadata.gz: 6ca7e19d67c12c9371bab1f1c33a3273f162c22640abeebdef5a25b44dd1bcb66ac2a80a9de421bc28ac6679e799f5c10a78f2599de5d724e7aee6ccc444e4c7
7
- data.tar.gz: 80f7a7592b607a4b67dabf21710fabc397a2a40819c75e83e962e25355def575d609061379d4d05a632f612ee55b5b43c65cb61e2f1b1abec4682fd56f6d6f69
6
+ metadata.gz: a9bf5a4b6e205ef1bfd58b544c6d7178fb4e063e88dcc6a54b01a4098058ff54519376968f21f453dda8663296deb6313a85a2212a5fccd6a2737d1d8069d063
7
+ data.tar.gz: bb41d393f8b14afbc180366462627a53730fbf8356aabcb8e8be4a33f968575186c98f141f91da488462e23b32e881c3e11c84133e7242160f0cfab0354df003
data/README.md CHANGED
@@ -1,9 +1,5 @@
1
1
  # ActsAsHocPushable
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/acts_as_hoc_pushable`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
6
-
7
3
  ## Installation
8
4
 
9
5
  Add this line to your application's Gemfile:
@@ -11,7 +11,7 @@ module ActsAsHocPushable
11
11
 
12
12
  scope :active, -> { where(invalidated_at: nil, active: true) }
13
13
  scope :ios, -> { where(platform: "ios") }
14
- scope :android, -> { where(platform: "ios") }
14
+ scope :android, -> { where(platform: "android") }
15
15
 
16
16
  default_scope { active }
17
17
 
@@ -1,3 +1,3 @@
1
1
  module ActsAsHocPushable
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -1,4 +1,4 @@
1
- class CreateDevices < ActiveRecord::Migration
1
+ class CreateDevices < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :devices do |t|
4
4
  t.string :token
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_hoc_pushable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gert Lavsen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-04 00:00:00.000000000 Z
11
+ date: 2018-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fcm