glib 1.0.2 → 1.0.3

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: eab42c7b34e04c40fb6525da60785b57f040796c
4
- data.tar.gz: 4a85b1466656095e4fee35f8a8f72a5a4fc71abd
3
+ metadata.gz: 758a4d41eaaf1c65c83bde6990cacf9db68f69fd
4
+ data.tar.gz: d719e2bd614a5d40f2ffa29e441987e008b30bea
5
5
  SHA512:
6
- metadata.gz: 39efcf4f61619c892c0ef71d6e0b05b175d0f58fe394664a478a4b8cef4b5fbf27bd1b93d9a6a6d699c8eb0ab3effb48c57a0f18e5270de628d0374ba36fe38a
7
- data.tar.gz: ae50344e206ab50c672165f6caae23b324a6afb4530d89b2ba621d3ce53940b12c1c8ae93679eae366cb40b2a2b0b37ef3dac4cfdcb4c7be6d9a1a30348e32d6
6
+ metadata.gz: 2ed090919e0b21b9eadacbb9dd1c31992814fc6d172a4999dc9ad9b1cb41f142240d3eadcbd6a3406e87af4a789ecc7970d3e0da334fa465cb65296b9c7711d9
7
+ data.tar.gz: 8e68dbff3ea5a988906ce0029ee893f6d754d270c9016ed794bcff5487d1c3a33e4249b3654ff39ec0b9dc8370f50b3615fa9112010bf18039a92112ffbfe257
data/lib/glib-float.rb CHANGED
@@ -2,7 +2,7 @@ class Float
2
2
  def index?(array)
3
3
  results = Array.new
4
4
  for i in 0...array.length
5
- if array[i] == self then results.push(array[i]) end
5
+ if array[i] == self then results.push(i) end
6
6
  end
7
7
  return results
8
8
  end
data/lib/glib-integer.rb CHANGED
@@ -2,7 +2,7 @@ class Integer
2
2
  def index?(array)
3
3
  results = Array.new
4
4
  for i in 0...array.length
5
- if array[i] == self then results.push(array[i]) end
5
+ if array[i] == self then results.push(i) end
6
6
  end
7
7
  return results
8
8
  end
data/lib/glib-string.rb CHANGED
@@ -2,7 +2,7 @@ class String
2
2
  def index?(array)
3
3
  results = Array.new
4
4
  for i in 0...array.length
5
- if array[i] == self then results.push(array[i]) end
5
+ if array[i] == self then results.push(i) end
6
6
  end
7
7
  return results
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Vian