kurki 0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a30102744bcc5b5daec6421831454dcaf80aa731
4
+ data.tar.gz: ce94b77b00a206fcd274da51ae924f473644194c
5
+ SHA512:
6
+ metadata.gz: b6049b9b6ec060cc7ea59cddb97c1b7a0821ce2fb84a514a817561daf718ba40d5c7d32999328b63f46e2ca9e7e02eb51393cc03b0ad679b96aadd2226b714ed
7
+ data.tar.gz: 9d8750a54d873198e62699391f0ccbeb70b3e1c2befa1e325553b006d47709eb8576c64c7df1ac5104eec482c329f082c3504a2928f11c53829992a810bef6f2
data/.gitignore ADDED
@@ -0,0 +1,15 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ *.gem
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in kurki.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2016 Chang
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,49 @@
1
+ # Kurki
2
+
3
+ Helsinki University Kurki system API Rubygem.
4
+
5
+ Currently supports GET requests to:
6
+
7
+ * Fetch all courses
8
+ * Fetch a single course based on ID
9
+ * Fetch all students of a single course
10
+
11
+ Requires API token set in environment variable named KURKI_TOKEN
12
+
13
+ ## Installation
14
+
15
+ Add this line to your application's Gemfile:
16
+
17
+ ```ruby
18
+ gem 'kurki'
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install kurki
28
+
29
+ ## Usage
30
+
31
+ ```ruby
32
+ Kurki.get_courses
33
+ ```
34
+
35
+ ```ruby
36
+ Kurki.get_course(id)
37
+ ```
38
+
39
+ ```ruby
40
+ Kurki.get_students(course_id)
41
+ ```
42
+
43
+ ## Contributing
44
+
45
+ 1. Fork it ( https://github.com/[my-github-username]/kurki/fork )
46
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
47
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
48
+ 4. Push to the branch (`git push origin my-new-feature`)
49
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+ RSpec::Core::RakeTask.new(:spec) do |task|
4
+ task.rspec_opts = ['--color', '--format', 'nested']
5
+ end
6
+
7
+ task :default => :spec
data/kurki.gemspec ADDED
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'kurki/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "kurki"
8
+ spec.version = Kurki::VERSION
9
+ spec.authors = ["Chang Rajani"]
10
+ spec.email = ["chra@cs.helsinki.fi"]
11
+ spec.summary = %q{Helsinki University Kurki system API}
12
+ spec.description = %q{Support for students and teachers}
13
+ spec.homepage = "http://kurki.cs.helsinki.fi"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
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.7"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "rspec"
24
+ spec.add_development_dependency "webmock"
25
+ spec.add_runtime_dependency 'rest-client'
26
+
27
+ end
@@ -0,0 +1,3 @@
1
+ module Kurki
2
+ VERSION = "0.0.1"
3
+ end
data/lib/kurki.rb ADDED
@@ -0,0 +1,35 @@
1
+ require "kurki/version"
2
+ require 'rest-client'
3
+
4
+ module Kurki
5
+ @@url = "http://svm-23.cs.helsinki.fi:4567/"
6
+
7
+ def self.url=(url)
8
+ @@url = url
9
+ @@url += "/" if (url[-1, 1] != '/')
10
+ end
11
+
12
+ def self.url
13
+ @@url
14
+ end
15
+
16
+ def self.get_courses
17
+ get(url + "courses")
18
+ end
19
+
20
+ def self.get_students(course_id)
21
+ get(url + "courses/#{course_id}/students")
22
+ end
23
+
24
+ def self.get_course(id)
25
+ # First because API returns array with one element
26
+ get(url + "courses/#{id}").first
27
+ end
28
+
29
+ private
30
+
31
+ def self.get(address, params = {})
32
+ params[:authorization] = ENV["KURKI_TOKEN"]
33
+ JSON.parse(RestClient.get(address, { params: params, accept: :json, content_type: :json }))
34
+ end
35
+ end
@@ -0,0 +1 @@
1
+ [{"kurssikoodi":"581259","lukuvuosi":2012,"lukukausi":"K","tyyppi":"K","kurssi_nro":1,"alkamis_pvm":"2012-03-12 00:00:00 +0300","paattymis_pvm":"2016-04-30 00:00:00 +0300","omistaja":"LUUKKAINEN_M"}]
@@ -0,0 +1 @@
1
+ [{"kurssikoodi":"581259","lukuvuosi":2012,"lukukausi":"K","tyyppi":"K","tila":"J","kurssi_nro":1,"nimi":"Ohjelmistotuotanto","alkamis_pvm":"2012-03-12 00:00:00 +0300","paattymis_pvm":"2016-04-30 00:00:00 +0300","url":"localhost:1234/courses/581259.2012.K.K.1"},{"kurssikoodi":"58131","lukuvuosi":2010,"lukukausi":"K","tyyppi":"K","tila":"J","kurssi_nro":1,"nimi":"Tietorakenteet","alkamis_pvm":"2010-01-19 00:00:00 +0300","paattymis_pvm":"2016-04-30 00:00:00 +0300","url":"localhost:1234/courses/58131.2010.K.K.1"},{"kurssikoodi":"58131","lukuvuosi":2011,"lukukausi":"K","tyyppi":"K","tila":"J","kurssi_nro":1,"nimi":"Tietorakenteet","alkamis_pvm":"2011-01-17 00:00:00 +0300","paattymis_pvm":"2016-04-30 00:00:00 +0300","url":"localhost:1234/courses/58131.2011.K.K.1"}]
@@ -0,0 +1 @@
1
+ [{"arvosana":"3","etunimi":"LAURA M A","sukunimi":"PESOLA","id":"123456789"},{"arvosana":"5","etunimi":"TERO V E","sukunimi":"NURMILUOTO","id":"123456789"},{"arvosana":"5","etunimi":"KENNY S","sukunimi":"HEINONEN","id":"123456789"},{"arvosana":"5","etunimi":"JUHO P","sukunimi":"KALLIO","id":"123456789"},{"arvosana":"5","etunimi":"JULIUS E","sukunimi":"RAIHA","id":"123456789"},{"arvosana":"5","etunimi":"EETU V V","sukunimi":"KOMSI","id":"123456789"},{"arvosana":"4","etunimi":"JARL-ERIK","sukunimi":"MALMSTROM","id":"123456789"},{"arvosana":"1","etunimi":"HENRI V P","sukunimi":"KARHU","id":"123456789"},{"arvosana":"1","etunimi":"PESSI J","sukunimi":"MOILANEN","id":"123456789"},{"arvosana":"3","etunimi":"HANNA M","sukunimi":"HIRVONEN","id":"123456789"},{"arvosana":"5","etunimi":"J KASPER","sukunimi":"HIRVIKOSKI","id":"123456789"},{"arvosana":"5","etunimi":"LAURI K J","sukunimi":"SAVOLAINEN","id":"123456789"},{"arvosana":"5","etunimi":"SAMI V","sukunimi":"KOSKINEN","id":"123456789"},{"arvosana":"2","etunimi":"NIKO E J","sukunimi":"ERONEN","id":"123456789"},{"arvosana":null,"etunimi":"MIKKO K","sukunimi":"LEHTINEN","id":"123456789"},{"arvosana":"3","etunimi":"HENRI K","sukunimi":"YLIKOTILA","id":"123456789"},{"arvosana":"5","etunimi":"HEIKKI J","sukunimi":"HOLOPAINEN","id":"123456789"},{"arvosana":"3","etunimi":"KAVAN","sukunimi":"SOLEIMANBEIGI","id":"123456789"},{"arvosana":null,"etunimi":"ANNA E","sukunimi":"HIETANEN","id":"123456789"},{"arvosana":"4","etunimi":"TONI O A","sukunimi":"KONNILA","id":"123456789"},{"arvosana":"4","etunimi":"MATHIAS A","sukunimi":"KEUS","id":"123456789"},{"arvosana":"2","etunimi":"JOONAS K","sukunimi":"MAGNUSSON","id":"123456789"},{"arvosana":"4","etunimi":"TUUKKA S","sukunimi":"YLONEN","id":"123456789"},{"arvosana":"1","etunimi":"MATTI T","sukunimi":"TAHVANAINEN","id":"123456789"},{"arvosana":"3","etunimi":"JUHO-E A","sukunimi":"GAVERT","id":"123456789"},{"arvosana":"1","etunimi":"VILLE P","sukunimi":"KUKKOLA","id":"123456789"},{"arvosana":"4","etunimi":"TOMMI T","sukunimi":"JALKANEN","id":"123456789"},{"arvosana":"4","etunimi":"OLLI-PEKKA","sukunimi":"HARKONSALO","id":"123456789"},{"arvosana":"2","etunimi":"VALTTER H J","sukunimi":"TAIPALE","id":"123456789"},{"arvosana":null,"etunimi":"AKI J","sukunimi":"KESULAHTI","id":"123456789"},{"arvosana":"4","etunimi":"ANTTI J","sukunimi":"MYYRA","id":"123456789"},{"arvosana":"5","etunimi":"PAUL H A","sukunimi":"SAIKKO","id":"123456789"},{"arvosana":"2","etunimi":"JESSE H","sukunimi":"SIPOLA","id":"123456789"},{"arvosana":null,"etunimi":"EKI H","sukunimi":"YLIKOSKI","id":"123456789"},{"arvosana":"3","etunimi":"JARI M J","sukunimi":"KOSKINEN","id":"123456789"},{"arvosana":null,"etunimi":"JASSE M A","sukunimi":"WISTRAND","id":"123456789"},{"arvosana":"3","etunimi":"CAROLINA J E","sukunimi":"LINDQVIST","id":"123456789"},{"arvosana":"4","etunimi":"EMMI M","sukunimi":"OTAVA","id":"123456789"},{"arvosana":"5","etunimi":"TITTI M K","sukunimi":"MALMIVIRTA","id":"123456789"},{"arvosana":"3","etunimi":"HERKKO J","sukunimi":"VIROLAINEN","id":"123456789"},{"arvosana":"4","etunimi":"TOMI M","sukunimi":"SIMSIO","id":"123456789"},{"arvosana":"4","etunimi":"TOMI S","sukunimi":"HILTUNEN","id":"123456789"},{"arvosana":"4","etunimi":"ERNO A","sukunimi":"HOPEARUOHO","id":"123456789"},{"arvosana":"3","etunimi":"LAURI M","sukunimi":"PULKKINEN","id":"123456789"},{"arvosana":"2","etunimi":"TIMO O","sukunimi":"PITKANEN","id":"123456789"},{"arvosana":"2","etunimi":"TARU K","sukunimi":"AIROLA","id":"123456789"},{"arvosana":"4","etunimi":"MARKUS K","sukunimi":"KOSKI","id":"123456789"},{"arvosana":"1","etunimi":"MIKKO K","sukunimi":"KOHO","id":"123456789"},{"arvosana":"3","etunimi":"KARI K","sukunimi":"KORPINEN","id":"123456789"},{"arvosana":"5","etunimi":"OLLI O","sukunimi":"RISSANEN","id":"123456789"},{"arvosana":"4","etunimi":"DARIA","sukunimi":"ANTONOVA","id":"123456789"},{"arvosana":"2","etunimi":"ATTE E","sukunimi":"AALTONEN","id":"123456789"},{"arvosana":"5","etunimi":"JUKKA T","sukunimi":"KOSKELIN","id":"123456789"},{"arvosana":"2","etunimi":"HANNU S","sukunimi":"PAIVEROINEN","id":"123456789"},{"arvosana":"1","etunimi":"ANNI K","sukunimi":"HAUTALA","id":"123456789"},{"arvosana":"5","etunimi":"TERO A","sukunimi":"HUOMO","id":"123456789"},{"arvosana":"4","etunimi":"ANIS","sukunimi":"MOUBARIK","id":"123456789"},{"arvosana":"4","etunimi":"IRINA M A","sukunimi":"MAKIPAJA","id":"123456789"},{"arvosana":"1","etunimi":"VILLE P","sukunimi":"SIIVOLA","id":"123456789"},{"arvosana":"1","etunimi":"TOPI J","sukunimi":"SARKKINEN","id":"123456789"},{"arvosana":"1","etunimi":"NIKO K","sukunimi":"LAITINEN","id":"123456789"},{"arvosana":"2","etunimi":"PANU P","sukunimi":"KLEMOLA","id":"123456789"},{"arvosana":"3","etunimi":"SAMIR P","sukunimi":"PUUSKA","id":"123456789"},{"arvosana":"5","etunimi":"TONY E J","sukunimi":"KOVANEN","id":"123456789"},{"arvosana":"5","etunimi":"EEVA A","sukunimi":"TERKKI","id":"123456789"},{"arvosana":"3","etunimi":"MIKKO K A","sukunimi":"NYLEN","id":"123456789"},{"arvosana":"3","etunimi":"XUEGANG","sukunimi":"CHAI","id":"123456789"},{"arvosana":null,"etunimi":"SAMPO T","sukunimi":"LAURILA","id":"123456789"},{"arvosana":null,"etunimi":"KALLE M K","sukunimi":"ALANEN","id":"123456789"},{"arvosana":null,"etunimi":"KARL H M","sukunimi":"KARLBERG","id":"123456789"},{"arvosana":"4","etunimi":"SAMU H A","sukunimi":"VUORINEN","id":"123456789"},{"arvosana":null,"etunimi":"ALEKSI J","sukunimi":"MAJANDER","id":"123456789"},{"arvosana":"5","etunimi":"JOOSA A S","sukunimi":"KURVINEN","id":"123456789"},{"arvosana":"0","etunimi":"RUBEN K O","sukunimi":"LAGUS","id":"123456789"},{"arvosana":"5","etunimi":"OTTO H","sukunimi":"WALLENIUS","id":"123456789"},{"arvosana":"0","etunimi":"VILLE T","sukunimi":"KNUUTTILA","id":"123456789"},{"arvosana":"3","etunimi":"JUKKA-PEKKA","sukunimi":"SALO","id":"123456789"},{"arvosana":"5","etunimi":"HANNA K","sukunimi":"ARPIAINEN","id":"123456789"},{"arvosana":"4","etunimi":"ILKKA A","sukunimi":"HAKKARAINEN","id":"123456789"},{"arvosana":"3","etunimi":"NIKO A","sukunimi":"AHONEN","id":"123456789"},{"arvosana":"5","etunimi":"ANNI M","sukunimi":"TUULINEN","id":"123456789"},{"arvosana":"3","etunimi":"LAURA M A","sukunimi":"PESOLA","id":"123456789"},{"arvosana":"5","etunimi":"JULIUS E","sukunimi":"RAIHA","id":"123456789"},{"arvosana":"5","etunimi":"EETU V V","sukunimi":"KOMSI","id":"123456789"},{"arvosana":"3","etunimi":"LAURA M A","sukunimi":"PESOLA","id":"123456789"},{"arvosana":"5","etunimi":"JULIUS E","sukunimi":"RAIHA","id":"123456789"},{"arvosana":"5","etunimi":"EETU V V","sukunimi":"KOMSI","id":"123456789"},{"arvosana":"3","etunimi":"LAURA M A","sukunimi":"PESOLA","id":"123456789"},{"arvosana":"5","etunimi":"JULIUS E","sukunimi":"RAIHA","id":"123456789"},{"arvosana":null,"etunimi":"SAMPO KUISMA ILARI","sukunimi":"LUUKKAINEN","id":"123456789"},{"arvosana":"1","etunimi":"ARTO O","sukunimi":"VIHAVAINEN","id":"123456789"},{"arvosana":"1","etunimi":"MATTI","sukunimi":"LUUKKAINEN","id":"123456789"},{"arvosana":null,"etunimi":"TUUKKA S","sukunimi":"NORRI","id":"123456789"}]
@@ -0,0 +1,53 @@
1
+ require 'spec_helper'
2
+
3
+ describe Kurki do
4
+
5
+ before :each do
6
+
7
+ Kurki.url = "http://example.com"
8
+ ENV["KURKI_TOKEN"] = "fake"
9
+
10
+ stub_request(:get, /.*courses.*/).
11
+ with(:headers => {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip, deflate', 'Content-Type'=>'application/json', 'User-Agent'=>'Ruby'}).
12
+ to_return(:status => 200, :body => IO.read("spec/fixtures/courses.json"), :headers => {})
13
+
14
+ stub_request(:get, /.*courses\/581259.2012.K.K.1/).
15
+ with(:headers => {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip, deflate', 'Content-Type'=>'application/json', 'User-Agent'=>'Ruby'}).
16
+ to_return(:status => 200, :body => IO.read("spec/fixtures/course.json"), :headers => {})
17
+
18
+ stub_request(:get, /.*courses\/581259.2012.K.K.1\/students.*/).
19
+ with(:headers => {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip, deflate', 'Content-Type'=>'application/json', 'User-Agent'=>'Ruby'}).
20
+ to_return(:status => 200, :body => IO.read("spec/fixtures/students.json"), :headers => {})
21
+
22
+ end
23
+
24
+ it "allows setting of url" do
25
+ Kurki.url = "test/"
26
+ expect(Kurki.url).to eq("test/")
27
+ end
28
+
29
+ it "setting an url without a backslash adds it" do
30
+ Kurki.url = "test"
31
+ expect(Kurki.url).to eq("test/")
32
+ end
33
+
34
+ it "default url works" do
35
+ expect(Kurki.url).not_to be_nil
36
+ end
37
+
38
+ it 'can GET the curses index' do
39
+ courses = Kurki.get_courses
40
+ expect(courses.first["kurssikoodi"]).to eq("581259")
41
+ expect(courses.last["kurssikoodi"]).to eq("58131")
42
+ end
43
+
44
+ it 'can GET the a single course by id' do
45
+ course = Kurki.get_course("581259.2012.K.K.1")
46
+ expect(course["kurssikoodi"]).to eq("581259")
47
+ end
48
+
49
+ it 'can get GET students of a course' do
50
+ students = Kurki.get_students("581259.2012.K.K.1")
51
+ expect(students.first["arvosana"]).to eq("3")
52
+ end
53
+ end
@@ -0,0 +1,10 @@
1
+ require 'bundler/setup'
2
+ require 'webmock/rspec'
3
+
4
+ Bundler.setup
5
+
6
+ require 'kurki' # and any other gems you need
7
+
8
+ RSpec.configure do |config|
9
+ # some (optional) config here
10
+ end
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kurki
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Chang Rajani
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-04-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: webmock
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rest-client
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: Support for students and teachers
84
+ email:
85
+ - chra@cs.helsinki.fi
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".gitignore"
91
+ - ".rspec"
92
+ - Gemfile
93
+ - LICENSE.txt
94
+ - README.md
95
+ - Rakefile
96
+ - kurki.gemspec
97
+ - lib/kurki.rb
98
+ - lib/kurki/version.rb
99
+ - spec/fixtures/course.json
100
+ - spec/fixtures/courses.json
101
+ - spec/fixtures/students.json
102
+ - spec/kurki_spec.rb
103
+ - spec/spec_helper.rb
104
+ homepage: http://kurki.cs.helsinki.fi
105
+ licenses:
106
+ - MIT
107
+ metadata: {}
108
+ post_install_message:
109
+ rdoc_options: []
110
+ require_paths:
111
+ - lib
112
+ required_ruby_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ required_rubygems_version: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ requirements: []
123
+ rubyforge_project:
124
+ rubygems_version: 2.4.5
125
+ signing_key:
126
+ specification_version: 4
127
+ summary: Helsinki University Kurki system API
128
+ test_files:
129
+ - spec/fixtures/course.json
130
+ - spec/fixtures/courses.json
131
+ - spec/fixtures/students.json
132
+ - spec/kurki_spec.rb
133
+ - spec/spec_helper.rb