coursemology-polyglot 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2e5d78706ad0ba90321ed18e3343a16ed92b6ce
4
- data.tar.gz: 43bf5c1c1f0344a142ec0f6bd93390a4b2c2279a
3
+ metadata.gz: 9e9d5cfdb23657b2f6e90d2f503ea89654d56aba
4
+ data.tar.gz: 3e8ba5daaf0b543af6437a8155beda55c1e7b32c
5
5
  SHA512:
6
- metadata.gz: f4da11d885fec2bd22326d599c0c2c3df8a18c0e63711518412ec01ccf347b8751cb381acd71313b554aa9c5c57c63857eaf5be2e4a925c1b806f0ac77340811
7
- data.tar.gz: 7af2bec3bcf317a67d4ba9e701cfe5c75f57a5c75d4bdc39af6d491ac390ab0f2d8f6e7cfdc8b63e8b493699c0f96b049151c3fb58edc8646e97a3542829d83d
6
+ metadata.gz: cba94d4f92fedeac6481e9ebe046dad37d1dc4e597bc7341fe6ed945d1433fe9aecfdc5b8bddb45517c81eba40709f197c31fa4a6919ee8b809fd2f40c1b2466
7
+ data.tar.gz: 5a79cb30c956efaba11d2e340d2693b4f44300e503c52df1288216224575eeebd2e5073ebfafede87370e5fb4dc8012d7ebab38677c5497bc6b77b155a94d837
@@ -27,6 +27,7 @@ class Coursemology::Polyglot::Language
27
27
  eager_autoload do
28
28
  autoload :Python
29
29
  autoload :JavaScript
30
+ autoload :CPlusPlus
30
31
  end
31
32
 
32
33
  # Marks the current class as a concrete language.
@@ -0,0 +1,4 @@
1
+ class Coursemology::Polyglot::Language::CPlusPlus < Coursemology::Polyglot::Language
2
+ syntax_highlighter 'cpp'
3
+ concrete_language 'C/C++', docker_image: 'c_cpp'
4
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module Coursemology; end
3
3
  module Coursemology::Polyglot
4
- VERSION = '0.2.5'.freeze
4
+ VERSION = '0.2.6'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coursemology-polyglot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Low
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-27 00:00:00.000000000 Z
11
+ date: 2017-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -160,6 +160,7 @@ files:
160
160
  - lib/coursemology/polyglot/concrete_language/class_methods.rb
161
161
  - lib/coursemology/polyglot/engine.rb
162
162
  - lib/coursemology/polyglot/language.rb
163
+ - lib/coursemology/polyglot/language/c_plus_plus.rb
163
164
  - lib/coursemology/polyglot/language/java_script.rb
164
165
  - lib/coursemology/polyglot/language/python.rb
165
166
  - lib/coursemology/polyglot/version.rb