board-linuxfr 0.1.2 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b458d7b60416a78b3e52643ad504e4862f79978a
4
- data.tar.gz: 055d6440ab4b22a08875aa1b472900e094a23c2f
2
+ SHA256:
3
+ metadata.gz: 4971b7e233998fbbad50b4b64b1ff985149a1b36082665d5d28614a947564dfc
4
+ data.tar.gz: d5a1cddc715242595bbbce4009e719af50d089ffd84bbff3d5305d34029588fe
5
5
  SHA512:
6
- metadata.gz: b7935740cbe3770d22131bf73eb2b937276b4ed121b8e949096dad83c2ccde8703d430907fe85985e5fc5b86a33b2ea06929df7bbea3f8a5dcc21887098617cc
7
- data.tar.gz: ace459a709aa80f09544a371939d00304399bab28601441df1e67d6dbe1a424cb3be50d31d63746a8d77e94bd29984699f33407ea738434e8a2f2fbe33436178
6
+ metadata.gz: 147a702c34673afda43b8de5f032d816888bb490e8acc0e02b6a0976c26d40356519e75309de4177885d84b08e88f8128dc3a54a5011441fa9cc2cdf0215bef6
7
+ data.tar.gz: f9820594822bd3146386d2cf266a54978e800c6eba8ec01e2941aba9faac0c050fd3e26af440600ae03c600077f8162ff6ad0f01a938e9f9be21df2a1c6b39ba
@@ -12,7 +12,7 @@ class BoardLinuxfr
12
12
  found = false
13
13
  each do |item|
14
14
  blk.call item if found
15
- found ||= item[:id] == id
15
+ found ||= item.first == id
16
16
  end
17
17
  end
18
18
  end
@@ -12,7 +12,7 @@ class BoardLinuxfr
12
12
  @logger = logger
13
13
  @chans = status[:channels] = Hash.new { |h,k| h[k] = EM::Channel.new }
14
14
  @cache = status[:cache] = Cache.new
15
- @redis = Redis.new
15
+ @redis = Redis.new(host: ENV['REDIS_HOST'] || "localhost", port: ENV['REDIS_PORT'] || 6379)
16
16
  end
17
17
 
18
18
  def run
@@ -1,3 +1,3 @@
1
1
  class BoardLinuxfr
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: board-linuxfr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Michel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-27 00:00:00.000000000 Z
11
+ date: 2020-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: goliath
@@ -93,7 +93,7 @@ files:
93
93
  - lib/board-linuxfr/monkeypatch.rb
94
94
  - lib/board-linuxfr/redis_plugin.rb
95
95
  - lib/board-linuxfr/version.rb
96
- homepage: https://github.com/nono/board-sse-linuxfr.org
96
+ homepage: https://github.com/linuxfrorg/board-sse-linuxfr.org
97
97
  licenses: []
98
98
  metadata: {}
99
99
  post_install_message:
@@ -111,8 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  requirements: []
114
- rubyforge_project:
115
- rubygems_version: 2.2.0
114
+ rubygems_version: 3.1.2
116
115
  signing_key:
117
116
  specification_version: 4
118
117
  summary: Push notifications for the board of LinuxFr.org via Server-Sent Events