rack-app-front_end 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/VERSION +1 -1
- data/lib/rack/app/front_end/folder_mounter.rb +0 -9
- data/lib/rack/app/front_end/utils.rb +1 -2
- data/rack-app-front_end.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51ef4d45f171e6d23cac5c08eab2f9d269099766
|
4
|
+
data.tar.gz: 572457c778986b295db92390cf679b7118872abd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2a5a6ea812512d89edf8fbe192b600b52aacf9aae51368e215a88eaf9271aae61b7f713fd99adb13fb26c5274f9bd4ed4f951bee0c1692dfa51f01b44a718b8
|
7
|
+
data.tar.gz: 32e23043f82402a7e133cf471544001f22030b3f72c9e823fbb933b728d3438372fd61a450aa47b32c9f0f81168a2ecd99dcd5e41ed4e450507a43ecd01aa7d1
|
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'pwd'
|
2
1
|
class Rack::App::FrontEnd::FolderMounter
|
3
2
|
|
4
3
|
def initialize(app_class)
|
@@ -15,14 +14,6 @@ class Rack::App::FrontEnd::FolderMounter
|
|
15
14
|
end
|
16
15
|
end
|
17
16
|
|
18
|
-
def get_source_path(folder_path)
|
19
|
-
if folder_path.to_s[0] == File::Separator
|
20
|
-
PWD.join(folder_path)
|
21
|
-
else
|
22
|
-
File.join(File.dirname(caller[1].split(':')[0]),folder_path)
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
17
|
protected
|
27
18
|
|
28
19
|
def template_paths_for(source_folder_path)
|
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'pwd'
|
2
1
|
module Rack::App::FrontEnd::Utils
|
3
2
|
|
4
3
|
extend self
|
@@ -6,7 +5,7 @@ module Rack::App::FrontEnd::Utils
|
|
6
5
|
def get_full_path(file_path,caller_index=1)
|
7
6
|
return nil if file_path.nil?
|
8
7
|
if file_path.to_s[0] == File::Separator
|
9
|
-
|
8
|
+
Rack::App::Utils.pwd(file_path)
|
10
9
|
else
|
11
10
|
File.join(File.dirname(caller[caller_index].split(':')[0]),file_path)
|
12
11
|
end
|
data/rack-app-front_end.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-app-front_end
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Luzsi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: kramdown
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,7 +95,7 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: tilt
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|