coursemology-polyglot 0.3.5 → 0.3.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d195d66ade34ffe3baa6509345011f481c5750d4279fda4994bc92754d89b61d
4
- data.tar.gz: 5f586f4d167f58c30bf6596c74ab2425d127fd0e1b6357b70349462faf1b6176
3
+ metadata.gz: 2c23bcb8ffbf90568e62cc479ddaa4e5ebaa69debcc58550b6f85aeb76ebf143
4
+ data.tar.gz: 25510ea3b6b0b8511de17d9312e59a96867425141b88e80ece256381c0fab7a6
5
5
  SHA512:
6
- metadata.gz: bd10222fa88cdee62fa4809b6c541ef1815b277f1e745e7ad5a774d3cba852d23b897aef1896486993596c4f63ba4ad5c01c751d9ac738c60f298140a6d2fbe9
7
- data.tar.gz: 789392f09e89d21cd59a7d93bf41df08be1b85cbc414b986d6be6037beac3f4342b22f8ced6a87abb59907f070b13f41c7de0110051dad021285ac65080bfaea
6
+ metadata.gz: 5f8e6873c402ab15cdfec58c413d0b01de03645fc88f4cede15514b04866081e17a17796d92fbbd6edfa0573ddbd7e89caf0634546c14e32ee1b61cdbd63e99b
7
+ data.tar.gz: 92fc3a582c491ed31799583aba9c152b3e71383eab13325482fbf7a3509de7a8ceba8d94b099586cf824bf49360882c4bed4f4e42d952ff2e72b3e2f0d0a90b2
data/.gitignore CHANGED
@@ -20,3 +20,6 @@
20
20
  .idea/modules.xml
21
21
  .idea/misc.xml
22
22
  .idea/inspectionProfiles/Project_Default.xml
23
+
24
+ # Ignore Ruby version
25
+ .ruby-version
data/.hound.yml CHANGED
@@ -1,8 +1,8 @@
1
- ruby:
2
- config_file: .rubocop.yml
1
+ fail_on_violations: true
3
2
 
4
- java_script:
5
- config_file: .jshintrc
3
+ rubocop:
4
+ config_file: .rubocop.yml
5
+ version: 1.22.1
6
6
 
7
- scss:
8
- config_file: .scss-lint.yml
7
+ javascript:
8
+ enabled: false
data/.rubocop.unhound.yml CHANGED
@@ -100,10 +100,10 @@ Style/WhenThen:
100
100
  Lint/EachWithObjectArgument:
101
101
  Enabled: true
102
102
 
103
- Lint/HandleExceptions:
103
+ Lint/SuppressedException:
104
104
  Enabled: true
105
105
 
106
- Lint/LiteralInCondition:
106
+ Lint/LiteralAsCondition:
107
107
  Description: Checks of literals used in conditions.
108
108
  Enabled: true
109
109
 
data/.rubocop.yml CHANGED
@@ -6,8 +6,8 @@ AllCops:
6
6
  - '**/Gemfile'
7
7
  - '**/Rakefile'
8
8
  Exclude:
9
- - 'vendor/bundle/**/*'
10
- TargetRubyVersion: 3.0.4
9
+ - 'vendor/bundle/**/*'
10
+ TargetRubyVersion: 3.0
11
11
 
12
12
  Metrics/LineLength:
13
13
  Max: 100
@@ -21,7 +21,7 @@ Layout/DotPosition:
21
21
  Style/Documentation:
22
22
  Enabled: false
23
23
 
24
- Layout/IndentHash:
24
+ Layout/FirstHashElementIndentation:
25
25
  EnforcedStyle: consistent
26
26
 
27
27
  Style/ParallelAssignment:
@@ -35,6 +35,3 @@ Style/WordArray:
35
35
 
36
36
  Style/RegexpLiteral:
37
37
  AllowInnerSlashes: true
38
-
39
- Style/ClassAndModuleChildren:
40
- EnforcedStyle: compact
data/README.md CHANGED
@@ -44,3 +44,13 @@ The SQL command below summarizes the necessary changes, to be run *right before*
44
44
  ```
45
45
  UPDATE polyglot_languages SET type = 'Coursemology::Polyglot::Language::Java::Java8', name = 'Java 8' where type = 'Coursemology::Polyglot::Language::Java';
46
46
  ```
47
+
48
+ ### Updating the gem
49
+
50
+ You will need the login credentials for `coursemology` to push the updated gem to [rubygems](https://rubygems.org/gems/coursemology-polyglot).
51
+
52
+ ```sh
53
+ gem build coursemology-polyglot
54
+ gem push coursemology-polyglot-<version>.gem
55
+ rm coursemology-polyglot-*.gem
56
+ ```
@@ -8,4 +8,8 @@ class Coursemology::Polyglot::Language::Java < Coursemology::Polyglot::Language
8
8
  class Java11 < Coursemology::Polyglot::Language::Java
9
9
  concrete_language 'Java 11', docker_image: 'java:11'
10
10
  end
11
+
12
+ class Java17 < Coursemology::Polyglot::Language::Java
13
+ concrete_language 'Java 17', docker_image: 'java:17'
14
+ end
11
15
  end
@@ -29,4 +29,8 @@ class Coursemology::Polyglot::Language::Python < Coursemology::Polyglot::Languag
29
29
  class Python3Point10 < Coursemology::Polyglot::Language::Python
30
30
  concrete_language 'Python 3.10', docker_image: 'python:3.10'
31
31
  end
32
+
33
+ class Python3Point10 < Coursemology::Polyglot::Language::Python
34
+ concrete_language 'Python 3.12', docker_image: 'python:3.12'
35
+ end
32
36
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module Coursemology; end
3
3
  module Coursemology::Polyglot
4
- VERSION = '0.3.5'.freeze
4
+ VERSION = '0.3.7'.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.3.5
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Low
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-16 00:00:00.000000000 Z
11
+ date: 2024-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -156,7 +156,7 @@ homepage: https://github.com/Coursemology/polyglot
156
156
  licenses:
157
157
  - MIT
158
158
  metadata: {}
159
- post_install_message:
159
+ post_install_message:
160
160
  rdoc_options: []
161
161
  require_paths:
162
162
  - lib
@@ -171,9 +171,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0'
173
173
  requirements: []
174
- rubyforge_project:
175
- rubygems_version: 2.7.6
176
- signing_key:
174
+ rubygems_version: 3.1.2
175
+ signing_key:
177
176
  specification_version: 4
178
177
  summary: Coursemology polyglot definitions
179
178
  test_files: []