after_party 1.6 → 1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ba992ece7afc7b3d5a32af6981e2c9250efce5a
4
- data.tar.gz: a3c28824c4383fa35e3d8c0053860a1545ec5356
3
+ metadata.gz: 85b97a15f5a311c6878ccc8b2143d5c8249e1684
4
+ data.tar.gz: b1196216375b1fd3bb979b458275514bb29127b0
5
5
  SHA512:
6
- metadata.gz: 088508e0d93bf7441c1f5d6a3c6746125f11e5c8d101e778aa7e97c92a116afa04c6d9524fef2c2ddcf97c8247d25dd7089f30e28900dde430c537412bd6464f
7
- data.tar.gz: 74306e9dc1ae8dadb07b56a5b8a3479228ac1dc4f83b84889ecb4e092ded4da41f3585c36dfa0019362dbdcd870c1db829f6311c58143ea638dbbc9c10068007
6
+ metadata.gz: b13a8a9820727dc3b79b22c7197199acb32d47d9e801fe1f5bc4f9baabdbbd90d4b6607058e62bb4015c56b71d81ca50c052fdba086e545bed2bde7b7a078d24
7
+ data.tar.gz: ea21b43949f3d8d35f145b3b9a435225630dc901f827a5dcf1351daa90b3c4b364bf01160ecad9f8a341d654c835bba284632b5df604bf2c6f60b5e17b2e83fa
@@ -1,5 +1,8 @@
1
1
  module AfterParty
2
2
  class TaskRecord < ActiveRecord::Base
3
+ if ::Rails::VERSION::MAJOR.to_i == 3
4
+ attr_accessible :version
5
+ end
3
6
  def self.completed_task?(version)
4
7
  all.any?{|t| t.version == version}
5
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: after_party
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.6'
4
+ version: '1.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Mitchell