ims_caliper 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 +4 -4
- data/.gitignore +3 -3
- data/Gemfile +3 -3
- data/caliper.gemspec +6 -6
- data/lib/caliper/stats/atomic_wrapper.rb +3 -3
- data/lib/caliper/stats/statistic.rb +2 -2
- data/lib/caliper/version.rb +1 -1
- data/spec/lib/events/assessment_item_completed_event_spec.rb +2 -2
- metadata +8 -6
- data/Gemfile.lock +0 -57
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: baffc46e3489b0ef888b72bfc45ca288de6855aa
|
4
|
+
data.tar.gz: d3a8ac074757af1b620cdba88530babd49159ba2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c7832a0fb115b0a8219eddfa5546ff11ca7b8f4b9d24d9baed39fe787bc4d9a5ffb3df2e787221bff0f4c58ed3865eacd65f764339a74ea99e2fe5b573c3d2b
|
7
|
+
data.tar.gz: 4dc12fe9d7e1b2f18acf2822ead75f7a9db2e26219a838398652540c5ae3dced9442de65abf28541a96f259fef76f3407c85a7d8bfb71aa97c7eff18ccf43be0
|
data/.gitignore
CHANGED
@@ -29,9 +29,9 @@ build/
|
|
29
29
|
|
30
30
|
# for a library or gem, you might want to ignore these files since the code is
|
31
31
|
# intended to run in multiple environments; otherwise, check them in:
|
32
|
-
|
33
|
-
|
34
|
-
|
32
|
+
Gemfile.lock
|
33
|
+
.ruby-version
|
34
|
+
.ruby-gemset
|
35
35
|
|
36
36
|
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
37
37
|
.rvmrc
|
data/Gemfile
CHANGED
@@ -7,8 +7,8 @@ source "https://rubygems.org"
|
|
7
7
|
# require_all utility
|
8
8
|
gem 'require_all'
|
9
9
|
|
10
|
-
# the
|
11
|
-
gem '
|
10
|
+
# the Concurrent::Atomic lib
|
11
|
+
gem 'concurrent-ruby'
|
12
12
|
|
13
13
|
# translation and localization
|
14
14
|
gem 'i18n'
|
@@ -21,4 +21,4 @@ gem 'test-unit'
|
|
21
21
|
gem 'simplecov', :require => false, :group => :test
|
22
22
|
gem 'simplecov-rcov', :require => false, :group => :test
|
23
23
|
gem 'mocha', '~> 1.1.0'
|
24
|
-
gem 'json_spec'
|
24
|
+
gem 'json_spec'
|
data/caliper.gemspec
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
$:.push File.expand_path("../lib", __FILE__)
|
2
2
|
|
3
3
|
require 'caliper/version'
|
4
|
+
|
4
5
|
Gem::Specification.new do |g|
|
5
6
|
g.name = "ims_caliper"
|
6
7
|
g.version = Caliper::VERSION
|
7
|
-
g.authors = ["
|
8
|
-
g.email = ["
|
8
|
+
g.authors = ["Matthew Hogan", "Prashant Nayak", "Zhen Qian", "Anthony Whyte"]
|
9
|
+
g.email = ["lmattson@imsglobal.org"]
|
9
10
|
g.homepage = "https://github.com/IMSGlobal/caliper-ruby"
|
10
11
|
g.summary = "Caliper Sensor API"
|
11
|
-
g.description = "
|
12
|
-
g.license = "
|
12
|
+
g.description = "Ruby implementation of the IMS Caliper Sensor."
|
13
|
+
g.license = "LGPL-3.0"
|
13
14
|
|
14
15
|
#g.files = Dir["{app,config,db,lib}/**/*", "Rakefile"]
|
15
16
|
g.files = `git ls-files`.split($\)
|
16
17
|
g.executables = g.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
18
|
g.test_files = g.files.grep(%r{^(test|spec|features)/})
|
18
19
|
g.require_path = 'lib'
|
19
|
-
|
20
|
-
end
|
20
|
+
end
|
@@ -15,14 +15,14 @@
|
|
15
15
|
# You should have received a copy of the GNU Lesser General Public License along
|
16
16
|
# with this program. If not, see http://www.gnu.org/licenses/.
|
17
17
|
|
18
|
-
require '
|
18
|
+
require 'concurrent'
|
19
19
|
|
20
20
|
#
|
21
21
|
# Extends the atomic class with several new functions.
|
22
22
|
#
|
23
23
|
module Caliper
|
24
24
|
module Stats
|
25
|
-
class AtomicWrapper < Atomic
|
25
|
+
class AtomicWrapper < Concurrent::Atomic
|
26
26
|
|
27
27
|
def initialize(value)
|
28
28
|
super.initialize(value)
|
@@ -100,4 +100,4 @@ module Caliper
|
|
100
100
|
end
|
101
101
|
end
|
102
102
|
end
|
103
|
-
end
|
103
|
+
end
|
@@ -15,7 +15,7 @@
|
|
15
15
|
# You should have received a copy of the GNU Lesser General Public License along
|
16
16
|
# with this program. If not, see http://www.gnu.org/licenses/.
|
17
17
|
|
18
|
-
require '
|
18
|
+
require 'concurrent'
|
19
19
|
require 'math'
|
20
20
|
|
21
21
|
#
|
@@ -121,4 +121,4 @@ module Caliper
|
|
121
121
|
end
|
122
122
|
end
|
123
123
|
end
|
124
|
-
end
|
124
|
+
end
|
data/lib/caliper/version.rb
CHANGED
@@ -29,7 +29,7 @@ require_all 'lib/caliper/entities/lis/course_offering.rb'
|
|
29
29
|
require_all 'lib/caliper/entities/lis/group.rb'
|
30
30
|
require_all 'lib/caliper/entities/assignable/attempt.rb'
|
31
31
|
require_all 'lib/caliper/entities/assignable/assignable_digital_resource.rb'
|
32
|
-
require_all 'lib/caliper/entities/response/
|
32
|
+
require_all 'lib/caliper/entities/response/response.rb'
|
33
33
|
require_all 'lib/caliper/entities/response/fillin_blank_response.rb'
|
34
34
|
require_all 'lib/caliper/events/assessment_item_event.rb'
|
35
35
|
require 'json_spec'
|
@@ -165,4 +165,4 @@ module Caliper
|
|
165
165
|
end
|
166
166
|
end
|
167
167
|
end
|
168
|
-
end
|
168
|
+
end
|
metadata
CHANGED
@@ -1,25 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ims_caliper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Matthew Hogan
|
8
|
+
- Prashant Nayak
|
9
|
+
- Zhen Qian
|
10
|
+
- Anthony Whyte
|
8
11
|
autorequire:
|
9
12
|
bindir: bin
|
10
13
|
cert_chain: []
|
11
14
|
date: 2016-07-15 00:00:00.000000000 Z
|
12
15
|
dependencies: []
|
13
|
-
description:
|
16
|
+
description: Ruby implementation of the IMS Caliper Sensor.
|
14
17
|
email:
|
15
|
-
-
|
18
|
+
- lmattson@imsglobal.org
|
16
19
|
executables: []
|
17
20
|
extensions: []
|
18
21
|
extra_rdoc_files: []
|
19
22
|
files:
|
20
23
|
- ".gitignore"
|
21
24
|
- Gemfile
|
22
|
-
- Gemfile.lock
|
23
25
|
- LICENSE
|
24
26
|
- NOTICE
|
25
27
|
- README.md
|
@@ -146,7 +148,7 @@ files:
|
|
146
148
|
- spec/spec_helper.rb
|
147
149
|
homepage: https://github.com/IMSGlobal/caliper-ruby
|
148
150
|
licenses:
|
149
|
-
-
|
151
|
+
- LGPL-3.0
|
150
152
|
metadata: {}
|
151
153
|
post_install_message:
|
152
154
|
rdoc_options: []
|
data/Gemfile.lock
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
atomic (1.1.99)
|
5
|
-
diff-lcs (1.2.5)
|
6
|
-
docile (1.1.5)
|
7
|
-
i18n (0.7.0)
|
8
|
-
json_spec (1.1.4)
|
9
|
-
multi_json (~> 1.0)
|
10
|
-
rspec (>= 2.0, < 4.0)
|
11
|
-
metaclass (0.0.4)
|
12
|
-
mime-types (2.4.3)
|
13
|
-
mocha (1.1.0)
|
14
|
-
metaclass (~> 0.0.1)
|
15
|
-
multi_json (1.10.1)
|
16
|
-
netrc (0.10.3)
|
17
|
-
power_assert (0.2.3)
|
18
|
-
require_all (1.3.2)
|
19
|
-
rest-client (1.7.3)
|
20
|
-
mime-types (>= 1.16, < 3.0)
|
21
|
-
netrc (~> 0.7)
|
22
|
-
rspec (3.2.0)
|
23
|
-
rspec-core (~> 3.2.0)
|
24
|
-
rspec-expectations (~> 3.2.0)
|
25
|
-
rspec-mocks (~> 3.2.0)
|
26
|
-
rspec-core (3.2.2)
|
27
|
-
rspec-support (~> 3.2.0)
|
28
|
-
rspec-expectations (3.2.0)
|
29
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
30
|
-
rspec-support (~> 3.2.0)
|
31
|
-
rspec-mocks (3.2.1)
|
32
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
33
|
-
rspec-support (~> 3.2.0)
|
34
|
-
rspec-support (3.2.2)
|
35
|
-
simplecov (0.9.2)
|
36
|
-
docile (~> 1.1.0)
|
37
|
-
multi_json (~> 1.0)
|
38
|
-
simplecov-html (~> 0.9.0)
|
39
|
-
simplecov-html (0.9.0)
|
40
|
-
simplecov-rcov (0.2.3)
|
41
|
-
simplecov (>= 0.4.1)
|
42
|
-
test-unit (3.0.9)
|
43
|
-
power_assert
|
44
|
-
|
45
|
-
PLATFORMS
|
46
|
-
ruby
|
47
|
-
|
48
|
-
DEPENDENCIES
|
49
|
-
atomic (~> 1.1.99)
|
50
|
-
i18n
|
51
|
-
json_spec
|
52
|
-
mocha (~> 1.1.0)
|
53
|
-
require_all
|
54
|
-
rest-client (~> 1.7.3)
|
55
|
-
simplecov
|
56
|
-
simplecov-rcov
|
57
|
-
test-unit
|