public_activity 1.6.0 → 1.6.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
  SHA256:
3
- metadata.gz: 7898488841ef521c0116e25424aa74919e5dddb714fab5462e3c9699fa42d410
4
- data.tar.gz: e0ab8d01799d0ed377831bd7cb89a98015385d3594a316d2d9abf73f15653f47
3
+ metadata.gz: c9d4db4120a2252f6c9c9c7476b8f8bed122581cbb6acf4fcd49661cd6546485
4
+ data.tar.gz: 4227f6ca7b2beeae4eb17779cee5a9e97a533f65268c0a4c7c16dd7110acc286
5
5
  SHA512:
6
- metadata.gz: 7a6e3034bbeaa15528b77df4d514314acfbe21d527022800e2893f40b586a02ce4a73ef1c006ffcf19f9e3b7c8b7a99f3fcc4d124cdc753a52e109b9dbf1b9ca
7
- data.tar.gz: 7cf64d2a8b18de233e963c3eab76658d0dd68f34080c64d43c33fd70dc2a4ec461402c4e9b79cd3560e38f2707ac8eb59046f3488a955977c24d1e23604ae639
6
+ metadata.gz: 2cdb0fe6e3d876bd47781552f8bf8071fe2ffacc5d2c6dfeadb334b2300f887abafa82dcb2ea143bd8760c80ff71df5c42752ea9f15ba92450e94485406cbf68
7
+ data.tar.gz: d867b98dfba576a698628fa8c69c454da9c625e279fada756e16723dd2386b7231ca5ceaa2c4570bb16f857f9356bf5f75dc9df87ae9a4101a9f9b9f7e742102
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # PublicActivity [![Build Status](https://secure.travis-ci.org/chaps-io/public_activity.png)](http://travis-ci.org/pokonski/public_activity) [![Dependency Status](https://gemnasium.com/chaps-io/public_activity.png)](https://gemnasium.com/chaps-io/public_activity) [![Code Climate](https://codeclimate.com/github/chaps-io/public_activity.png)](https://codeclimate.com/github/chaps-io/public_activity) [![Gem Version](https://badge.fury.io/rb/public_activity.png)](http://badge.fury.io/rb/public_activity)
1
+ # PublicActivity [![Build Status](https://secure.travis-ci.org/chaps-io/public_activity.svg)](http://travis-ci.org/chaps-io/public_activity) [![Code Climate](https://codeclimate.com/github/chaps-io/public_activity.svg)](https://codeclimate.com/github/chaps-io/public_activity) [![Gem Version](https://badge.fury.io/rb/public_activity.svg)](http://badge.fury.io/rb/public_activity)
2
2
 
3
3
  `public_activity` provides easy activity tracking for your **ActiveRecord**, **Mongoid 3** and **MongoMapper** models
4
4
  in Rails 3.0 - 5.0. Simply put: it records what has been changed or created and gives you the ability to present those
@@ -6,7 +6,7 @@ recorded activities to users - in a similar way to how GitHub does it.
6
6
 
7
7
  ## Rails 5
8
8
 
9
- **As of 1.6.0 version, public_activity also supports Rails up to 5.0.**
9
+ **As of 1.6.0 version, public_activity also supports Rails up to 5.2.**
10
10
 
11
11
  ## Table of contents
12
12
 
@@ -1,7 +1,5 @@
1
- require 'migrations_base.rb'
2
-
3
1
  # Migration responsible for creating a table with activities
4
- class CreateActivities < MigrationsBase
2
+ class CreateActivities < (ActiveRecord.version.release() < Gem::Version.new('5.2.0') ? ActiveRecord::Migration : ActiveRecord::Migration[5.2])
5
3
  # Create table
6
4
  def self.up
7
5
  create_table :activities do |t|
@@ -1,4 +1,4 @@
1
1
  module PublicActivity
2
2
  # A constant with gem's version
3
- VERSION = '1.6.0'
3
+ VERSION = '1.6.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: public_activity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotrek Okoński
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-07-20 00:00:00.000000000 Z
12
+ date: 2018-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack