evt-constant 2.1.0.0 → 2.1.0.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/constant/import.rb +1 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37688b1a76f8bdfc93bbbcd855c899a1b8a7d62f474e222f1f21e54c9190894a
4
- data.tar.gz: d524e8c0d42196c7ae0ed435cb5f12ed582b519d1e9f2e32020447bc24f860c8
3
+ metadata.gz: 17eced35f5905252a25ba020d494be512c92a9007a7958489c52248bd492b0f1
4
+ data.tar.gz: ab36e7dac2d41e40455b8eac4eb71a0bdc74ea3fac996d314992b2b5b97b5f4b
5
5
  SHA512:
6
- metadata.gz: 625602ca4e22aef84ec15503580c73df54af1b6df8b65cd7027f32d6e86de16ddc9174f59f7be511b142584e549dc287046f308e380f2fe4ebe5deb5e5884b2c
7
- data.tar.gz: e6ff42d4593cbc572b44d2382c8e221c28b87ce8e25c979836c0224f44094a9b7700e4ddaf5dc35b93b3e6f2d722be59f2d09be0284e6e1303dd28e8a76aff23
6
+ metadata.gz: ca38a280e592e840eb98e0a5df5d6b73551ca5112c9839052a5dd2f7eda2bef671444eeb844750d3bcd1a0f3d3d9bbf03319d1b1e5659fddccf2378a9fbcc0e6
7
+ data.tar.gz: 1af28935125986c0dfc6974a491e87cd04cbbac32a9245b5c04c17bf6769401ebe66b3d4ad130dac893fcc2deb2385e3cccc9c878e6b730e232c2a5f83de7260
@@ -1,7 +1,5 @@
1
1
  module Constant
2
2
  module Import
3
- Error = Class.new(RuntimeError)
4
-
5
3
  def self.included(base)
6
4
  base.extend(Macro)
7
5
  end
@@ -10,7 +8,7 @@ module Constant
10
8
  alias_name = kwargs[:alias]
11
9
 
12
10
  if alias_name.nil? && destination_constant.ancestors.include?(origin_constant)
13
- raise Error, "#{destination_constant} already includes #{origin_constant}"
11
+ raise Constant::Error, "#{destination_constant} already includes #{origin_constant}"
14
12
  end
15
13
 
16
14
  target = destination_constant
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-constant
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0.0
4
+ version: 2.1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
@@ -37,7 +37,7 @@ dependencies:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0'
40
- description: Utilities for working with constants
40
+ description: Utilities for importing constants and inspecting constants
41
41
  email: opensource@eventide-project.org
42
42
  executables: []
43
43
  extensions: []