himtwiauth 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
2
  SHA1:
3
- metadata.gz: 4a9dce8d19af6d12849ee9742cbeac5564fd6d57
4
- data.tar.gz: 2ef60d8afe2fd21b75534be96d29a8ec782583d9
3
+ metadata.gz: b7e37b3dea4f9e7ada23179d2fabb7b819cec2b6
4
+ data.tar.gz: 54bef4549143903e0d6274a51b47e84db20c0bf4
5
5
  SHA512:
6
- metadata.gz: 74e93271c9d0426d8a748eee37a8137138db4afbc0fa40d81eb368e0e4bbbb42d7beca6d0aa30d3f2efc74dd33fa032d83ca1090265a7a6f638f2b58a10fe047
7
- data.tar.gz: 4fa76ac666b1af9fc937b7e41405cf3576642dc1c11bb506d9ba5deecd5489d718db1234624ad3ddfa20d6bd951193fc3f67fef308870331d241fb1f53e0d00a
6
+ metadata.gz: a06e042cd2b137630c6cdee74ef3303d89dcedaa392f3ff5e88b3bda5e9398d8ebc022b38be0461a8bc8e89d161a891db6c16058d3ceca696676c535542f2e5f
7
+ data.tar.gz: b57e6541d37641b417d7ead5c501d3658d6f07daa8f191a74e36d6ddf712e2b10a11cda12cbd4f00bc60939338d3aa534fa01481888a544d11c29b95bcf32e55
@@ -1,3 +1,3 @@
1
1
  module Himtwiauth
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/himtwiauth.rb CHANGED
@@ -4,11 +4,8 @@ require 'twitter'
4
4
  require 'yaml'
5
5
 
6
6
  module Himtwiauth
7
- # Your code goes here...
8
-
9
7
  def self.set_pass(screen_name, path_to_yaml)
10
8
  hashed_pass = YAML.load_file(path_to_yaml)
11
- p hashed_pass
12
9
  pass = Hash.new
13
10
  pass[:consumer_key] = hashed_pass['twitter'][screen_name]['consumer_key']
14
11
  pass[:consumer_secret] = hashed_pass['twitter'][screen_name]['consumer_secret']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: himtwiauth
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
  - Makoto Hiramatsu