chartist-rails 0.0.1 → 0.9.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 -2
- data/chartist-rails.gemspec +2 -2
- data/generators/install_settings.rb +11 -0
- data/lib/chartist-rails/version.rb +1 -1
- data/vendor/assets/javascripts/chartist.js +1261 -601
- data/vendor/assets/javascripts/chartist.min.js +4 -3
- data/vendor/assets/javascripts/chartist.min.js.map +1 -1
- data/vendor/assets/stylesheets/chartist.min.css +1 -1
- data/vendor/assets/stylesheets/chartist.scss +107 -26
- data/vendor/assets/stylesheets/settings/_chartist-settings.scss +9 -5
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39bc9e3c657dc9ad2000b172c9e731e3dc8c244e
|
4
|
+
data.tar.gz: 47072fd165949cbb572999e912a9f14c1c0638ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cca900193de406b03f4266ed766f9ccee4eb1d2493807a12389cf0e79c9265fefbbf8b29ef2813ceece229f405d6a7454c2ac95a1232c95930e4e7931b6d81c
|
7
|
+
data.tar.gz: 956e00fe09f8f1c9a90ecbfaef29ef5df1c4b8456419d7f9f011b3786df40c38526a63723629da564fb882c9a49a51bdcc3bc287a975fb026c5575b1b317072f
|
data/README.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
# Chartist::Rails
|
2
2
|
|
3
|
-
This gem is a wrapper for the [Charist.js](https://github.com/gionkunz/chartist-js) library.
|
4
|
-
|
3
|
+
This gem is a wrapper for the [Charist.js](https://github.com/gionkunz/chartist-js) library (v0.9.4).
|
4
|
+
The state of this gem is that it is fully functional, but you can not change the settings yet.
|
5
|
+
I am currently working on a generator so that you can customize the settings file to your liking.
|
5
6
|
|
6
7
|
## Installation
|
7
8
|
|
data/chartist-rails.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Chartist::Rails::VERSION
|
9
9
|
spec.authors = ["AnthonyBobsin"]
|
10
10
|
spec.email = ["bobsinj@gmail.com"]
|
11
|
-
spec.summary = %q{Vendors the Chartist.js library for use with the
|
12
|
-
spec.description = %q{}
|
11
|
+
spec.summary = %q{Vendors the Chartist.js library for use with the Rail's assets pipeline.}
|
12
|
+
spec.description = %q{Current using Chartist version 0.9.4}
|
13
13
|
spec.homepage = "https://github.com/AnthonyBobsin/chartist-rails"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
@@ -0,0 +1,11 @@
|
|
1
|
+
module Chartist
|
2
|
+
module Rails
|
3
|
+
class InstallSettings < Rails::Generators::Base
|
4
|
+
source_root File.expand_path('../../vendor/assets/stylesheets', __FILE__)
|
5
|
+
|
6
|
+
def migrate_settings
|
7
|
+
copy_file "settings/_chartist-settings.scss", "app/assets/stylesheets/_chartist-settings.scss"
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|