study_engine 0.2.2 → 0.3.0

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: 507035eb8562f8e97d881e21ada63835090e0df5
4
- data.tar.gz: dea29dac0c1cf0f55788844531b23efae977c8f4
3
+ metadata.gz: fa98c9efc71880444d6d71c71cd5488791080815
4
+ data.tar.gz: 81b19ad5dccbeda061e439049f3ec81bd16496f0
5
5
  SHA512:
6
- metadata.gz: e776a42325d4d96e118a682ea9973ba9b7e2d224aa47809e7540813089f2464e215f2fd71e3c673bce52c0cb6502f61dfdc4c5f1a1106e5e4dbb5f22bcf38a95
7
- data.tar.gz: 9ed752e79d9caa66e6bad643e0a7b6fc262b4aed048b33f3ef36be1de6d570494dab9b7d7bb888a8357dd5eb9fd5e8d3ce71e01c47beec93528fdbe4c7d716e3
6
+ metadata.gz: 08a0da5757156efa709029c00427950193f345e377e491c110bec4c6e26d802442f9b262f21c1ee1dd5904a0288bdaa2886c279f87fbd8d9070c9307255645d7
7
+ data.tar.gz: d59245222e1a4bba008a1ffde66663615cb65894a74aec9d324064f70cf30cbda03dd7de4eb3f1e8f36ac1ae0d28dae37e1359977869135778cb5fa78e3332e4
@@ -1,8 +1,11 @@
1
1
  require "study_engine/config"
2
2
  require "study_engine/study_id"
3
+ require "hashid/rails"
3
4
 
4
5
  module StudyEngine
5
6
  class Assessment < ActiveRecord::Base
7
+ include Hashid::Rails
8
+
6
9
  cattr_accessor(:timeout_interval) { 10.minutes }
7
10
 
8
11
  default_scope -> { includes(:persisted_results) }
@@ -1,3 +1,3 @@
1
1
  module StudyEngine
2
- VERSION = "0.2.2"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: study_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-09 00:00:00.000000000 Z
11
+ date: 2018-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: hashid-rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: font-awesome-rails
99
113
  requirement: !ruby/object:Gem::Requirement