beerbot 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/RunIRC.rb +4 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5711f62c9ce4965a324d3578b5555761d8c493ef
4
- data.tar.gz: 61bdaff04c5ae69702858f623316671d305b5474
3
+ metadata.gz: b63fcda572d39a2ff6d91a9c9d8f44cc188e5e01
4
+ data.tar.gz: 2b9a1a096feac44e1f8866273c067e860b0786be
5
5
  SHA512:
6
- metadata.gz: 5551c5b99e88f48ed52bbc6d3ee3581d8842c9e841551919cdeb2fc37034206239543be1228f47b509d83fe6c7a04a09134b06ff09bbb90d8540a95c96b18497
7
- data.tar.gz: 4e189c7c8ac1ba58f3874a8e78cebaf7fdb01b29bc3702830fa43aeec1fd0fbce1afc0495eccc0a26c515be398b27b43e70251245f08d1c0cd146ae1912d6385
6
+ metadata.gz: ade4864380a1c71ba8309e104dd5d54b1a2acfca192819ee0b9e92ddc992fc88cd477786111f8e9f254c84a1994d8a43ff889afd510e004bd257286a35ceef22
7
+ data.tar.gz: 5d3c3c99e58ce189b476d4d308688884427af2889d98cb5f1f4fac1427c09dd2f42fff7fdd79ba3432fa82639397c8ad3962dd5349822dfe4ff492fa709a2d77
data/lib/RunIRC.rb CHANGED
@@ -48,6 +48,10 @@ class BeerBot::RunIRC
48
48
  # Create the bot.
49
49
  @bot = Bot.new(@module_path,config['modules'])
50
50
 
51
+ # Create a world associated with this irc connection.
52
+ # (lists channels and users we know about)
53
+ @world = IRCWorld.new(config['nick'])
54
+
51
55
  # Dispatcher which receives messages and interacts with the bot.
52
56
  @dispatcher = IRCDispatcher.new(
53
57
  @bot,
@@ -58,9 +62,6 @@ class BeerBot::RunIRC
58
62
 
59
63
  # Set up scheduler (this doesn't start it yet)...
60
64
  @scheduler = Scheduler.instance(config['timezone'])
61
- # Create a world associated with this irc connection.
62
- # (lists channels and users we know about)
63
- @world = IRCWorld.new(config['nick'])
64
65
 
65
66
  # Create but don't open the irc connection.
66
67
  @conn = IRCConnection.new(
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beerbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Bush