Skip to content

Commit 0e80c0d

Browse files
committed
Initial commit
0 parents  commit 0e80c0d

File tree

156 files changed

+49262
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+49262
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.bundle/
2+
/pkg/
3+
/tmp/

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.1.0] - 2022-06-13
9+
10+
- Initial release
11+
12+
[0.1.0]: https://github.com/tysongach/tom-select-rails/releases/tag/v0.1.0

Gemfile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
gemspec
6+
7+
gem "rake", "~> 13.0"
8+
gem "standard", "~> 1.3"

Gemfile.lock

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
PATH
2+
remote: .
3+
specs:
4+
tom-select-rails (0.1.0)
5+
6+
GEM
7+
remote: https://rubygems.org/
8+
specs:
9+
ast (2.4.2)
10+
parallel (1.22.1)
11+
parser (3.1.2.0)
12+
ast (~> 2.4.1)
13+
rainbow (3.1.1)
14+
rake (13.0.6)
15+
regexp_parser (2.5.0)
16+
rexml (3.2.5)
17+
rubocop (1.29.1)
18+
parallel (~> 1.10)
19+
parser (>= 3.1.0.0)
20+
rainbow (>= 2.2.2, < 4.0)
21+
regexp_parser (>= 1.8, < 3.0)
22+
rexml (>= 3.2.5, < 4.0)
23+
rubocop-ast (>= 1.17.0, < 2.0)
24+
ruby-progressbar (~> 1.7)
25+
unicode-display_width (>= 1.4.0, < 3.0)
26+
rubocop-ast (1.18.0)
27+
parser (>= 3.1.1.0)
28+
rubocop-performance (1.13.3)
29+
rubocop (>= 1.7.0, < 2.0)
30+
rubocop-ast (>= 0.4.0)
31+
ruby-progressbar (1.11.0)
32+
standard (1.12.1)
33+
rubocop (= 1.29.1)
34+
rubocop-performance (= 1.13.3)
35+
unicode-display_width (2.1.0)
36+
37+
PLATFORMS
38+
arm64-darwin-21
39+
40+
DEPENDENCIES
41+
rake (~> 13.0)
42+
standard (~> 1.3)
43+
tom-select-rails!
44+
45+
BUNDLED WITH
46+
2.3.10

LICENSE.txt

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2022 Tyson Gach
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# tom-select-rails
2+
3+
Integrate [Tom Select][tom-select] with the asset pipeline in Rails.
4+
5+
## Installation
6+
7+
Install the gem and add to the application's Gemfile by executing:
8+
9+
```
10+
$ bundle add tom-select-rails
11+
```
12+
13+
## Usage
14+
15+
Import Tom Select styles in your Sass manifest:
16+
17+
```scss
18+
@import "tom-select-rails/scss/tom-select";
19+
```
20+
21+
## License
22+
23+
The gem is available as open source under the terms of the [MIT License][mit].
24+
25+
[tom-select]: https://tom-select.js.org
26+
[mit]: https://opensource.org/licenses/MIT

Rakefile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# frozen_string_literal: true
2+
3+
require "bundler/gem_tasks"

lib/tom-select-rails.rb

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
require_relative "tom-select-rails/version"
4+
require_relative "tom-select-rails/engine"
5+
6+
module TomSelect
7+
end

lib/tom-select-rails/engine.rb

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# frozen_string_literal: true
2+
3+
require "rails"
4+
5+
module TomSelect
6+
class Engine < ::Rails::Engine
7+
end
8+
end

lib/tom-select-rails/version.rb

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# frozen_string_literal: true
2+
3+
module TomSelect
4+
VERSION = "0.1.0"
5+
end

tom-select-rails.gemspec

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# frozen_string_literal: true
2+
3+
require_relative "lib/tom-select-rails/version"
4+
5+
Gem::Specification.new do |spec|
6+
spec.authors = ["Tyson Gach"]
7+
spec.email = "[email protected]"
8+
spec.files = Dir["{lib,vendor}/**/*", "LICENSE.txt", "Rakefile", "README.md"]
9+
spec.homepage = "https://github.com/tysongach/tom-select-rails"
10+
spec.license = "MIT"
11+
spec.metadata = {
12+
"changelog_uri" => "https://github.com/tysongach/tom-select-rails/blob/main/CHANGELOG.md",
13+
"rubygems_mfa_required" => "true"
14+
}
15+
spec.name = "tom-select-rails"
16+
spec.summary = "Integrate Tom Select with the asset pipeline in Rails."
17+
spec.version = TomSelect::VERSION
18+
end

0 commit comments

Comments
 (0)