agile_notifier 2.1.3 → 2.1.4

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
2
  SHA1:
3
- metadata.gz: c0adf699cc943532bb7f0002a035d74032e16d24
4
- data.tar.gz: 7083804b8bda11b32dcc6bca4b2f5148d4d7494b
3
+ metadata.gz: c78f3a5bac969a0cc6f69d75d620318f6bcabedc
4
+ data.tar.gz: 3adf76eb73e16945b7f12d6f8cdc184aa09cc8b5
5
5
  SHA512:
6
- metadata.gz: 84795e1f3f2255496907e2308017f820fb5e0d5aad0d555458f988576b9eec4edc74958ca59eb43708db8feef5cc60adc7304a4bb3eb02b0a1164f4b64d1d57b
7
- data.tar.gz: fb516e64ec83c5977dc31d588ebd38b2a245be71f7d3843172959d6c8149c966ddf973166b43fee5a17b63258f29bdb6d326388f0875c595c5cc7ad8df084ac0
6
+ metadata.gz: 561aa816c522b782932f8aea9da5272bb939d2cac33f2b2ef37618b27dedd1e8f3742480dee1b4e6c89c1924d5c56694589a84ac20d7a8d874d07301ad2d29df
7
+ data.tar.gz: eda22362859b2828cd0e64f3b5e832443ad42da30317862461d7f6a760c47b945f8aec0e3c9365505afe2e74ed8f304cbe812fd0cd60af88892518570a099b5e
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.name = 'agile_notifier'
8
8
  s.version = AgileNotifier::VERSION
9
9
  s.license = 'MIT'
10
- s.date = '2015-03-18'
10
+ s.date = '2015-05-01'
11
11
  s.summary = %q{agile_notifier alerts you via making wonderful noises when your Continuous Integration status changes.}
12
12
  s.description = %q{agile_notifier alerts you via making wonderful noises when your Continuous Integration status changes. It totally makes software development more agile and more fun.}
13
13
  s.authors = ['Jing Li']
@@ -1,5 +1,5 @@
1
1
  Dir[(File.expand_path(File.dirname(__FILE__)) + "/agile_notifier/*.rb")].each { |file| require file }
2
2
 
3
3
  module AgileNotifier
4
- VERSION = '2.1.3'
4
+ VERSION = '2.1.4'
5
5
  end
@@ -69,7 +69,7 @@ module AgileNotifier
69
69
  else
70
70
  list_of_available_voices = `say -v '?'`.split("\n")
71
71
  voices = list_of_available_voices.inject({}) do |collection, record|
72
- matched_results = record.match(/^(.*[^\s])\s+([a-z]{2})_[A-Z]{2}\s+/)
72
+ matched_results = record.match(/^(.*[^\s])\s+([a-z]{2})[_-][a-zA-Z]{2,}\s+/)
73
73
  available_language = matched_results[2].downcase.intern
74
74
  available_voice = matched_results[1]
75
75
  if collection.has_key?(available_language)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agile_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jing Li
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-18 00:00:00.000000000 Z
11
+ date: 2015-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json