mfms 0.5.0 → 0.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1885c219afb77f43d4de0478714caea2aa62df46
4
- data.tar.gz: 44e354b62416e7420c1684faa7e8612486d7aa7d
3
+ metadata.gz: 68b6c8c740eba9f28d326f0c7d92a01724941a6c
4
+ data.tar.gz: 736b36e41793fdb54ff6682ff3ff454a57bc3d7a
5
5
  SHA512:
6
- metadata.gz: 377f4c1501d3b0dc1588dea6737dea7bc2cd0480ba55e26542fb386e30ab5817d825381593da29adebb937085b935d16315bde48988e36c9ee7f180aa877c011
7
- data.tar.gz: 87d326c331b441289a3f25616dd90ba4583e4c599c9c6cfc352ae90de98b17191f60b2e7eff9b9fab430372c78caaf68ce0344484175de38cdb1071557cb572d
6
+ metadata.gz: c64acbf8a7746ed55f88dc4aec903025073096b82baf7336b0aa9138599be100ecd05b7acd7df70952e15742add66eb3bcb53ce57dd7b5177c82a349cc1828e7
7
+ data.tar.gz: 16bbc5a7c37ceb3bc08b0132730df9c2f31fc26ccd3d31e5a92475e1c1ed0008482c8fe3b22961a69992a367de99ba0dadb424b04ea89bf23b8c4ba6b45519ba
@@ -10,12 +10,12 @@ module Mfms
10
10
  attr_accessor :phone, :subject, :message
11
11
  attr_reader :id, :status
12
12
 
13
- def initialize(phone, subject, message, translit = @@translit)
13
+ def initialize(phone, subject, message, translit = nil)
14
14
  @phone = phone
15
15
  @subject = subject
16
16
  @message = message
17
17
  @status = 'not-sent'
18
- @translit = translit
18
+ @translit = translit.nil? ? @@translit : translit
19
19
 
20
20
  validate!
21
21
  end
@@ -2,7 +2,7 @@ module Mfms
2
2
  class Version
3
3
  MAJOR = 0
4
4
  MINOR = 5
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  def self.to_s
8
8
  "#{MAJOR}.#{MINOR}.#{PATCH}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mfms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fokin Eugene
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-30 00:00:00.000000000 Z
12
+ date: 2015-12-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: russian