twuckoo 0.5.2 → 0.5.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: 5084628fd99ac6c36ce572e0c30a150233c2dec6
4
- data.tar.gz: e360bfc8272a1917a14e315464d14e27792d1e1f
3
+ metadata.gz: 9e0da30af484014f0edecddc44459957334539d7
4
+ data.tar.gz: 6700134df35fdd23e627d27bae164caa36108345
5
5
  SHA512:
6
- metadata.gz: a0073530575514f57b11df36a845de30f400dde5c9fe0d6e2ba7e98b0ba8434026c32d76b649d6c37e09cf9791bc1b330a5641ff28452cff704d0fb6e83c1558
7
- data.tar.gz: 699706841b081c8ec39cd1a8f018b4acdcb6ff986e2dfce0166662299ae6b6869e8a8951692ffa7841078190df83f407fb84d77d71aa8e3a5e897236451b8f7e
6
+ metadata.gz: 51cf21583a157e6367e024645bf40595c00a927ab6d4c9c6cc623bbdc3337e4b6421076ec821edf09eca1d64c8c90c6c058aa9a0129c780370c9d99fe103205c
7
+ data.tar.gz: df7e5f1efb9263be222580ac7234b7c3dc54aef584de052071b562af78f907c9357007a31f27fa6a662d99d000d45ba400bfcff3015c9b010d2c6857ac13d5cd
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- twuckoo (0.5.2)
4
+ twuckoo (0.5.3)
5
5
  hpricot (>= 0.6.164)
6
6
  mail (>= 1.6.0)
7
7
  tlsmail (>= 0.0.1)
@@ -1,4 +1,7 @@
1
1
  require 'bundler/setup'
2
2
  require 'pry'
3
3
 
4
- # pry
4
+ desc "Launch a pry console with all dependencies loaded"
5
+ task :console do
6
+ pry
7
+ end
@@ -2,7 +2,7 @@ module Twuckoo
2
2
  class Config < Hash
3
3
  #TODO: Get rid of this mess
4
4
  def initialize
5
- self[:time_to_sleep] = "0"
5
+ self[:time_to_sleep] = "1d"
6
6
  self[:tweet_limit] = 0
7
7
  end
8
8
  end
@@ -40,9 +40,7 @@ module Twuckoo
40
40
  end
41
41
 
42
42
  def get_unused_lines
43
- unused_lines = get_all_lines.reject { |line| get_used_lines.include?(line) }
44
- p unused_lines
45
- unused_lines
43
+ get_all_lines.reject { |line| get_used_lines.include?(line) }
46
44
  end
47
45
 
48
46
  def load_lines
@@ -21,7 +21,6 @@ class Twuckoo::Runner
21
21
  @feeder.load_tweets
22
22
  next_tweet = @feeder.next
23
23
  #TODO: Fetching @feeder.next twice seems too complicated
24
- p next_tweet
25
24
  while (next_tweet and !tweet_limit_reached?) do
26
25
  tweet(next_tweet)
27
26
  wait if wait_between_tweets?
@@ -1,3 +1,3 @@
1
1
  module Twuckoo
2
- VERSION = '0.5.2'
2
+ VERSION = '0.5.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twuckoo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Balint Erdi