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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8f8b82d69f8412b3be27a29ec5e9f3f8e144acd
4
- data.tar.gz: d24cffc6b24c29129a31d48fe2f0d22670dc2c09
3
+ metadata.gz: baffc46e3489b0ef888b72bfc45ca288de6855aa
4
+ data.tar.gz: d3a8ac074757af1b620cdba88530babd49159ba2
5
5
  SHA512:
6
- metadata.gz: 2821a168e5d3eb6b99ffe53fa0d3625ea77d7dca06c362a799589cdc90c41eddf467c68dbde78fa7f74f29c7c1c27f62d810835a0e15c8c5c94581bca0f1809d
7
- data.tar.gz: bdaf13f3aa7de2f4402e0e7c688db8663601a1345f427b657c3159028c9ea013f3dd7fc656fdf6013b2feb7d2705c50455ce0c0bdc9d46802b2a508a5beb27e5
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
- # Gemfile.lock
33
- # .ruby-version
34
- # .ruby-gemset
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 atomic lib
11
- gem 'atomic', '~> 1.1.99'
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 = ["Caliper Dev Group"]
8
- g.email = ["lisa@imsglobal.org"]
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 = "This is the implementation of IMSGlobal Caliper in Ruby"
12
- g.license = "http://www.imsglobal.org/copyright.html"
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 'atomic'
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 'atomic'
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
@@ -19,5 +19,5 @@
19
19
  # Version.
20
20
  #
21
21
  module Caliper
22
- VERSION = "1.0.0"
22
+ VERSION = "1.0.1"
23
23
  end
@@ -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/Response.rb'
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.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
- - Caliper Dev Group
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: This is the implementation of IMSGlobal Caliper in Ruby
16
+ description: Ruby implementation of the IMS Caliper Sensor.
14
17
  email:
15
- - lisa@imsglobal.org
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
- - http://www.imsglobal.org/copyright.html
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