galerts 1.1.0 → 1.1.1

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: 3a3423e4f15c672b75602f410f569724053579d1
4
- data.tar.gz: bd0adebd572afa123bce4c7a44bfb15d2832ee2c
3
+ metadata.gz: 23bf21e68bc36eda926bfd80c99931f1be27a1ad
4
+ data.tar.gz: 9ab667be0dd065aa6f859cb859581990821ea1b2
5
5
  SHA512:
6
- metadata.gz: 080ce81106c1f21e39c1b48ec029bc7e5f25c290625b7d17a620f9ec3ae97a47378ce5d444cb3d5a811364521d475e4b02094ecdef90f545b706f354c4790b97
7
- data.tar.gz: 64dc5609ed761b2fb7b4e554d3b6e71b0fbf1c4485ed59710c067bd55e297172d469ef9c10bbf3a9d2c9c9eb52634f22b044083fb457f474c8a72e566c6a1f44
6
+ metadata.gz: 2f30f7053d6887512a8b544444c23c70b8b2242b33d943a69ede6f2497eed26fee9fb8ff3a9b95518636b64e491da63b87e6476ba56e55c11d31bcfc517346ed
7
+ data.tar.gz: 411c216d1397b20ba1edee99117dba80b12a0b6c66ce1dc666b339db4f3ed88a17ee37676e42eeffe00abb75cadef303f122630d8ea2132ceddcb3d98fac4f76
@@ -200,7 +200,8 @@ module Galerts
200
200
  variables = Galerts::Alert.new("").instance_variables.map {|m| m.to_s.delete('@')}
201
201
  variables.each do |variable|
202
202
  define_method("find_by_#{variable}") do |argument|
203
- find({variable.to_sym => argument})
203
+ # gsub maybe bad solution for phrases but ... ¯\_(ツ)_/¯
204
+ find({variable.to_sym => argument.gsub("\\","")})
204
205
  end
205
206
  end
206
207
  end
@@ -1,3 +1,3 @@
1
1
  module Galerts
2
- VERSION = '1.1.0'.freeze unless defined?(::Galerts::VERSION)
2
+ VERSION = '1.1.1'.freeze unless defined?(::Galerts::VERSION)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: galerts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emre Can Yılmaz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-21 00:00:00.000000000 Z
11
+ date: 2015-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  version: '0'
62
62
  requirements: []
63
63
  rubyforge_project:
64
- rubygems_version: 2.4.2
64
+ rubygems_version: 2.4.6
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Ruby library to manage google alerts