smess 2.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/smess.rb +5 -1
  3. data/lib/smess/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e1da1bd648e95236f325b5c70c5bc274ab92944b
4
- data.tar.gz: 16069db6c4ce54709459b595cda9dee7d0e49341
3
+ metadata.gz: aaba6fd9fa1a78db449e8a3af93aee08c48e8a2f
4
+ data.tar.gz: d784db562b65e6c242438079d3988889e11bb04e
5
5
  SHA512:
6
- metadata.gz: ce971172a2b5b55238d41ea7c2be8281b1e9b5e247caf30b8257f275e769724042627339b5eb5fa269598f9033af5f39bd9cfd17aca4617c96ab12431c8686f1
7
- data.tar.gz: 8a5a83d00200e89236edbba2d62475f2d43049d96749adc3beda74d17864bccfd6b2d2d7bdd3d0d302bd6a8149b05a65a5276ddfb4d508065ebcb9c0e4c20778
6
+ metadata.gz: ac3cd9540203b86a833e5a05b838c2aa9c649d71d2a59dedeca2a83567e96eda5d254014b668b7af2bcf0a9495e5dedd20a9e235c7b4c7b4453a4921a7969f2a
7
+ data.tar.gz: f7b26d823cae7079266832ee4e279082827130fae200cabde2882fa446f648cdd3b77f851534c85fae3739ee1b4acc86f06a7b6453f3c43b5c68b0624c46b304
@@ -59,9 +59,13 @@ module Smess
59
59
  @default_output = nil
60
60
  @default_sender_id = "Smess"
61
61
  @output_types = %i{auto card_board_fish clickatell global_mouth iconectiv mblox smsglobal twilio}
62
- @configured_outputs = {test: {type: :test, config: nil}}
62
+ @configured_outputs = {}
63
63
  @output_by_country_code = {}
64
64
 
65
+ if ENV["RAILS_ENV"] == "test"
66
+ @configured_outputs = {test: {type: :test, config: nil}}
67
+ end
68
+
65
69
  register_output({
66
70
  name: :auto,
67
71
  country_codes: [],
@@ -1,3 +1,3 @@
1
1
  module Smess
2
- VERSION = '2.0'
2
+ VERSION = '2.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smess
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.0'
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Westin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-20 00:00:00.000000000 Z
11
+ date: 2016-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec