rubykhan 0.0.1 → 0.0.2

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.
@@ -0,0 +1,5 @@
1
+ require "rubykhan/version"
2
+
3
+ module Rubykhan
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'rubykhan/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rubykhan"
8
+ spec.version = Rubykhan::VERSION
9
+ spec.authors = ["Dan Crews"]
10
+ spec.email = ["dancrews@me.com"]
11
+ spec.description = %q{TODO: Write a gem description}
12
+ spec.summary = %q{TODO: Write a gem summary}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.3"
22
+ spec.add_development_dependency "rake"
23
+ end
data/rubykhan.gemspec CHANGED
@@ -6,10 +6,10 @@ require 'rubykhan/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "rubykhan"
8
8
  spec.version = Rubykhan::VERSION
9
- spec.authors = ["Dan Crews"]
10
- spec.email = ["dancrews@me.com"]
11
- spec.description = %q{spec description}
12
- spec.summary = %q{spec summary}
9
+ spec.authors = ["Dan Crews", "Abby Howell"]
10
+ spec.email = ["abbyghowell@gmail.com", "dancrews@me.com"]
11
+ spec.description = %q{A Ruby wrapper for the Khan Academy API}
12
+ spec.summary = %q{Simplififies API requests}
13
13
  spec.homepage = ""
14
14
  spec.license = "MIT"
15
15
 
@@ -20,4 +20,9 @@ Gem::Specification.new do |spec|
20
20
  spec.add_development_dependency "rspec"
21
21
  spec.add_development_dependency "bundler", "~> 1.3"
22
22
  spec.add_development_dependency "rake"
23
+ spec.add_dependency 'faraday', '~> 0.8.7'
24
+ spec.add_dependency 'faraday_middleware', '~> 0.9.0'
25
+ spec.add_dependency 'hashie', '~> 2.0'
26
+ spec.add_dependency 'json', '~> 1.8'
27
+ spec.add_dependency 'rash', '~> 0.4'
23
28
  end
data/spec/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
@@ -0,0 +1,111 @@
1
+ {"icon_src"=>"/images/power-mode/badges/probability-40x40.png",
2
+ "domain_slug"=>"math",
3
+ "relative_url"=>"/math/probability",
4
+ "web_url"=>"",
5
+ "ka_url"=>"http://www.KhanAcademy.org/math/probability",
6
+ "translated_standalone_title"=>"Probability and statistics",
7
+ "translated_title"=>"Probability and statistics",
8
+ "gplus_url"=>"",
9
+ "id"=>"xa88397b6",
10
+ "old_key_name"=>"XQlJ7xotRQg3QeW9VCiED2Jt7T7VmIkAoQP03zq9",
11
+ "hide"=>false,
12
+ "title"=>"Probability and statistics",
13
+ "child_data"=>
14
+ [{"kind"=>"Topic", "id"=>"xd573b830"},
15
+ {"kind"=>"Topic", "id"=>"x9966d42b"},
16
+ {"kind"=>"Topic", "id"=>"x99ac8b9e"},
17
+ {"kind"=>"Topic", "id"=>"x7c5c47ff"},
18
+ {"kind"=>"Topic", "id"=>"xea585073"},
19
+ {"kind"=>"Topic", "id"=>"x2a3773b2"}],
20
+ "children"=>
21
+ [{"kind"=>"Topic",
22
+ "hide"=>false,
23
+ "internal_id"=>"xd573b830",
24
+ "title"=>"Independent and dependent events",
25
+ "url"=>
26
+ "http://www.khanacademy.org/math/probability/independent-dependent-probability",
27
+ "node_slug"=>"independent-dependent-probability",
28
+ "edit_slug"=>"",
29
+ "key"=>"ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXhkNTczYjgzMAw",
30
+ "translated_title"=>"Independent and dependent events",
31
+ "id"=>"independent-dependent-probability"},
32
+ {"kind"=>"Topic",
33
+ "hide"=>false,
34
+ "internal_id"=>"x9966d42b",
35
+ "title"=>"Probability and combinatorics",
36
+ "url"=>
37
+ "http://www.khanacademy.org/math/probability/probability-and-combinatorics-topic",
38
+ "node_slug"=>"probability-and-combinatorics-topic",
39
+ "edit_slug"=>"",
40
+ "key"=>"ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXg5OTY2ZDQyYgw",
41
+ "translated_title"=>"Probability and combinatorics",
42
+ "id"=>"probability-and-combinatorics-topic"},
43
+ {"kind"=>"Topic",
44
+ "hide"=>false,
45
+ "internal_id"=>"x99ac8b9e",
46
+ "title"=>"Random variables and probability distributions",
47
+ "url"=>
48
+ "http://www.khanacademy.org/math/probability/random-variables-topic",
49
+ "node_slug"=>"random-variables-topic",
50
+ "edit_slug"=>"",
51
+ "key"=>"ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXg5OWFjOGI5ZQw",
52
+ "translated_title"=>"Random variables and probability distributions",
53
+ "id"=>"random-variables-topic"},
54
+ {"kind"=>"Topic",
55
+ "hide"=>false,
56
+ "internal_id"=>"x7c5c47ff",
57
+ "title"=>"Descriptive statistics",
58
+ "url"=>
59
+ "http://www.khanacademy.org/math/probability/descriptive-statistics",
60
+ "node_slug"=>"descriptive-statistics",
61
+ "edit_slug"=>"",
62
+ "key"=>"ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXg3YzVjNDdmZgw",
63
+ "translated_title"=>"Descriptive statistics",
64
+ "id"=>"descriptive-statistics"},
65
+ {"kind"=>"Topic",
66
+ "hide"=>false,
67
+ "internal_id"=>"xea585073",
68
+ "title"=>"Regression",
69
+ "url"=>"http://www.khanacademy.org/math/probability/regression",
70
+ "node_slug"=>"regression",
71
+ "edit_slug"=>"",
72
+ "key"=>"ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXhlYTU4NTA3Mww",
73
+ "translated_title"=>"Regression",
74
+ "id"=>"regression"},
75
+ {"kind"=>"Topic",
76
+ "hide"=>false,
77
+ "internal_id"=>"x2a3773b2",
78
+ "title"=>"Inferential statistics",
79
+ "url"=>
80
+ "http://www.khanacademy.org/math/probability/statistics-inferential",
81
+ "node_slug"=>"statistics-inferential",
82
+ "edit_slug"=>"",
83
+ "key"=>"ag5zfmtoYW4tYWNhZGVteXIUCxIFVG9waWMiCXgyYTM3NzNiMgw",
84
+ "translated_title"=>"Inferential statistics",
85
+ "id"=>"statistics-inferential"}],
86
+ "twitter_url"=>"",
87
+ "translated_description"=>"",
88
+ "deleted_mod_time"=>"2013-07-13T00:03:08Z",
89
+ "logo_image_url"=>"",
90
+ "in_knowledge_map"=>true,
91
+ "description"=>"",
92
+ "x_pos"=>-1.0,
93
+ "node_slug"=>"probability",
94
+ "deleted"=>false,
95
+ "facebook_url"=>"",
96
+ "backup_timestamp"=>"2013-07-13T00:08:15Z",
97
+ "render_type"=>"Subject",
98
+ "background_image_url"=>"",
99
+ "background_image_caption"=>"",
100
+ "assessment_progress_key"=>"axa88397b6",
101
+ "topic_page_url"=>"/math/probability",
102
+ "extended_slug"=>"math/probability",
103
+ "slug"=>"probability",
104
+ "tags"=>["probability"],
105
+ "kind"=>"Topic",
106
+ "in_topic_browser"=>true,
107
+ "sha"=>"db81c840a67ee8bb4702192cc414080049126f7d",
108
+ "standalone_title"=>"Probability and statistics",
109
+ "y_pos"=>28.5,
110
+ "current_revision_key"=>"db81c840a67ee8bb4702192cc414080049126f7d",
111
+ "content_kind"=>"Topic"}