ksk 0.4.4 → 0.4.5

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: 176290eed815779961e606e0641188b236fe6798
4
- data.tar.gz: 41dc4f097c2eef74a6f881a9e878145efbd213d3
3
+ metadata.gz: 248b0829ffbe71fa5d38c6b6112fdcf7cb1a834c
4
+ data.tar.gz: 46e9f3d0a0208676aa1e03bcc98b5b2332bc5784
5
5
  SHA512:
6
- metadata.gz: 0c19dbc269cb05476b007220d4bc6342685a6f7eeb655a54ecf454e16cc08cf8f0f8c69ffa3e798466d3980003bf8afb68b8d8eb2106dc4d33f45a0b6c00fdf7
7
- data.tar.gz: a124be0a72cd5832888de96605f8592bc0f796c145e48e8d3e80c1f74ebcea09ed81ce28783d8127a9194e0a067041d85b5590cdb0ec0c5ec9d0633db3825a8d
6
+ metadata.gz: bf402dcf4e9cf7d9d20581e56e119fae9ea62b25fde5c6ea36f03c2f3c7a0e830eae88d91275cec28558ce0f3a9cb35fb65bb77d3d119eb801392257b1c99de0
7
+ data.tar.gz: 596e4cda8f9f1f2f33202836b30eba08378431c5ac403a25f3e573201f48fc3dc618c5df0618ab02bcbf51629c2de62190674cb55fe9272a5d60c96cdb0bd3f5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.4
1
+ 0.4.5
@@ -46,7 +46,7 @@ window.addEvent('bhfDomChunkReady', function(scope){
46
46
  if (cropImages.length) {
47
47
  var cropInit = function(){
48
48
  $.noConflict();
49
- jQuery('.js_crop_image').each(function(){
49
+ jQuery('.js_crop_image', scope).each(function(){
50
50
  var $cropImg = jQuery(this);
51
51
  var minWidth, minHeight;
52
52
  var styleGeo = $cropImg.attr('data-crop-style') || '';
@@ -10,13 +10,14 @@ module Ksk::Markdown
10
10
  def text_unused_content(all_files, type, preselected = [])
11
11
  all_numbers = []
12
12
  all_files.each_with_index { |a, i| all_numbers << i+1 }
13
-
13
+
14
14
  unused_numbers = all_numbers - (text_used_content(type)+preselected)
15
-
15
+
16
16
  unused_files = []
17
17
  all_files.each_with_index do |a, i|
18
18
  unused_files << a if unused_numbers.include?(i+1)
19
19
  end
20
+
20
21
  unused_files
21
22
  end
22
23
 
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: ksk 0.4.4 ruby lib
5
+ # stub: ksk 0.4.5 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "ksk"
9
- s.version = "0.4.4"
9
+ s.version = "0.4.5"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Anton Pawlik"]
14
- s.date = "2014-07-17"
14
+ s.date = "2014-09-04"
15
15
  s.description = "Blog/Website management plugin for bhf. Includes abstract settings .yml, model concerns and bhf view partials."
16
16
  s.email = "anton.pawlik@gmail.com"
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ksk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Pawlik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-17 00:00:00.000000000 Z
11
+ date: 2014-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bhf