governator 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42222b98c784c73697e11f2f674eedc3cf5eb83f
4
- data.tar.gz: c701edfb91d64cf72ecccf422ca6bc8cae6c2e01
3
+ metadata.gz: e83849b1368c34a77c30164f2f862ccda8d7bc2e
4
+ data.tar.gz: 2af4ab9bb776e17a4455539aafeac5d68f4ffeb9
5
5
  SHA512:
6
- metadata.gz: 93519716cd823c984c349b2e4733f6bc7f58298b763077243a3e42a3904c5320cb8bc356951c1134808a35f6d78c52d087f7b93c3aad6821732633e2af1db92a
7
- data.tar.gz: ecac5f3c8c5dc211e64adbcfd958afe1dba7fb774fa3e8537de8f1c608e46c729415ecded329ce9f988010639e2d68060c8cde4e75247275ed47d59c7e35beaf
6
+ metadata.gz: bfa0cdae74b49c0807e90b865e82811a32c490dc5d8c5299a3d22473faca6cc19a228a6c1e5bac0a71389c38af5d785fa67b5fc1959ba602d4ba2100650bc132
7
+ data.tar.gz: 0b003baed9cc21ac5aac09a92e83dd58835f3bbc94c3eb8005d786504889dbe063ca5a232ca41125e349ead6c60be2dc348304f085cbf2647d4a489cfe628a3a
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Governator
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
data/lib/governator.rb CHANGED
@@ -46,6 +46,10 @@ class Governator
46
46
  TwitterClient.config(&block)
47
47
  end
48
48
 
49
+ def twitter_client
50
+ TwitterClient.client
51
+ end
52
+
49
53
  def use_twitter=(boolean)
50
54
  raise ArgumentError, 'value must be Boolean value' unless [true, false].include? boolean
51
55
  @use_twitter = boolean
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: governator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - M. Simon Borg