exercism-config 0.34.0 → 0.35.0

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: c6c93d718c479cead5ea36377db1541016e034eb5b17206b0f695cfe24f24eea
4
- data.tar.gz: 91aab15bd0f4ea427b405a445d97f1a43977bc4ae4b7c7201a5f6591af4a697b
3
+ metadata.gz: 401b3183f0a461e800f197b80dc749b27f5b510dd2c5d0d5dbd4db5b05fd43b8
4
+ data.tar.gz: 966a7406de8ab62637608ee07001d22bc085170f183202919d655f8f5c3b3d3b
5
5
  SHA512:
6
- metadata.gz: 11d380541f4e3da3fbb7cb76870c278d3e9935a7dc2d173e77f327c473a6995e894ff123024806c6c8a1e3ac44027237c5b60be2236c625bb6de78f0a36ea2c5
7
- data.tar.gz: a2d1d45a4a513b31285babc87cc67c98b962db3e739e2661b9d51caeb889e7d93ebdb021b2ff5fe74ba35d9d798e5fdbed1a3e99536d0fb559774b18e1df315e
6
+ metadata.gz: 6085bfd7a01d9470a55efd75d9bce1ec11f2855651eabcc20becbd974776298cb38c6b110742e5769c40e906b44954c84e3e74c9221c4644673b91126d591168
7
+ data.tar.gz: 5ae15d20611d6a2b225a004efd57308c4fe5dfa41a49ea3e4c0d5b64662fc785808e7f635eb41d5a496c13bd483099f26b285c2c3ec5a5b91b8f30dde6ffcdd3
data/.gitignore CHANGED
@@ -9,4 +9,4 @@
9
9
  node_modules/
10
10
  Gemfile.lock
11
11
 
12
- exercism_config-*.gem
12
+ exercism-config-*.gem
@@ -74,6 +74,10 @@ Style/ZeroLengthPredicate:
74
74
  Style/ClassAndModuleChildren:
75
75
  Enabled: false
76
76
 
77
+ Naming/FileName:
78
+ Exclude:
79
+ - "lib/exercism-config.rb"
80
+
77
81
  Naming/VariableNumber:
78
82
  EnforcedStyle: snake_case
79
83
 
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  ![Tests](https://github.com/exercism/config/workflows/Tests/badge.svg)
4
4
  [![Maintainability](https://api.codeclimate.com/v1/badges/513edbd6599a2de3218d/maintainability)](https://codeclimate.com/github/exercism/config/maintainability)
5
5
  [![Test Coverage](https://api.codeclimate.com/v1/badges/513edbd6599a2de3218d/test_coverage)](https://codeclimate.com/github/exercism/config/test_coverage)
6
- [![Gem Version](https://badge.fury.io/rb/exercism_config.svg)](https://badge.fury.io/rb/exercism_config)
6
+ [![Gem Version](https://badge.fury.io/rb/exercism-config.svg)](https://badge.fury.io/rb/exercism-config)
7
7
 
8
8
  When terraform creates Exercism's infrastructure, it writes endpoints and DNS entries to DynamoDB.
9
9
  This gem allows you to trivially retrieve that data.
@@ -17,10 +17,9 @@ Simply include this gem in your Gemfile, require it, and then refer to the objec
17
17
 
18
18
  ```ruby
19
19
  # Gemfile
20
- gem 'exercism_config'
20
+ gem 'exercism-config'
21
21
 
22
22
  # Your code
23
- require 'exercism_config'
23
+ require 'exercism-config'
24
24
  ExercismConfig.config.webservers_alb_dns_name
25
25
  ```
26
-
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'bundler/setup'
4
- require 'exercism_config'
4
+ require 'exercism-config'
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -1,4 +1,4 @@
1
1
  #!/bin/bash
2
2
 
3
- git diff --name-status --staged | grep '^[MA]' | grep -o '\\s\\+.*rb' | xargs bundle exec rubocop --except Metrics --auto-correct --format quiet --force-exclusion lib/exercism_config.rb && \
3
+ git diff --name-status --staged | grep '^[MA]' | grep -o '\\s\\+.*rb' | xargs bundle exec rubocop --except Metrics --auto-correct --format quiet --force-exclusion lib/exercism-config.rb && \
4
4
  git diff --name-status --staged | grep '^[MA]' | grep -o '\\s\\+.*rb' | xargs git add
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'bundler/setup'
4
- require 'exercism_config'
4
+ require 'exercism-config'
5
5
  require 'erb'
6
6
  require 'yaml'
7
7
 
@@ -17,7 +17,7 @@ def create_table(client)
17
17
  attribute_definitions: [
18
18
  {
19
19
  attribute_name: 'id',
20
- attribute_type: 'S'
20
+ attribute_type: 'S'
21
21
  }
22
22
  ],
23
23
  key_schema: [
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require "bundler/setup"
3
- require "exercism_config"
3
+ require "exercism-config"
4
4
 
5
5
  # Only allow this to run in development
6
6
  return unless Exercism.environment == :development
@@ -1,3 +1,3 @@
1
1
  module ExercismConfig
2
- VERSION = '0.34.0'.freeze
2
+ VERSION = '0.35.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exercism-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Walker