coreui-rails 1.0.1 → 1.1.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
  SHA256:
3
- metadata.gz: 34a33c7494011caeeab91ae1c0bc5ebea52874969bac77efa95806cd3f354edd
4
- data.tar.gz: 198733aa269d40ee7ec158091e4c64d9df772d5c14d0c9e4c5ee644e39449fce
3
+ metadata.gz: a96fd972f4e7310b65302296892b70b886da5acec7b7cb6f4dcc707243cfd9bb
4
+ data.tar.gz: 76edc8f5052bd4b1fe2f9bcc51d76d234d85de4b4983fc2690032408323637ae
5
5
  SHA512:
6
- metadata.gz: 440f6a053a62a187b14bbd53cba4ade85fb58a8c5de96a4f7a760a5ad7406bff620a977a6f71dca41753aa5a89c6c059fc08819126dbbc4a193f0ff9ea31bb6e
7
- data.tar.gz: 1b7d3b18b48e16a979aa8e21f0eaab62de5a41c5d5658677c3a1f6b03ac8abf6836017a0ccf98e06370ae6576acf9859d93ee1320dea81d61402e156fb030fb4
6
+ metadata.gz: c847ce37426a2e3e74718719a69294111341e74f7789a844da6b9e91e97b2919117cf04faec1b3ad5c61e57919f0781e740befe5921e1df81beb95b36c1ead59
7
+ data.tar.gz: eac2ca1c076150aecde0f152386b7396d4034d46c6ee4ea454aa7f7bd30f023a7830b9e0e7f556453bfd2f2c72b7f222eb4bacc91e15f28e3cd64a8081e303a1
data/.gitignore CHANGED
@@ -2,4 +2,5 @@
2
2
  /.bundle/
3
3
  /node_modules*/
4
4
  /.cache/
5
- /dist/
5
+ /dist/
6
+ Gemfile.lock
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  A simple gem for adding the [CoreUI-Free](http://coreui.io/index.html) admin template (by [Łukasz Holeczek's](https://github.com/mrholek)) to a Rails project's asset pipeline.
4
4
 
5
5
  For convenience this gem depends on the following gems:
6
-
6
+
7
7
  - bootstrap
8
8
  - jquery-rails
9
9
  - font-awesome-rails
@@ -49,7 +49,6 @@ Add the following lines to your rails project
49
49
  $navbar-bg: rgb(201, 201, 201);
50
50
  $navbar-brand-bg: transparent;
51
51
  $navbar-brand-logo: url(asset-path("my_logo.png"));
52
-
53
52
  ```
54
53
 
55
54
  **Javascripts**
@@ -66,7 +65,7 @@ $navbar-brand-logo: url(asset-path("my_logo.png"));
66
65
  | Include | Version |
67
66
  | ----------- | ------------- |
68
67
  | Bootstrap | 4.0.0 |
69
- | CoreUI-Free | 1.0.9 |
68
+ | CoreUI-Free | 1.0.10 |
70
69
 
71
70
  ## License
72
71
  * CoreUI is Copyright creativeLabs Łukasz Holeczek. The code is released under the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,5 +1,6 @@
1
- lib = File.expand_path('../lib', __FILE__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
1
+ # encoding: utf-8
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+
3
4
  require 'coreui_rails/version'
4
5
 
5
6
  Gem::Specification.new do |spec|
@@ -16,9 +17,11 @@ Gem::Specification.new do |spec|
16
17
  spec.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
17
18
  spec.require_paths = ['lib']
18
19
 
20
+ spec.add_dependency 'railties'
21
+
19
22
  spec.add_runtime_dependency 'autoprefixer-rails', '~> 6.0', '>= 6.0.3'
20
23
  spec.add_runtime_dependency 'bootstrap', '~> 4.0', '>= 4.0.0'
21
- spec.add_runtime_dependency 'font-awesome-rails', '~> 4.7', '>= 4.7.0'
24
+ spec.add_runtime_dependency 'font-awesome-sass', '~> 4.7', '>= 4.7.0'
22
25
  spec.add_runtime_dependency 'jquery-rails', '~> 4.3', '>= 4.3.1'
23
26
  spec.add_runtime_dependency 'sass', '~> 3.5', '>= 3.5.2'
24
27
  end
@@ -0,0 +1,2 @@
1
+ # Fix bundler loading due to "coreui-rails" trying to require "coreui/rails" instead of "coreui_rails"
2
+ require "coreui_rails"
@@ -1,2 +1,2 @@
1
1
  require 'coreui_rails/version'
2
- require 'coreui_rails/engine' if defined?(::Rails)
2
+ require 'coreui_rails/engine'
@@ -1,13 +1,8 @@
1
1
  require 'jquery-rails'
2
+ require 'font-awesome-sass'
2
3
  require 'bootstrap'
3
- require 'font-awesome-rails'
4
4
 
5
5
  module CoreUI
6
6
  class Engine < ::Rails::Engine
7
- initializer 'coreui.assets' do |app|
8
- %w[stylesheets javascripts].each do |sub|
9
- app.config.assets.paths << root.join('vendor', 'assets', sub).to_s
10
- end
11
- end
12
7
  end
13
8
  end
@@ -1,3 +1,3 @@
1
1
  module CoreUI
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.1.0'.freeze
3
3
  end
@@ -1,6 +1,7 @@
1
1
  @import "flag-icon/flag-icon";
2
- @import "simple-line-icons/simple-line-icons";
2
+ @import "font-awesome-sprockets";
3
3
  @import "font-awesome";
4
+ @import "simple-line-icons/simple-line-icons";
4
5
  @import "bootstrap-variables";
5
6
  @import "bootstrap";
6
7
  @import "coreui/core";
@@ -20,7 +20,7 @@
20
20
  .card-header {
21
21
 
22
22
  .icon-bg {
23
- display: inline-body;
23
+ display: inline-block;
24
24
  padding: $card-spacer-y $card-spacer-x !important;
25
25
  margin-top: -$card-spacer-y;
26
26
  margin-right: $card-spacer-x;
@@ -135,12 +135,12 @@
135
135
  }
136
136
 
137
137
  [class^="icon-"], [class*=" icon-"] {
138
- display: inline-body;
138
+ display: inline-block;
139
139
  vertical-align: middle;
140
140
  }
141
141
 
142
142
  i {
143
- display: inline-body;
143
+ display: inline-block;
144
144
  transition: .4s;
145
145
  }
146
146
 
@@ -153,7 +153,7 @@
153
153
  width: 230px;
154
154
  margin: 6px;
155
155
 
156
- .input-group-addon {
156
+ .input-group-prepend, .input-group-append {
157
157
  background: #fff;
158
158
  }
159
159
 
@@ -1,6 +1,5 @@
1
- .input-group-addon,
2
- .input-group-btn {
3
- min-width: 40px;
1
+ .input-group-prepend,
2
+ .input-group-append {
4
3
  white-space: nowrap;
5
4
  vertical-align: middle; // Match the inputs
6
5
  }
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coreui-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Born
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-29 00:00:00.000000000 Z
11
+ date: 2018-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: autoprefixer-rails
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -51,7 +65,7 @@ dependencies:
51
65
  - !ruby/object:Gem::Version
52
66
  version: 4.0.0
53
67
  - !ruby/object:Gem::Dependency
54
- name: font-awesome-rails
68
+ name: font-awesome-sass
55
69
  requirement: !ruby/object:Gem::Requirement
56
70
  requirements:
57
71
  - - "~>"
@@ -122,11 +136,11 @@ files:
122
136
  - ".rbenv-gemsets"
123
137
  - ".rubocop.yml"
124
138
  - Gemfile
125
- - Gemfile.lock
126
139
  - LICENSE
127
140
  - README.md
128
141
  - Rakefile
129
142
  - coreui-rails.gemspec
143
+ - lib/coreui/rails.rb
130
144
  - lib/coreui_rails.rb
131
145
  - lib/coreui_rails/engine.rb
132
146
  - lib/coreui_rails/version.rb
@@ -1,96 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- coreui-rails (0.2.8)
5
- autoprefixer-rails (~> 6.0, >= 6.0.3)
6
- bootstrap (~> 4.0, >= 4.0.0)
7
- font-awesome-rails (~> 4.7, >= 4.7.0)
8
- jquery-rails (~> 4.3, >= 4.3.1)
9
- sass (~> 3.5, >= 3.5.2)
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- actionpack (5.1.4)
15
- actionview (= 5.1.4)
16
- activesupport (= 5.1.4)
17
- rack (~> 2.0)
18
- rack-test (>= 0.6.3)
19
- rails-dom-testing (~> 2.0)
20
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
21
- actionview (5.1.4)
22
- activesupport (= 5.1.4)
23
- builder (~> 3.1)
24
- erubi (~> 1.4)
25
- rails-dom-testing (~> 2.0)
26
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
27
- activesupport (5.1.4)
28
- concurrent-ruby (~> 1.0, >= 1.0.2)
29
- i18n (~> 0.7)
30
- minitest (~> 5.1)
31
- tzinfo (~> 1.1)
32
- autoprefixer-rails (6.7.7.2)
33
- execjs
34
- bootstrap (4.0.0)
35
- autoprefixer-rails (>= 6.0.3)
36
- popper_js (>= 1.12.9, < 2)
37
- sass (>= 3.5.2)
38
- builder (3.2.3)
39
- concurrent-ruby (1.0.5)
40
- crass (1.0.3)
41
- erubi (1.7.0)
42
- execjs (2.7.0)
43
- ffi (1.9.18)
44
- font-awesome-rails (4.7.0.3)
45
- railties (>= 3.2, < 5.2)
46
- i18n (0.9.3)
47
- concurrent-ruby (~> 1.0)
48
- jquery-rails (4.3.1)
49
- rails-dom-testing (>= 1, < 3)
50
- railties (>= 4.2.0)
51
- thor (>= 0.14, < 2.0)
52
- loofah (2.1.1)
53
- crass (~> 1.0.2)
54
- nokogiri (>= 1.5.9)
55
- method_source (0.9.0)
56
- mini_portile2 (2.3.0)
57
- minitest (5.11.3)
58
- nokogiri (1.8.2)
59
- mini_portile2 (~> 2.3.0)
60
- popper_js (1.12.9)
61
- rack (2.0.3)
62
- rack-test (0.8.2)
63
- rack (>= 1.0, < 3)
64
- rails-dom-testing (2.0.3)
65
- activesupport (>= 4.2.0)
66
- nokogiri (>= 1.6)
67
- rails-html-sanitizer (1.0.3)
68
- loofah (~> 2.0)
69
- railties (5.1.4)
70
- actionpack (= 5.1.4)
71
- activesupport (= 5.1.4)
72
- method_source
73
- rake (>= 0.8.7)
74
- thor (>= 0.18.1, < 2.0)
75
- rake (12.3.0)
76
- rb-fsevent (0.10.2)
77
- rb-inotify (0.9.10)
78
- ffi (>= 0.5.0, < 2)
79
- sass (3.5.5)
80
- sass-listen (~> 4.0.0)
81
- sass-listen (4.0.0)
82
- rb-fsevent (~> 0.9, >= 0.9.4)
83
- rb-inotify (~> 0.9, >= 0.9.7)
84
- thor (0.20.0)
85
- thread_safe (0.3.6)
86
- tzinfo (1.2.4)
87
- thread_safe (~> 0.1)
88
-
89
- PLATFORMS
90
- ruby
91
-
92
- DEPENDENCIES
93
- coreui-rails!
94
-
95
- BUNDLED WITH
96
- 1.16.1