oulu-rails 0.5.8 → 0.5.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72b2b6d73e0b993646a3339c1a62a25ecd7f3319
4
- data.tar.gz: a9e457da1913f9dbd3e7bd9ddcaa73413cb0f30a
3
+ metadata.gz: 5794f3a8b21a31dc083f1238d17198c6b4180ac3
4
+ data.tar.gz: da59d3199013343d34ec4e9312775a19674b99ee
5
5
  SHA512:
6
- metadata.gz: 5ef10eccbde6368a667f5395141cf3516504c928243be07c7fe1177f2894bdda12a93ebb5a1bc70f6b627578ce9ac9cf8cf458bc38d85897044cb4fb5fb8ef2b
7
- data.tar.gz: 033407c0aee65550a8cce1aad9759b8e948eac69031cc1c07ff8c1cf988965b420c69d99494fcff34fbef684d1a7df21d85d7786c3a75e8376df0b1086e4dc1d
6
+ metadata.gz: 9897d1022caa69cef853cb795d0aeb53d55880628238cb8fad14d5152166b37449797a3e57ff1e801444a8ed11737992f695f329cabacdba7cdaffb50bcfbd6f
7
+ data.tar.gz: a37809e777d5ebcb248962efd1c61b63a80f327c839032035ab93c0ca15c3de0e321b7565fdee5512c56c94d8b5ef91afe793a28e4a65dac2ff96fafcf8f7e81
@@ -1,3 +1,3 @@
1
1
  module OuluRails
2
- VERSION = "0.5.8"
2
+ VERSION = "0.5.9"
3
3
  end
@@ -1,10 +1,8 @@
1
1
  @function image($value)
2
2
  @if string($value)
3
- $image-extensions: '.jpg' '.jpeg' '.gif' '.png' '.tiff' '.tif'
4
- @each $image-extension in $image-extensions
5
- @if number(str-index(to-lower-case($value), if'.jpg')) or number(str-index(to-lower-case($value), '.jpeg')) or number(str-index(to-lower-case($value), '.gif')) or number(str-index(to-lower-case($value), '.png')) or number(str-index(to-lower-case($value), '.tiff')) or number(str-index(to-lower-case($value), '.tif')) or number(str-index(to-lower-case($value), '.bmp')) or number(str-index(to-lower-case($value), '.pct')) or number(str-index(to-lower-case($value), '.jpe')) or number(str-index(to-lower-case($value), '.jfif')) or number(str-index(to-lower-case($value), '.dib'))
6
- @return true
7
- @else
8
- @return null
3
+ @if number(str-index(to-lower-case($value), '.jpg')) or number(str-index(to-lower-case($value), '.jpeg')) or number(str-index(to-lower-case($value), '.gif')) or number(str-index(to-lower-case($value), '.png')) or number(str-index(to-lower-case($value), '.tiff')) or number(str-index(to-lower-case($value), '.tif')) or number(str-index(to-lower-case($value), '.bmp')) or number(str-index(to-lower-case($value), '.pct')) or number(str-index(to-lower-case($value), '.jpe')) or number(str-index(to-lower-case($value), '.jfif')) or number(str-index(to-lower-case($value), '.dib'))
4
+ @return true
5
+ @else
6
+ @return null
9
7
  @else
10
8
  @return null
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oulu-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - machida