galerts 1.0.3 → 1.0.4
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 +1 -1
- data/lib/galerts/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c455653dd703ffc1d60a50b97e9303fc122bf72
|
4
|
+
data.tar.gz: 60c18abf59c81649d8ea21b234ad6628976f4e52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d51f6f0962f66e0ce8cc4fed2cbe72b409999d5420e86e3988f54e9cbe6e0a83b46fbe59467c52ceff26c55d7926f875b35657adfa89b087038df92db577723d
|
7
|
+
data.tar.gz: 7de10b5c541dd19361695dac98b5611180bc2299ae696e7fd78fd5c6c67a0073be92fe31d7672902aef1e19917ae98afc7da8a46bffe4f510b804918a4629099
|
data/lib/galerts/manager.rb
CHANGED
@@ -126,7 +126,7 @@ module Galerts
|
|
126
126
|
def create(query, options = {})
|
127
127
|
alert = Alert.new(query, options)
|
128
128
|
|
129
|
-
x = alerts_page.css('div#gb-main div.main-page script').text.split(',').
|
129
|
+
x = alerts_page.css('div#gb-main div.main-page script').text.split(',').grep(/AMJH/).first.tr('"/\"','')
|
130
130
|
response = @agent.post("#{CREATE_ALERT_URL}x=#{x}", build_params(alert, 0), {'Content-Type' => 'application/x-www-form-urlencoded'})
|
131
131
|
|
132
132
|
if response.body == ALERT_EXIST
|
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.0.
|
4
|
+
version: 1.0.4
|
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: 2014-
|
11
|
+
date: 2014-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mechanize
|