embork 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/embork/extension.rb +5 -3
- data/lib/embork/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e0de928a956763702a9ffac524b7904d9133f5c
|
4
|
+
data.tar.gz: 4a8bd7b3b851142c4199756f8992a68f1f4ec73b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70cd49c254b62de1df4248d2df2a692de6ad7d7ad450b924dc738d3fc86e2c105825b86470c7d53f9892447124a120d26bb041bc48b17e2bc158a896fa13aaa2
|
7
|
+
data.tar.gz: 1230d8591e624437b97f2295a11efe3f6bb12c43199ac98a64aa91445b189e52ae7d834c182be87b50a09b95edd85cb7a02e16f3246ca9f4e438fa319bb91ccd
|
data/CHANGELOG.md
CHANGED
data/lib/embork/extension.rb
CHANGED
@@ -2,11 +2,13 @@ require 'embork/sprockets/helpers'
|
|
2
2
|
require 'embork/borkfile'
|
3
3
|
|
4
4
|
class Embork::Extension
|
5
|
-
|
6
|
-
|
5
|
+
attr_reader :project_root
|
6
|
+
|
7
|
+
def initialize(project_root, bundled_assets: false, environment: nil)
|
7
8
|
@environment = environment || Embork.env || ENV['RACK_ENV']
|
9
|
+
@project_root = project_root
|
8
10
|
if bundled_assets
|
9
|
-
version_file_path = File.join(
|
11
|
+
version_file_path = File.join(project_root, 'build',
|
10
12
|
@environment.to_s, 'current-version')
|
11
13
|
@bundle_version = File.read(version_file_path)
|
12
14
|
@use_bundled_assets = true
|
data/lib/embork/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mina Smart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sprockets
|