soa_codeschool 0.0.2 → 0.0.3
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 +4 -4
- data/Gemfile +0 -2
- data/README.md +11 -1
- data/bin/codeschool +1 -1
- data/codeschool.gemspec +4 -4
- data/lib/{code_school.rb → code_school/code_school.rb} +0 -0
- data/lib/code_school/version.rb +5 -0
- data/lib/{scrape.rb → soa_codeschool.rb} +1 -1
- data/spec/code_school_spec.rb +1 -1
- metadata +13 -13
- data/lib/version.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04c067f1138525f5fe6480b5110a284eea3a34c8
|
4
|
+
data.tar.gz: 3c9f4ec4610049d444c486eaee5d115e15d92cc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d4be46c79fa97914cb57af41f8683e9abf3b2fe99f6e6a8e4f7fa30ee9ce351cdd3892d6b27cf8146e9e7e0a753ed1ea260693aea61f18885be0bb183831bb5
|
7
|
+
data.tar.gz: 7e84ea430a5c8311a20d2cd7e19b938d86a21639ea14ca29b0f50075d91139b0080def892065b98448032445d82ca5833c025cb70a6faf3f8d10dff23cd02789
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -15,7 +15,17 @@ gem install soa_codeschool
|
|
15
15
|
### Command line usage
|
16
16
|
|
17
17
|
```
|
18
|
-
|
18
|
+
soa_codeschool # Puts JSON array of code school courses and teachers to command line
|
19
|
+
```
|
20
|
+
|
21
|
+
### Usage in ruby code
|
22
|
+
```
|
23
|
+
require 'soa_codeschool'
|
24
|
+
|
25
|
+
code_school = SiteScraper.new
|
26
|
+
code_school.course_names # Returns array of course names
|
27
|
+
code_school.code_school_data # Returns JSON array of code school courses and teachers
|
28
|
+
code_school.code_school_output # Puts JSON array of code school courses and teachers
|
19
29
|
```
|
20
30
|
|
21
31
|
## License
|
data/bin/codeschool
CHANGED
data/codeschool.gemspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
|
2
|
-
require 'version'
|
2
|
+
require 'code_school/version'
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'soa_codeschool'
|
@@ -8,9 +8,9 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.executables << 'codeschool'
|
9
9
|
s.summary = 'Access teacher and course information on CodeSchool'
|
10
10
|
s.description = 'show course and teacher on codeschool'
|
11
|
-
s.authors = %w(
|
12
|
-
s.email = %w(
|
13
|
-
|
11
|
+
s.authors = %w(stozuka, stonegold546, huangjr, pengyuchen)
|
12
|
+
s.email = %w(stozuka@gmail.com, stonegold546@gmail.com,
|
13
|
+
jr@nlplab.cc, pengyu@gmail.com)
|
14
14
|
s.files = `git ls-files`.split("\n")
|
15
15
|
s.test_files = `git ls-files spec/*`.split("\n")
|
16
16
|
s.homepage = 'https://github.com/SOAupstart2/Team-HW-1-Ideate-and-Scrape'
|
File without changes
|
data/spec/code_school_spec.rb
CHANGED
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soa_codeschool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
10
|
-
-
|
7
|
+
- stozuka,
|
8
|
+
- stonegold546,
|
9
|
+
- huangjr,
|
10
|
+
- pengyuchen
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-10-
|
14
|
+
date: 2015-10-24 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: minitest
|
@@ -85,10 +85,10 @@ dependencies:
|
|
85
85
|
version: '0'
|
86
86
|
description: show course and teacher on codeschool
|
87
87
|
email:
|
88
|
-
-
|
89
|
-
-
|
90
|
-
-
|
91
|
-
-
|
88
|
+
- stozuka@gmail.com,
|
89
|
+
- stonegold546@gmail.com,
|
90
|
+
- jr@nlplab.cc,
|
91
|
+
- pengyu@gmail.com
|
92
92
|
executables:
|
93
93
|
- codeschool
|
94
94
|
extensions: []
|
@@ -102,9 +102,9 @@ files:
|
|
102
102
|
- Rakefile
|
103
103
|
- bin/codeschool
|
104
104
|
- codeschool.gemspec
|
105
|
-
- lib/code_school.rb
|
106
|
-
- lib/
|
107
|
-
- lib/
|
105
|
+
- lib/code_school/code_school.rb
|
106
|
+
- lib/code_school/version.rb
|
107
|
+
- lib/soa_codeschool.rb
|
108
108
|
- spec/code_school_spec.rb
|
109
109
|
- spec/fixtures/output.json
|
110
110
|
- spec/fixtures/vcr/cassettes/codeschool.yml
|