dashing-contrib 0.0.1 → 0.0.2
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 +24 -14
- data/lib/dashing-contrib.rb +1 -1
- data/lib/dashing-contrib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f44934069e246c511d9b2185c3fc0e9f7a1f37c6
|
4
|
+
data.tar.gz: 14bdb361a8938ffb7af365df054010ee76e2083b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d4d8556de6c7971ad751f523daabda4ba85d4458c8d373f1ef06f267f06b13aa731d89ad2c2751e8778707d2855bdd26d6aa8a197313906d538b175708481be
|
7
|
+
data.tar.gz: 08dcf1de6c4bef9205c2fe577c70b9e7b87a6f87a90e65805ab4f5c03cc168ca2c39bae77d1c00a80ef43e3b8000ae3e3108210a744bf78e9c561d97e2d6fdda
|
data/README.md
CHANGED
@@ -4,30 +4,40 @@ This projects is an extension to Shopify's Dashing. It aims to solve a couple of
|
|
4
4
|
* Extend the Dashing's widgets functionality in a healthy pattern.
|
5
5
|
* Embrace sharing, reusing, testing common jobs data manipulation functionality
|
6
6
|
* Make it easier to work with History.yml in file and memory
|
7
|
+
* A common way to load external configuration via dotenv
|
7
8
|
|
8
|
-
|
9
|
-
|
10
9
|
## Installation
|
11
|
-
Add this line to your
|
10
|
+
Add this line to your Dashing's dashboard Gemfile:
|
12
11
|
|
13
|
-
gem 'dashing-contrib'
|
12
|
+
gem 'dashing-contrib', '~> 0.0.2'
|
14
13
|
|
15
14
|
And then execute:
|
16
15
|
|
17
16
|
$ bundle
|
18
17
|
|
19
|
-
|
18
|
+
Add the following on top of the `config.ru`
|
19
|
+
|
20
|
+
$: << File.expand_path('./lib', __dir__)
|
21
|
+
require 'dashing-contrib'
|
22
|
+
require 'dashing'
|
23
|
+
DashingContrib.configure
|
24
|
+
|
25
|
+
Add these lines to `assets/javascripts/application.coffee`
|
26
|
+
|
27
|
+
#=require dashing-contrib/assets/widgets
|
28
|
+
|
29
|
+
Add these lines to `assets/stylesheets/application.scss`
|
30
|
+
|
31
|
+
//=require dashing-contrib/assets/widgets
|
32
|
+
|
33
|
+
## Included Widgets
|
20
34
|
|
21
|
-
|
35
|
+
* [Rickshawgraph](https://gist.github.com/jwalton/7916168) made by [jwalton](https://gist.github.com/jwalton)
|
22
36
|
|
23
|
-
##
|
37
|
+
## Included Job helpers
|
24
38
|
|
25
|
-
TODO:
|
39
|
+
TODO:
|
26
40
|
|
27
|
-
##
|
41
|
+
## Components/Widgets made by contributors
|
28
42
|
|
29
|
-
|
30
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
31
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
32
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
33
|
-
5. Create new Pull Request
|
43
|
+
* [jwalton](https://gist.github.com/jwalton)
|
data/lib/dashing-contrib.rb
CHANGED