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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7cc48654817af40bf54c932dc7373e5423a709ae
4
- data.tar.gz: 4274635bf993c916e0542949586fb985920ccee9
3
+ metadata.gz: 54c08ada19918a56e1b5813aa54e656058ba7c4e
4
+ data.tar.gz: b78bd41925b940c6f7143e8cbb9f65697843c4d5
5
5
  SHA512:
6
- metadata.gz: fbeccf5c940990bf89001f29230fbf8658f0cb026c63c309c651cdd724835aed0cb4446d5ac417ed89164fda75208fc2d2e6c00a1e0c7ded5d304c70eb77aed9
7
- data.tar.gz: 24d0153279653c30d1f18e602038992d59bd031a19a2af5452e7dbf8a23fb9ede7e26e904e008841f08a629812b0aaebfe0ec4cd3a17eff585b896b38fada91e
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.2'
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', __dir__)
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(__dir__, 'assets', 'widgets', widget_name, file_name)
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
@@ -1,3 +1,3 @@
1
1
  module DashingContrib
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  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.3
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-09 00:00:00.000000000 Z
11
+ date: 2014-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv