dashing-contrib 0.1.3 → 0.1.4
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.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/dashing-contrib/routes.rb +1 -1
- data/lib/dashing-contrib/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: 54c08ada19918a56e1b5813aa54e656058ba7c4e
|
4
|
+
data.tar.gz: b78bd41925b940c6f7143e8cbb9f65697843c4d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eedeeca051780e9fa7f218893219f186c675a2ab4dfeff79a96a0a1e74abaf5d7cb4f80383e8d860300e652f63fd11735bdddb97cb2aa01cd527afba257d362
|
7
|
+
data.tar.gz: fb0e73ea919028bae5fdd0d3f02d0fbcd81245c99b8c264a11f11681cae0e3c84e2c154cc7d49d48fcee83f69ec24dc3280e7f6bd089c405913b73367a8e4c0e
|
data/README.md
CHANGED
@@ -16,9 +16,9 @@ This project is an extension to Shopify's Dashing. Including this rubygem you wi
|
|
16
16
|
Read each individual widget documentation to use dashing-contrib built-in widgets after the installation steps.
|
17
17
|
|
18
18
|
## Installation
|
19
|
-
Add this line to your Dashing's dashboard Gemfile:
|
19
|
+
Requires Ruby >= 1.9.3. Add this line to your Dashing's dashboard Gemfile:
|
20
20
|
|
21
|
-
gem 'dashing-contrib', '~> 0.1.
|
21
|
+
gem 'dashing-contrib', '~> 0.1.4'
|
22
22
|
|
23
23
|
Update dependencies:
|
24
24
|
|
@@ -26,7 +26,7 @@ Update dependencies:
|
|
26
26
|
|
27
27
|
Add the following on top of the `config.ru`
|
28
28
|
|
29
|
-
$: << File.expand_path('./lib',
|
29
|
+
$: << File.expand_path('./lib', File.dirname(__FILE__))
|
30
30
|
require 'dashing-contrib'
|
31
31
|
require 'dashing'
|
32
32
|
DashingContrib.configure
|
@@ -8,7 +8,7 @@ get '/views/:widget?.html' do
|
|
8
8
|
file_overrides = File.join(settings.root, 'widgets', widget_name, file_name)
|
9
9
|
return engines.first.new(file_overrides).render if File.exist? file_overrides
|
10
10
|
|
11
|
-
contrib_file = File.join(
|
11
|
+
contrib_file = File.join(File.dirname(__FILE__), 'assets', 'widgets', widget_name, file_name)
|
12
12
|
return engines.first.new(contrib_file).render if File.exist? contrib_file
|
13
13
|
end
|
14
14
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dashing-contrib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jing Dong
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|