spectrum_colorpicker_rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2c7da6137a69410dc48b3da8237b205f0512e692
4
+ data.tar.gz: '0898a0160b8f28a05eef9b408f83a2a5c114e383'
5
+ SHA512:
6
+ metadata.gz: caaf4734f349c30d48965eb1dd2e49e0f93d7e2cd8fa0c7da8f8a1955ac75f2421a0dc947907417a67ed32b04c83c8f625280a369cafe06fe39d9bbceaa62bd2
7
+ data.tar.gz: 1d9502051368c064cae72b9cdab2c9e1c093cfe91fba3b52e4a8a263bb848c58e2cd92ea1537199de30bb66c731cfbcfe0093d60de5f5c5cd96bf9977237df4b
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2018 Curt Howard
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # SpectrumColorpickerRails
2
+ Automagically™ adds the [Spectrum](https://github.com/bgrins/spectrum/) Colorpicker JavaScript library to the Rails Asset Pipeline.
3
+
4
+ ## Usage
5
+ This gem is a Rails plugin wrapper for a 3rd party library. To find out how to use Spectrum, check out [its documentation](http://bgrins.github.io/spectrum/).
6
+
7
+ ## Installation
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'spectrum_colorpicker_rails'
12
+ ```
13
+
14
+ And then execute:
15
+ ```bash
16
+ $ bundle
17
+ ```
18
+
19
+ Then your JavaScript manifest will need:
20
+ ```ruby
21
+ //= require spectrum_colorpicker_rails/spectrum
22
+ ```
23
+
24
+ And your Stylesheet manifest will need:
25
+ ```ruby
26
+ @import 'spectrum_colorpicker_rails/spectrum';
27
+ ```
28
+
29
+ ## Contributing
30
+ If you need a new version of Spectrum for your project, please:
31
+
32
+ 1. fork this repo
33
+ 2. create an upgrade branch
34
+ 3. overwrite the vendored css/js files with versions [from here](https://github.com/bgrins/spectrum/)
35
+ 4. commit, push, and issue a pull request
36
+
37
+ I vow to merge and release, so long as I am still breathing.
38
+
39
+ ## License
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'bundler/gem_tasks'
@@ -0,0 +1,3 @@
1
+ module SpectrumColorpickerRails
2
+ # Your code goes here...
3
+ end
@@ -0,0 +1,3 @@
1
+ module SpectrumColorpickerRails
2
+ VERSION = '0.1.0'
3
+ end
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spectrum_colorpicker_rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Curt Howard
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-05-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 5.1.6
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 5.1.6
27
+ description: Automagically™ adds the Spectrum Colorpicker JavaScript library to the
28
+ Rails Asset Pipeline.
29
+ email:
30
+ - curt@portugly.com
31
+ executables: []
32
+ extensions: []
33
+ extra_rdoc_files: []
34
+ files:
35
+ - MIT-LICENSE
36
+ - README.md
37
+ - Rakefile
38
+ - lib/spectrum_colorpicker_rails.rb
39
+ - lib/spectrum_colorpicker_rails/version.rb
40
+ homepage: https://github.com/meowsus/spectrum_colorpicker_rails
41
+ licenses:
42
+ - MIT
43
+ metadata: {}
44
+ post_install_message:
45
+ rdoc_options: []
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ requirements: []
59
+ rubyforge_project:
60
+ rubygems_version: 2.6.14
61
+ signing_key:
62
+ specification_version: 4
63
+ summary: The No Hassle JavaScript Colorpicker... For Rails!
64
+ test_files: []