one-eye-eater 0.1.16 → 0.1.17
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 15904298bb77805501e8ccf2f94154afd16a69bc
|
|
4
|
+
data.tar.gz: 5fb2cdc0832035c3637f6431c57b11fc32b20df0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77ec9c36c8ba744d19b9136017648e6008362f2a5a5c297dcd0162a4dbfef6fbad657ecd245e0e4f09c60355c1eb7c9bc2a474be0a543aa4e269ff3c1714b910
|
|
7
|
+
data.tar.gz: cdeb5de9c77fa02d9b707858db8dd088529eb1f1606c637bf947a48a59b55cf81d3417f0e38a9929d5b52608b55cab4df14b72f247f93f542bb90eebd3579014
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.17
|
data/lib/models/base.rb
CHANGED
data/one-eye-eater.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: one-eye-eater 0.1.
|
|
5
|
+
# stub: one-eye-eater 0.1.17 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "one-eye-eater"
|
|
9
|
-
s.version = "0.1.
|
|
9
|
+
s.version = "0.1.17"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|
|
13
13
|
s.authors = ["Brett Shollenberger"]
|
|
14
|
-
s.date = "2014-07-
|
|
14
|
+
s.date = "2014-07-15"
|
|
15
15
|
s.description = "Create, read, update, and destroy Edmodo data via the One Eye API."
|
|
16
16
|
s.email = "brett.shollenberger@gmail.com"
|
|
17
17
|
s.extra_rdoc_files = [
|
|
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
|
|
|
35
35
|
"lib/models/group_membership.rb",
|
|
36
36
|
"lib/models/insights/insights.rb",
|
|
37
37
|
"lib/models/insights/snapshot_performance.rb",
|
|
38
|
-
"lib/models/insights/
|
|
38
|
+
"lib/models/insights/snapshot_suggested_groups.rb",
|
|
39
39
|
"lib/models/insights/snapshot_usage.rb",
|
|
40
40
|
"lib/models/school.rb",
|
|
41
41
|
"lib/models/user.rb",
|
data/spec/models/base_spec.rb
CHANGED
|
@@ -32,6 +32,10 @@ describe OneEye::Base do
|
|
|
32
32
|
expect(@schools.first.name).to eq("October's Very Own Academy")
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
it "replaces module names with URLs", :deep_module_nesting do
|
|
36
|
+
expect(OneEye::Insights::SnapshotSuggestedGroups.find(55).school_id).to eq(406879)
|
|
37
|
+
end
|
|
38
|
+
|
|
35
39
|
it "dynamically dispatches custom finders", :finders do
|
|
36
40
|
expect(OneEye::Insights::SnapshotUsage.districts(:district_id => 22037).first.num_teachers).to eq(5)
|
|
37
41
|
expect(OneEye::Insights::SnapshotPerformance.schools(:district_id => 22037,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: one-eye-eater
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brett Shollenberger
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|
|
@@ -202,7 +202,7 @@ files:
|
|
|
202
202
|
- lib/models/group_membership.rb
|
|
203
203
|
- lib/models/insights/insights.rb
|
|
204
204
|
- lib/models/insights/snapshot_performance.rb
|
|
205
|
-
- lib/models/insights/
|
|
205
|
+
- lib/models/insights/snapshot_suggested_groups.rb
|
|
206
206
|
- lib/models/insights/snapshot_usage.rb
|
|
207
207
|
- lib/models/school.rb
|
|
208
208
|
- lib/models/user.rb
|