classnames-rails 0.1.0 → 1.0.0

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: 3a31fb801d8899bf3af2f88f410b6721a86c43df
4
- data.tar.gz: 4342cadaab9e699ad82be18c63c6a65475ca49f9
3
+ metadata.gz: 38016af519add117dbcb0c83dd2d684add7bf72b
4
+ data.tar.gz: 6dd2860a30275c4beb97fbb0cb1a4a9c4a8f4b5b
5
5
  SHA512:
6
- metadata.gz: 17f1c4c296c3482c24316a456b8bd4b8a807f37c956d18e5d7f6f7d533d917e3d263fc4d812bea88c9a83f906ab6c621761d2002461426ba6dc6036fce9b8502
7
- data.tar.gz: c6d0d4a1767d36de756b6120de860378647d3705c2bc779797361ce47eafaf851ec610214cff77dd3643c7e24ee9430fdd404d790703919d39c99c15c4d37adf
6
+ metadata.gz: f272c029dc21a587f271f2b283c6db4393bbd3359f0617282bb5ee68d8af087888ea4a3aa195f71a5a57e23acf6df4c397392847160e48218b406c28b07352f0
7
+ data.tar.gz: 68ff81d4c5cc2faf408fd9ab8f9aef350219d83edbc51299e102cc477861cf4a909f956bb94743625569298020f8828189d4611c87ad8e3568dc1144d3017efa
@@ -0,0 +1,8 @@
1
+ # Save as .codeclimate.yml (note leading .) in project root directory
2
+ languages:
3
+ Ruby: true
4
+ JavaScript: true
5
+ PHP: true
6
+ Python: true
7
+ # exclude_paths:
8
+ # - "foo/bar.rb"
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ *.gem
@@ -0,0 +1,4 @@
1
+ rvm:
2
+ - ruby-head
3
+ matrix:
4
+ fast_finish: true
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Calvert
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,4 +1,8 @@
1
+ [![Gem Version](https://badge.fury.io/rb/classnames-rails.svg)](http://badge.fury.io/rb/classnames-rails)
2
+ [![Code Climate](https://codeclimate.com/github/andyyou/classnames-rails/badges/gpa.svg)](https://codeclimate.com/github/andyyou/classnames-rails)
3
+ [![Travis](https://travis-ci.org/andyyou/classnames-rails.svg?branch=master)](https://travis-ci.org/andyyou/classnames-rails)
1
4
  # classnames-rails
5
+
2
6
  Classnames for Rails - a gem package fork from [classnames](https://github.com/JedWatson/classnames).
3
7
  A simple javascript utility for conditionally joining classNames together.
4
8
 
data/Rakefile CHANGED
@@ -1 +1,7 @@
1
1
  require "bundler/gem_tasks"
2
+ require 'rake/testtask'
3
+ require 'jasmine'
4
+ load 'jasmine/tasks/jasmine.rake'
5
+
6
+
7
+ task :default => "jasmine:ci"
@@ -21,4 +21,5 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_development_dependency "bundler", "~> 1.9"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "jasmine", "~> 2.3.0"
24
25
  end
@@ -1,5 +1,5 @@
1
1
  module Classnames
2
2
  module Rails
3
- VERSION = "0.1.0"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: classnames-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - andyyou
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jasmine
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 2.3.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 2.3.0
41
55
  description: A simple utility for conditionally joining classNames together. Fork
42
56
  from classnames of javascript
43
57
  email:
@@ -46,8 +60,11 @@ executables: []
46
60
  extensions: []
47
61
  extra_rdoc_files: []
48
62
  files:
63
+ - ".codeclimate.yml"
49
64
  - ".gitignore"
65
+ - ".travis.yml"
50
66
  - Gemfile
67
+ - LICENSE.txt
51
68
  - README.md
52
69
  - Rakefile
53
70
  - bin/console