evertils-common 0.2.8 → 0.2.8.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: dd6cb83a9efd15fbcc5e8ee17814b043e0ce2ff7
4
- data.tar.gz: 48a892fd2bac2c342dcd7383b1c485265d36ab63
3
+ metadata.gz: 1c30e6cb6ff2335d7e36f00a90ea76eb7e788aab
4
+ data.tar.gz: 567506aab542e5f4645f2c820fcbf88b7fef1458
5
5
  SHA512:
6
- metadata.gz: 15c8e4737dffe59ab83704ae21fc2f25ea75e2a7e706e322e699ee27e40faca7215c65375ef282a668e4c909fb796d496afa87351bdb9fd6e416cf2e8093309e
7
- data.tar.gz: c4b22fbfc554cb0b38c8a2a6fddad891c5e99694b60b08fc06fdd66acd835e1947754637a12d9e1f724fc576c164508c4e23d7dd128f17f0390cfaad916e5e6e
6
+ metadata.gz: d8d95e2f356190553aa621284c25b281aee4211c7be127202b7824587911c9fcec7cdf9d94f5348b635ac2066685e5565051efc9badaa0fbfde43077fff0a872
7
+ data.tar.gz: 8a56ddf4f025d5e81d073dc4890c4ff17fcb0eb2e087265c2d8e55eb1bc117af72824c9756af430b9aa5a1318dd09cb5fa474e05355cd3e624bb536fea0b0819
@@ -39,6 +39,7 @@ module Evertils
39
39
  when 19
40
40
  minutes = (e.rateLimitDuration/60).to_i
41
41
  Notify.warning("You are rate limited! Wait #{minutes} minutes")
42
+ exit(0)
42
43
  end
43
44
  end
44
45
  end
@@ -91,8 +91,10 @@ module Evertils
91
91
  end
92
92
 
93
93
  def exists?(name)
94
- notes = Notes.new
95
- notes.findAll(name).totalNotes > 0
94
+ # notes = Notes.new
95
+ # notes.find_all(name).size > 0
96
+ return true if find(name).guid
97
+ false
96
98
  end
97
99
 
98
100
  def destroy(name)
@@ -1,7 +1,7 @@
1
1
  module Evertils
2
2
  module Common
3
3
 
4
- VERSION = "0.2.8"
4
+ VERSION = "0.2.8.1"
5
5
 
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evertils-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Priebe