ree 1.0.12 → 1.0.14

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: d37096dd01ecabedafbd59683f3c0f6d867b8a41b82ee60630b9164bd2455d91
4
- data.tar.gz: c87aac73ee549100e17b233d73b91b4f473b52dca803e9fa47237e3e25a7c9bd
3
+ metadata.gz: 2c850629eb37529ff5081fa234a60811a34ba53c4611afa24574e176e74b11f4
4
+ data.tar.gz: a5f193108e82c4bdda43e6687aa5083c504bc441a0f38f77dfe8b3cb142b8d33
5
5
  SHA512:
6
- metadata.gz: cb297cb39724d3b436cda7e327b7b39cc979208abfd50fa4b39b4a0ccf756218af253d412fd9523cef14daffac1601031f37a2e10579637f14a573ef5cb2f22a
7
- data.tar.gz: 12ae484d56f55e9058c800fffa9030c33fcb6968007eaa3502f3db06b4e3aa98131f1597becf424f177ddcc3e19dfdc366909384601eb9c84154286d65da49a1
6
+ metadata.gz: 18c39d27e8e964b8c3601255e77a6aba3f82c5eedaea7e3bfc1ca89cc6282b5268e5a50f29f60139fa572d45b0ba1d6d34b8f3589704160db9a090c1597523d9
7
+ data.tar.gz: e0d8991e32a32d2f5cb186c09943152bbd2766fd5975d54bbc1d4065bf936c316b26e355a55ddeb709b985eb9faa8626711ff6cb18777b1da2da592488ba944e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ree (1.0.12)
4
+ ree (1.0.14)
5
5
  commander (~> 4.6.0)
6
6
 
7
7
  GEM
@@ -25,6 +25,15 @@ module Ree
25
25
  Ree.load_package(current_package_name)
26
26
 
27
27
  package = facade.get_package(current_package_name)
28
+
29
+ files = Dir[
30
+ File.join(
31
+ Ree::PathHelper.abs_package_module_dir(package), '**/*.rb'
32
+ )
33
+ ]
34
+
35
+ return {} if !files.include?(file_path)
36
+
28
37
  objects_class_names = package.objects.map(&:class_name)
29
38
  file_name_const_string = Ree::StringUtils.camelize(file_path.split('/')[-1].split('.rb')[0])
30
39
  const_string_with_module = "#{package.module}::#{file_name_const_string}"
data/lib/ree/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ree
4
- VERSION = "1.0.12"
4
+ VERSION = "1.0.14"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ree
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruslan Gatiyatov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-05 00:00:00.000000000 Z
11
+ date: 2023-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander