scheddy 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: adecf31e5c9eb6a72d45ea6b58ea0fa4a3788e32e9fe823d967f1881d4d54016
4
- data.tar.gz: 68815c4b88e800c59b72f9fadb359b73ac4eea34db23ea03b7b8f6825f158f0f
3
+ metadata.gz: 86885e07595c5cc31d8a5963684a2618de1505986399fd93e0f54f6ff248bbac
4
+ data.tar.gz: 409a482e3d28dbdda1f2ec48e06ed7a52ff020e961ce89b89aef976698e9e400
5
5
  SHA512:
6
- metadata.gz: 9d9ccdbf34b264d353bdcdf95a9edc8f3780dcfd344c138ceb82692a046cd6a9311774e2c94dc1478fdbbfff3db6ea088f9cca41f46a3a638bbe3bf8a0dee1cb
7
- data.tar.gz: 9b58cc75e7d3306350d3dc5a5a8a9ff7beb8216ee094ce0d707494f0e6c064eae886cf517bbb9bd66a76d4b2c758684c0a5c6a894d9099f5541af7100cdf887b
6
+ metadata.gz: fa861cb109163a3a86e8b327436441ed4f4f4dbee4b95d1ea605f67500b91110465aded2062b00934d1621211625665f735f07d5a9f8c14d0b8d0d9a9800f560
7
+ data.tar.gz: 33acabd55cc1ecce55ec9cd0a30e547dad4570d19414382839a02510e6d7543b2d12f5b136aa9951550dbf96a0b7bb7b3085ed974cd5b41e1f157380f642ded1
@@ -1,5 +1,10 @@
1
1
  module Scheddy
2
- class ApplicationRecord < ActiveRecord::Base
3
- self.abstract_class = true
2
+ if defined?(ActiveRecord::Base)
3
+ class ApplicationRecord < ActiveRecord::Base
4
+ self.abstract_class = true
5
+ end
6
+ else
7
+ class ApplicationRecord
8
+ end
4
9
  end
5
10
  end
@@ -1,3 +1,3 @@
1
1
  module Scheddy
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scheddy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan