japanda 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 75a79e6f6563fd41f8875193443cd1ca5ee3adfa
4
+ data.tar.gz: cbf89675cd0814e3f1f28f5389086d5dbfc5a260
5
+ SHA512:
6
+ metadata.gz: e9d7018ac25554bce9d6679dc83d6697130ec5318be1d63b267c1d70c73577006c0286af41e6cfc1c0e2128741c0bb9b49987f7bfd49d0ab0f5c62abb30d3d62
7
+ data.tar.gz: 96e479921c83bb3d91c31d9d2f9bb00921c0624bc2a186875c152aff0d61a3a2f3aa93e7e5883d6e4b27bd463fec49be5bc5be7fa17d8f816e3454b6aadf502f
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /.env/
10
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.1
4
+ before_install: gem install bundler -v 1.10.5
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in japanda.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Santosh Natarajan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,46 @@
1
+ # Japanda
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/japanda`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'japanda'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install japanda
22
+
23
+ ## Usage
24
+ Set a few enviroment variables:
25
+
26
+ export CANVAS_API_HOST=
27
+ export CANVAS_API_TOKEN=
28
+ export CANVAS_ACCOUNT_ID=
29
+ export GALLERY_API_HOST=
30
+ export GALLERY_API_TOKEN=
31
+
32
+ ## Development
33
+
34
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
35
+
36
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
37
+
38
+ ## Contributing
39
+
40
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/japanda. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
41
+
42
+
43
+ ## License
44
+
45
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
46
+
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "japanda"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'japanda/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "japanda"
8
+ spec.version = Japanda::VERSION
9
+ spec.authors = ["Santosh Natarajan"]
10
+ spec.email = ["snatarajan@instructure.com"]
11
+
12
+ spec.summary = %q{Library to create custom course, catalog.}
13
+ spec.description = %q{Library to create custom course, catalog.}
14
+ spec.homepage = "https://github.com/babababili/japanda"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ # if spec.respond_to?(:metadata)
20
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
+ # else
22
+ # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ # end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_development_dependency "bundler", "~> 1.10.5"
31
+ spec.add_development_dependency "rake", "~> 10.0"
32
+ spec.add_development_dependency "rspec"
33
+ # spec.add_development_dependency "rest-client"
34
+ # spec.add_development_dependency "deep_merge"
35
+ spec.add_dependency "deep_merge"
36
+ spec.add_dependency "rest-client"
37
+ spec.add_dependency "dotenv"
38
+
39
+ end
@@ -0,0 +1,31 @@
1
+ # assignment class
2
+ module CanvasFactory
3
+ class Assignment
4
+ attr_reader :assignments
5
+
6
+ def add_assignments(opts)
7
+ @assignments = []
8
+ opts[:module][:assignment][:size].times do |i|
9
+ @assignments << add_assignment(opts, i)
10
+ end
11
+ end
12
+
13
+ def add_assignment(opts, i)
14
+ body = {
15
+ assignment: {
16
+ name: "Assignment-#{i}-#{Time.now.to_i}",
17
+ grading_type: %w(pass_fail percent letter_grade gpa_scale points).sample,
18
+ submission_types: ['online_text_entry'],
19
+ points_possible: 10,
20
+ due_at: (DateTime.now + 1).iso8601,
21
+ published: true
22
+ }
23
+ }
24
+ body.deep_merge!(opts[:assignment_options]) unless opts[:assignment_options].nil?
25
+
26
+ assign_end_point = "#{CANVAS_API_V1}/courses/#{opts[:course_id]}/assignments"
27
+ response = RestClient.post assign_end_point, body, CANVAS_AUTH_HEADER
28
+ JSON.parse(response)
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,55 @@
1
+ # canvas course class
2
+ module CanvasFactory
3
+ class Course
4
+ attr_reader :course_response, :modules, :sections
5
+
6
+ def initialize(opts = {})
7
+ @options = {
8
+ name: 'catauto',
9
+ module: {
10
+ size: 1,
11
+ assignment:
12
+ { size: 2 }
13
+ },
14
+ section: { size: 3 }
15
+ }.update(opts)
16
+
17
+ add_a_course @options
18
+ add_modules(@options)
19
+ add_sections(@options)
20
+ end
21
+
22
+ def add_sections(opts)
23
+ s = CanvasFactory::Section.new
24
+ s.create_multiple_sections(opts)
25
+ @sections = s.sections
26
+ end
27
+
28
+ def add_modules(opts)
29
+ m = CanvasFactory::Module.new
30
+ m.create_modules(opts)
31
+ @modules = m.modules
32
+ end
33
+
34
+ def add_a_course(opts = {})
35
+ name = "#{opts[:name]}#{SecureRandom.hex}"
36
+ body = {
37
+ account_id: CANVAS_ACCOUNT_ID,
38
+ course: {
39
+ name: name,
40
+ course_code: name,
41
+ start_at: Time.now,
42
+ end_at: Time.now + (30 * 24 * 60 * 60)
43
+ },
44
+ offer: true
45
+ }
46
+ body.deep_merge!(opts[:course_options]) unless opts[:course_options].nil?
47
+
48
+ course_end_point = "#{CANVAS_API_V1}/accounts/#{CANVAS_ACCOUNT_ID}/courses"
49
+ response = RestClient.post course_end_point, body, CANVAS_AUTH_HEADER
50
+ @course_response = JSON.parse(response)
51
+ fail 'create canvas course failed' unless @course_response['workflow_state'].eql? 'available'
52
+ @options[:course_id] = @course_response['id']
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,46 @@
1
+ # canvas module class
2
+ module CanvasFactory
3
+ class Module
4
+ attr_reader :modules
5
+
6
+ def create_modules(opts)
7
+ @modules = []
8
+ opts[:module][:size].times do
9
+ @modules << create_module_add_item_publish(opts)
10
+ end
11
+ @modules
12
+ end
13
+
14
+ def create_module_add_item_publish(opts)
15
+ body = {
16
+ module: {
17
+ name: "Course-Module-#{Time.now.to_i}",
18
+ unlock_at: DateTime.now.iso8601,
19
+ require_sequential_progress: true
20
+ }
21
+ }
22
+ body.deep_merge!(opts[:module_options]) unless opts[:module_options].nil?
23
+
24
+ m_item_end_point = "#{CANVAS_API_V1}/courses/#{opts[:course_id]}/modules"
25
+ response = RestClient.post m_item_end_point, body, CANVAS_AUTH_HEADER
26
+ m = JSON.parse(response)
27
+
28
+ mi = CanvasFactory::ModuleItem.new
29
+ mi.add_module_items(m['id'], opts)
30
+
31
+ update_module opts[:course_id], m['id']
32
+ { module: m, module_items: mi.module_items }
33
+ end
34
+
35
+ def update_module(course_id, module_id)
36
+ body = {
37
+ module: {
38
+ published: true
39
+ }
40
+ }
41
+ m_p_end_point = "#{CANVAS_API_V1}/courses/#{course_id}/modules/#{module_id}"
42
+ response = RestClient.put m_p_end_point, body, CANVAS_AUTH_HEADER
43
+ JSON.parse(response)
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,31 @@
1
+ # canvas module_item class
2
+ module CanvasFactory
3
+ class ModuleItem
4
+ attr_reader :module_items
5
+
6
+ def add_module_items(module_id, opts)
7
+ @module_items = []
8
+ aa = CanvasFactory::Assignment.new
9
+ aa.add_assignments(opts)
10
+ aa.assignments.each do |a|
11
+ @module_items << add_module_item(module_id, 'Assignment', a['id'], opts)
12
+ end
13
+ end
14
+
15
+ def add_module_item(m_id, module_item_type, item_content_id, opts)
16
+ body = {
17
+ module_item: {
18
+ title: "mod-#{module_item_type}-#{item_content_id}",
19
+ type: module_item_type,
20
+ content_id: item_content_id,
21
+ completion_requirement: {
22
+ type: 'must_view'
23
+ }
24
+ }
25
+ }
26
+ m_i = "#{CANVAS_API_V1}/courses/#{opts[:course_id]}/modules/#{m_id}/items"
27
+ response = RestClient.post m_i, body, CANVAS_AUTH_HEADER
28
+ JSON.parse(response)
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,22 @@
1
+ # canvas section class
2
+ module CanvasFactory
3
+ class Section
4
+ attr_reader :sections
5
+
6
+ def create_multiple_sections(opts)
7
+ @sections = []
8
+ opts[:section][:size].times do |i|
9
+ body = {
10
+ course_section: {
11
+ name: "section-#{i}-#{Time.now.to_i}"
12
+ }
13
+ }
14
+
15
+ body.deep_merge!(opts[:section_options]) unless opts[:section_options].nil?
16
+ section_end_point = "#{CANVAS_API_V1}/courses/#{opts[:course_id]}/sections"
17
+ response = RestClient.post section_end_point, body, CANVAS_AUTH_HEADER
18
+ @sections << JSON.parse(response)
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,28 @@
1
+ # canvas user class
2
+ module CanvasFactory
3
+ class User
4
+ attr_reader :user_response, :user_response_id, :user_response_email_id, :user_short_name, :user_password
5
+ def initialize
6
+ end
7
+
8
+ def create_catalog_user(user_config)
9
+ user_config.set_up_user_hash
10
+ body = user_config.config_user_hash
11
+ user_end_point = "#{Japanda::CANVAS_API_V1}/accounts/#{Japanda::CANVAS_ACCOUNT_ID}/users"
12
+ response = RestClient.post user_end_point, body, Japanda::CANVAS_AUTH_HEADER
13
+ @user_response = JSON.parse(response)
14
+ @user_response_id = @user_response['id']
15
+ @user_response_email_id = @user_response['login_id']
16
+ @user_short_name = user_config.config_user_hash[:user][:short_name]
17
+ @user_password = user_config.config_user_hash[:pseudonym][:password]
18
+ end
19
+
20
+ def create_admin_user(user_config)
21
+ create_catalog_user user_config
22
+ user_config.set_up_admin_hash(@user_response['id'].to_i)
23
+ body = user_config.config_admin_hash
24
+ a_end_point = "#{Japanda::CANVAS_API_V1}/accounts/#{Japanda::CANVAS_ACCOUNT_ID}/admins"
25
+ RestClient.post a_end_point, body, Japanda::CANVAS_AUTH_HEADER
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,41 @@
1
+ module CanvasFactory
2
+ class UserConfig
3
+ attr_reader :config_user_hash, :config_admin_hash
4
+ attr_writer :email_prefix, :password, :short_name, :terms_of_use, :send_confirmation, :force_validations, :role_id, :email_id
5
+
6
+ def initialize
7
+ @email_prefix = 'catauto'
8
+ @password = 'Testing01'
9
+ @short_name = 'cat auto'
10
+ @terms_of_use = '1'
11
+ @send_confirmation = true
12
+ @force_validations = true
13
+ @email_id = "#{@email_prefix}#{SecureRandom.hex}@example.com"
14
+ @role_id = 'AccountAdmin'
15
+ end
16
+
17
+ def set_up_user_hash
18
+ @config_user_hash = {
19
+ user: {
20
+ name: @email_id,
21
+ short_name: @short_name,
22
+ terms_of_use: @terms_of_use,
23
+ send_confirmation: @send_confirmation
24
+ },
25
+ pseudonym: {
26
+ unique_id: @email_id,
27
+ password: @password
28
+ },
29
+ force_validations: @force_validations
30
+ }
31
+ end
32
+
33
+ def set_up_admin_hash(id)
34
+ @config_admin_hash = {
35
+ user_id: id,
36
+ role_id: @role_id,
37
+ send_confirmation: @send_confirmation
38
+ }
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,61 @@
1
+ # add course and program to catalog
2
+ module CatalogFactory
3
+ class CourseProgram
4
+ attr_reader :catalog_response, :course, :certificate_response
5
+
6
+ def initialize
7
+ @auth_token_content = {
8
+ Authorization: "Token token=#{GALLERY_API_TOKEN}",
9
+ content_type: 'application/json'
10
+ }
11
+ end
12
+
13
+ def add_course_to_catalog(canvas_options = {}, catalog_options = {})
14
+ @course = CanvasFactory::Course.new(canvas_options)
15
+ add_to_catalog(@course, catalog_options)
16
+ end
17
+
18
+ def add_to_catalog(canvas_course, opts = {})
19
+ @course = canvas_course
20
+ course_response = @course.course_response
21
+ body = {
22
+ course: {
23
+ title: course_response['name'],
24
+ description: 'created by api for testing',
25
+ path: course_response['name'],
26
+ canvas_course_id: course_response['id'],
27
+ teaser: 'created by api for testing',
28
+ enrollment_open: true,
29
+ visibility: 'listed',
30
+ enrollment_cap: 12,
31
+ enrollment_fee: 0.99,
32
+ days_to_complete: 45
33
+ }
34
+ }
35
+ body.deep_merge!(opts[:catalog_options]) unless opts[:catalog_options].nil?
36
+
37
+ course_end_point = "#{GALLERY_API_HOST}/api/v1/courses"
38
+ response = RestClient.post course_end_point, body, @auth_token_content
39
+ @catalog_response = JSON.parse(response)['course']
40
+ add_certificate @catalog_response['id'], opts
41
+ end
42
+
43
+ def add_certificate(catalog_id, opts = {})
44
+ body = {
45
+ certificate: {
46
+ listing_id: catalog_id,
47
+ name: 'test api certificate',
48
+ template: 'Description test api certificate',
49
+ pdf_settings: {
50
+ orientation: %w(Landscape Portrait).sample
51
+ }
52
+ }
53
+ }
54
+ body.deep_merge!(opts[:certificate_options]) unless opts[:certificate_options].nil?
55
+
56
+ new_course_end_point = "#{GALLERY_API_HOST}/api/v1/certificates"
57
+ response = RestClient.post new_course_end_point, body, @auth_token_content
58
+ @certificate_response = JSON.parse(response)
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,16 @@
1
+ require 'japanda/version'
2
+ require 'securerandom'
3
+ require 'dotenv'
4
+
5
+ module Japanda
6
+ Dotenv.load
7
+ CANVAS_USER_DOMAIN ||= ENV['CANVAS_USER_DOMAIN']
8
+ CANVAS_API_V1 ||= "#{ENV['CANVAS_API_HOST']}/api/v1"
9
+ CANVAS_AUTH_HEADER ||= {
10
+ Authorization: "Bearer #{ENV['CANVAS_API_TOKEN']}",
11
+ content_type: 'application/json'
12
+ }
13
+ CANVAS_ACCOUNT_ID ||= ENV['CANVAS_ACCOUNT_ID']
14
+ GALLERY_API_TOKEN ||= ENV['GALLERY_API_TOKEN']
15
+ GALLERY_API_HOST = ENV['GALLERY_API_HOST']
16
+ end
@@ -0,0 +1,3 @@
1
+ module Japanda
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,149 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: japanda
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Santosh Natarajan
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-09-15 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.10.5
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.10.5
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: deep_merge
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
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
+ - !ruby/object:Gem::Dependency
84
+ name: dotenv
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: Library to create custom course, catalog.
98
+ email:
99
+ - snatarajan@instructure.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".travis.yml"
107
+ - CODE_OF_CONDUCT.md
108
+ - Gemfile
109
+ - LICENSE.txt
110
+ - README.md
111
+ - Rakefile
112
+ - bin/console
113
+ - bin/setup
114
+ - japanda.gemspec
115
+ - lib/canvas_factory/assignment.rb
116
+ - lib/canvas_factory/course.rb
117
+ - lib/canvas_factory/module.rb
118
+ - lib/canvas_factory/module_item.rb
119
+ - lib/canvas_factory/section.rb
120
+ - lib/canvas_factory/user.rb
121
+ - lib/canvas_factory/user_config.rb
122
+ - lib/catalog_factory/course_program.rb
123
+ - lib/japanda.rb
124
+ - lib/japanda/version.rb
125
+ homepage: https://github.com/babababili/japanda
126
+ licenses:
127
+ - MIT
128
+ metadata: {}
129
+ post_install_message:
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ requirements: []
144
+ rubyforge_project:
145
+ rubygems_version: 2.4.5
146
+ signing_key:
147
+ specification_version: 4
148
+ summary: Library to create custom course, catalog.
149
+ test_files: []