code-ruby 0.3.0 → 0.3.1

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
  SHA256:
3
- metadata.gz: 4ad087a2b12a2284ef01385799e9f9c4b299a6946891994887579908856a0ebb
4
- data.tar.gz: 414b3a15535b0503c3739a801edfd3e68db9fa6ee9b0023fc049aa981e7ce412
3
+ metadata.gz: 1dfeedb1e668e150c3039e1cee85eee9072ea16d0f619f45e71263c8c94ae707
4
+ data.tar.gz: 1c2fb6de918462b02df14191ab14f7d27a92f0bea9113a54fa8344e7b8bab48e
5
5
  SHA512:
6
- metadata.gz: 5e24c277e43e5693003d076f8abafdafb42662c3b9b06b0f52173d3a052ef57e8f810f13ed4e6809da0b1f45eedc60c62f643a567ca8138f7bd454f6709f392b
7
- data.tar.gz: 605ba84886638a0d98ab959dd2f95842e402498d08a0a148ae88d85753c263e3d29645c9b9f6f830271e8c7ee60dff126f441a160d7467035f7b4e85b1b23b46
6
+ metadata.gz: c810a7b5a9ca1cbfc9c710e1ec615dd043dccf047fd220f35b71cf8e7fa2feab9cbf3fde9b1f31b57c690e25f5be1e71f4881a0efced0baea0b9f51e4a9abd78
7
+ data.tar.gz: 45571c9a8247d75f3c513e52dfebc4ed3e3fe527996c5a1dc8717fb740c6fa4736c6fb26da93c57a73558318f45a4bf5dc3d2ccf38b460d570b58d1171e8a776
data/CHANGELOG.md CHANGED
@@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## 0.3.0 / ?
8
+ ## 0.3.1 / 2022-10-13
9
+
10
+ - Fix Zeitwerk auto-loading issue
11
+
12
+ ## 0.3.0 / 2022-10-10
9
13
 
10
14
  - `bin/template` accepts `--timeout` (or `-t`) parameter
11
15
  - Adds `bin/code` with same options as `bin/template`
data/lib/code-ruby.rb CHANGED
@@ -3,10 +3,11 @@ require "zeitwerk"
3
3
  require "bigdecimal"
4
4
  require "active_support"
5
5
  require "active_support/core_ext/object/blank"
6
+ require "active_support/core_ext/object/deep_dup"
6
7
  require "stringio"
7
8
  require "timeout"
8
9
 
9
10
  loader = Zeitwerk::Loader.for_gem(warn_on_extra_files: false)
10
- loader.ignore(File.expand_path("lib/template-ruby.rb"))
11
- loader.ignore(File.expand_path("lib/code-ruby.rb"))
11
+ loader.ignore("#{__dir__}/template-ruby.rb")
12
+ loader.ignore("#{__dir__}/code-ruby.rb")
12
13
  loader.setup
@@ -1,3 +1,3 @@
1
1
  require_relative "../template"
2
2
 
3
- Template::Version = Gem::Version.new("0.3.0")
3
+ Template::Version = Gem::Version.new("0.3.1")
data/lib/template-ruby.rb CHANGED
@@ -8,6 +8,6 @@ require "stringio"
8
8
  require "timeout"
9
9
 
10
10
  loader = Zeitwerk::Loader.for_gem(warn_on_extra_files: false)
11
- loader.ignore(File.expand_path("lib/template-ruby.rb"))
12
- loader.ignore(File.expand_path("lib/code-ruby.rb"))
11
+ loader.ignore("#{__dir__}/template-ruby.rb")
12
+ loader.ignore("#{__dir__}/code-ruby.rb")
13
13
  loader.setup
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-10 00:00:00.000000000 Z
11
+ date: 2022-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport