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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ree/cli/index_file.rb +9 -0
- data/lib/ree/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c850629eb37529ff5081fa234a60811a34ba53c4611afa24574e176e74b11f4
|
4
|
+
data.tar.gz: a5f193108e82c4bdda43e6687aa5083c504bc441a0f38f77dfe8b3cb142b8d33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18c39d27e8e964b8c3601255e77a6aba3f82c5eedaea7e3bfc1ca89cc6282b5268e5a50f29f60139fa572d45b0ba1d6d34b8f3589704160db9a090c1597523d9
|
7
|
+
data.tar.gz: e0d8991e32a32d2f5cb186c09943152bbd2766fd5975d54bbc1d4065bf936c316b26e355a55ddeb709b985eb9faa8626711ff6cb18777b1da2da592488ba944e
|
data/Gemfile.lock
CHANGED
data/lib/ree/cli/index_file.rb
CHANGED
@@ -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
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.
|
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:
|
11
|
+
date: 2023-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|