code_school_course 2.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +67 -0
- data/lib/code_school_course.rb +8 -0
- metadata +145 -0
data/README.md
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
# CodeSchoolCourse
|
2
|
+
|
3
|
+
This code_school_course gem is a "source" gem for all of the gems we use
|
4
|
+
to create courses. These gems include:
|
5
|
+
|
6
|
+
* **codeschool-client** talks to codeschool.com over http
|
7
|
+
* **codeschool-engine** provides the Rails::Engine that powers much of the course
|
8
|
+
* **codeschool-httprunner** run lessons over http
|
9
|
+
* **codeschool-lesson** the DSL for creating challenges
|
10
|
+
* **codeschool-omniauth** the OmniAuth strategy for logging into codeschool.com
|
11
|
+
|
12
|
+
## Installation
|
13
|
+
|
14
|
+
Add this line to your application's Gemfile:
|
15
|
+
|
16
|
+
gem 'code_school_course'
|
17
|
+
|
18
|
+
If you want to use this gem from github, you have to do this:
|
19
|
+
|
20
|
+
gem 'code_school_course', github: 'envylabs/code_school_course' do
|
21
|
+
gem 'codeschool-client'
|
22
|
+
gem 'codeschool-engine'
|
23
|
+
gem 'codeschool-httprunner'
|
24
|
+
gem 'codeschool-lesson'
|
25
|
+
gem 'codeschool-omniauth'
|
26
|
+
end
|
27
|
+
|
28
|
+
And then execute:
|
29
|
+
|
30
|
+
$ bundle
|
31
|
+
|
32
|
+
Or install it yourself as:
|
33
|
+
|
34
|
+
$ gem install code_school_course
|
35
|
+
|
36
|
+
## Usage
|
37
|
+
|
38
|
+
For usage, check out the example rails application included in the repo under ROOT/rails_app. Some files of note:
|
39
|
+
|
40
|
+
* Gemfile
|
41
|
+
* config/application.rb
|
42
|
+
* config/initializers/code_school_course.rb
|
43
|
+
* config/code_school_course.yml
|
44
|
+
* lib/lessons/lab1/one.rb
|
45
|
+
* lib/lessons/lesson/course.rb
|
46
|
+
* db/seeds.rb
|
47
|
+
|
48
|
+
## Contributing
|
49
|
+
|
50
|
+
1. Fork it
|
51
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
52
|
+
3. Update the `rails_app` to reflect any changes made.
|
53
|
+
4. Commit your changes (`git commit -am 'Add some feature'`)
|
54
|
+
5. Push to the branch (`git push origin my-new-feature`)
|
55
|
+
6. Create new Pull Request
|
56
|
+
|
57
|
+
## Releasing
|
58
|
+
|
59
|
+
Update any CHANGELOG.md file in the individual gems for which you've made changes. Commit the CHANGELOG
|
60
|
+
and an update to CODE_SCHOOL_COURSE_VERSION in the same commit, and use the commit message template:
|
61
|
+
|
62
|
+
`git commit -m "Up to version <version #>"`
|
63
|
+
|
64
|
+
Once everything is committed and pushed, and you are ready to release a new version of the gem
|
65
|
+
to our Gemfury server, just run `rake tag_and_release` from the root directory. Make sure you
|
66
|
+
have the `external-services@codeschool.com` Gemfury credentials. For more information on how
|
67
|
+
to get setup with Gemfury, read [this](https://github.com/envylabs/CodeSchool/wiki/Setting-up-Gemfury).
|
metadata
ADDED
@@ -0,0 +1,145 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: code_school_course
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.1.7
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Eric Allam
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-11-25 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: codeschool-engine
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - '='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 2.1.7
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - '='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.1.7
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: codeschool-lesson
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - '='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 2.1.7
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - '='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 2.1.7
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: codeschool-httprunner
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - '='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 2.1.7
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.1.7
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: codeschool-omniauth
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - '='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 2.1.7
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - '='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 2.1.7
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: codeschool-client
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - '='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 2.1.7
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - '='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 2.1.7
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: activesupport
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 3.0.0
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 3.0.0
|
110
|
+
description: Code School course framework
|
111
|
+
email:
|
112
|
+
- rubymaverick@gmail.com
|
113
|
+
executables: []
|
114
|
+
extensions: []
|
115
|
+
extra_rdoc_files: []
|
116
|
+
files:
|
117
|
+
- README.md
|
118
|
+
- lib/code_school_course.rb
|
119
|
+
homepage: http://www.codeschool.com
|
120
|
+
licenses: []
|
121
|
+
post_install_message:
|
122
|
+
rdoc_options: []
|
123
|
+
require_paths:
|
124
|
+
- lib
|
125
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
none: false
|
127
|
+
requirements:
|
128
|
+
- - ! '>='
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 1.9.3
|
131
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
133
|
+
requirements:
|
134
|
+
- - ! '>='
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: 1.8.11
|
137
|
+
requirements:
|
138
|
+
- none
|
139
|
+
rubyforge_project:
|
140
|
+
rubygems_version: 1.8.24
|
141
|
+
signing_key:
|
142
|
+
specification_version: 3
|
143
|
+
summary: Code School Course is a collection of gems that together allows you to build
|
144
|
+
courses for CodeSchool.com
|
145
|
+
test_files: []
|