less-rails-semantic_ui 1.5.0.0 → 1.5.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 +4 -4
- data/assets/javascripts/semantic_ui/definitions/modules/search.js +1 -1
- data/assets/javascripts/semantic_ui/definitions/modules/sidebar.js +2 -2
- data/assets/stylesheets/semantic_ui/definitions/elements/button.less +1 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/button.variables +1 -0
- data/less-rails-semantic_ui.gemspec +3 -1
- data/lib/less/rails/semantic_ui.rb +1 -0
- data/lib/less/rails/semantic_ui/version.rb +7 -0
- data/tasks/update.rake +11 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94a049167c78aad6547605eec2ebd22cf4a702d9
|
4
|
+
data.tar.gz: b076520136fee7744043358ff3c64d880fe565d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 661ff59486c0778755a4ccf2412ce14f481623917c6d72692c8c86f25395dd2841b5859283110f13f199df0b7497dbf2719cf4067d103c61ad2144f250a9a2f3
|
7
|
+
data.tar.gz: 1cfcfbb9fff641e991997765bcc1832d66ca0267b0047049e06d17d4f50c67136eea5d52904769bf8a71d1ee0d7bdddef4767e00b1d4f238595e10bac9582d57
|
@@ -305,7 +305,7 @@ $.fn.search = function(parameters) {
|
|
305
305
|
if( content[field].match(searchRegExp) ) {
|
306
306
|
results.push(content);
|
307
307
|
}
|
308
|
-
else if( settings.searchFullText && content[field].match(
|
308
|
+
else if( settings.searchFullText && content[field].match(fullTextRegExp) ) {
|
309
309
|
fullTextResults.push(content);
|
310
310
|
}
|
311
311
|
}
|
@@ -83,7 +83,7 @@ $.fn.sidebar = function(parameters) {
|
|
83
83
|
transitionEvent = module.get.transitionEvent();
|
84
84
|
|
85
85
|
// cache on initialize
|
86
|
-
if( module.is.legacy() || settings.
|
86
|
+
if( (module.useLegacy == 'auto' && module.is.legacy()) || settings.useLegacy) {
|
87
87
|
settings.transition = 'overlay';
|
88
88
|
settings.useLegacy = true;
|
89
89
|
}
|
@@ -991,7 +991,7 @@ $.fn.sidebar.settings = {
|
|
991
991
|
scrollLock : false,
|
992
992
|
returnScroll : false,
|
993
993
|
|
994
|
-
useLegacy :
|
994
|
+
useLegacy : 'auto',
|
995
995
|
duration : 500,
|
996
996
|
easing : 'easeInOutQuint',
|
997
997
|
|
@@ -1,9 +1,11 @@
|
|
1
1
|
lib = File.expand_path('../lib', __FILE__)
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
3
|
|
4
|
+
require 'less/rails/semantic_ui/version'
|
5
|
+
|
4
6
|
Gem::Specification.new do |spec|
|
5
7
|
spec.name = 'less-rails-semantic_ui'
|
6
|
-
spec.version =
|
8
|
+
spec.version = Less::Rails::SemanticUI::VERSION
|
7
9
|
spec.authors = ['Maxim Dobryakov']
|
8
10
|
spec.email = ['maxim.dobryakov@gmail.com']
|
9
11
|
spec.summary = %q{Semantic UI assets for Rails}
|
data/tasks/update.rake
CHANGED
@@ -12,6 +12,8 @@ namespace :update do
|
|
12
12
|
choose_version(version)
|
13
13
|
|
14
14
|
transform_sources
|
15
|
+
|
16
|
+
bump_gem_version(version)
|
15
17
|
end
|
16
18
|
|
17
19
|
def paths
|
@@ -165,6 +167,11 @@ namespace :update do
|
|
165
167
|
relative_paths.compact
|
166
168
|
end
|
167
169
|
|
170
|
+
def bump_gem_version(version)
|
171
|
+
version_file = File.join(paths.lib_semantic_ui, 'version.rb')
|
172
|
+
File.write(version_file, File.read(version_file).gsub(/\d+\.\d+\.\d+\.\d+/, "#{version}.0"))
|
173
|
+
end
|
174
|
+
|
168
175
|
private
|
169
176
|
|
170
177
|
def copy_tree(src, src_dir, dest_dir)
|
@@ -207,6 +214,8 @@ namespace :update do
|
|
207
214
|
|
208
215
|
attr_reader :generator_templates
|
209
216
|
|
217
|
+
attr_reader :lib_semantic_ui
|
218
|
+
|
210
219
|
def initialize
|
211
220
|
@root = File.expand_path('..', __dir__)
|
212
221
|
@config = File.join(@root, 'config')
|
@@ -224,6 +233,8 @@ namespace :update do
|
|
224
233
|
@stylesheets = File.join(@root, 'assets', 'stylesheets', 'semantic_ui')
|
225
234
|
|
226
235
|
@generator_templates = File.join(@root, 'lib', 'generators', 'semantic_ui', 'install', 'templates')
|
236
|
+
|
237
|
+
@lib_semantic_ui = File.join(@root, 'lib', 'less', 'rails', 'semantic_ui')
|
227
238
|
end
|
228
239
|
end
|
229
240
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: less-rails-semantic_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maxim Dobryakov
|
@@ -505,6 +505,7 @@ files:
|
|
505
505
|
- lib/generators/semantic_ui/install/templates/theme.config
|
506
506
|
- lib/less/rails/semantic_ui.rb
|
507
507
|
- lib/less/rails/semantic_ui/engine.rb
|
508
|
+
- lib/less/rails/semantic_ui/version.rb
|
508
509
|
- spec/dummy_app/.gitignore
|
509
510
|
- spec/dummy_app/app/assets/javascripts/application.js
|
510
511
|
- spec/dummy_app/app/assets/stylesheets/application.css
|