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 +4 -4
- data/lib/galerts/manager.rb +2 -1
- data/lib/galerts/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23bf21e68bc36eda926bfd80c99931f1be27a1ad
|
4
|
+
data.tar.gz: 9ab667be0dd065aa6f859cb859581990821ea1b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f30f7053d6887512a8b544444c23c70b8b2242b33d943a69ede6f2497eed26fee9fb8ff3a9b95518636b64e491da63b87e6476ba56e55c11d31bcfc517346ed
|
7
|
+
data.tar.gz: 411c216d1397b20ba1edee99117dba80b12a0b6c66ce1dc666b339db4f3ed88a17ee37676e42eeffe00abb75cadef303f122630d8ea2132ceddcb3d98fac4f76
|
data/lib/galerts/manager.rb
CHANGED
@@ -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
|
-
|
203
|
+
# gsub maybe bad solution for phrases but ... ¯\_(ツ)_/¯
|
204
|
+
find({variable.to_sym => argument.gsub("\\","")})
|
204
205
|
end
|
205
206
|
end
|
206
207
|
end
|
data/lib/galerts/version.rb
CHANGED
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.
|
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-
|
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.
|
64
|
+
rubygems_version: 2.4.6
|
65
65
|
signing_key:
|
66
66
|
specification_version: 4
|
67
67
|
summary: Ruby library to manage google alerts
|