admin_data 1.1.0 → 1.1.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.
|
@@ -27,9 +27,9 @@ module AdminData
|
|
|
27
27
|
# It is used to ensure security in the serve method
|
|
28
28
|
def self.admin_data_assets
|
|
29
29
|
@admin_data_assets ||= (
|
|
30
|
-
Dir.glob(File.join(AdminData.public_dir,'**','*')).map do |path|
|
|
30
|
+
Dir.glob(File.join(AdminData.public_dir, '**', '*')).map do |path|
|
|
31
31
|
# we want only relative paths
|
|
32
|
-
path
|
|
32
|
+
path.split(AdminData.public_dir, 2).last
|
|
33
33
|
end
|
|
34
34
|
)
|
|
35
35
|
end
|
data/lib/admin_data/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: admin_data
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 1.1.
|
|
9
|
+
- 1
|
|
10
|
+
version: 1.1.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Neeraj Singh
|