kinja 0.0.9 → 0.0.10

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: 42e56c6157ae8376d8a7560a9675286dccc66d58
4
- data.tar.gz: b1d9497cc43198a073754b9fe9b1e326b62969d0
3
+ metadata.gz: 34842e733740822d8cb56c6ed90ad4acf159c875
4
+ data.tar.gz: e2bf5cff7a3a4d2c12b0836b54d92acbd225c365
5
5
  SHA512:
6
- metadata.gz: 186b1d8b6482adf56e48799a2637cd39e8cf6ad3de8381a9f42ce6edf523d6a7f637c8fe4b934c9d282f18f82d3a8e17a9c3feaa5ec64bea311dd831c3579562
7
- data.tar.gz: 1309abe2819c359fb39fd3fdebc52ce42cac52e9128b65df2b1c4e4e367a159ff172257f50d7244c7384a05b562324f1acb2f7d6905ffb246c9620493e56736b
6
+ metadata.gz: dcdb5e8efbcf184e13192e37c965a7977e869301f8821709159521cd55a00e92aa39662158c70a426eafbe4ace1586048ae907bbd22aeedcd4fe8767cd013b08
7
+ data.tar.gz: f2b8758b3c87f0b5ea1cdb8cc3539a905219314416eff11ba4b6edb87577de7e20a763a764450846ee0db7f99244f7a88a8d125303f75f67927e1f1f7036dee7
data/README.md CHANGED
@@ -22,7 +22,7 @@ Or install it yourself as:
22
22
 
23
23
  ```ruby
24
24
  # Create an instance of the kinja client
25
- client = Kinja::Client.new(
25
+ client = Kinja.new(
26
26
  user: "username",
27
27
  password: "password"
28
28
  )
data/lib/kinja/client.rb CHANGED
@@ -22,7 +22,7 @@ module Kinja
22
22
  end
23
23
 
24
24
  def login
25
- response = HTTParty.get "#{API_ROOT}#{LOGIN_PATH}?screenName=#{@username}&token=#{@pass}"
25
+ response = HTTParty.get "#{API_ROOT}#{LOGIN_PATH}?screenName=#{URI.encode @username}&token=#{URI.encode @pass}"
26
26
  @user = response["data"]
27
27
  response
28
28
  end
data/lib/kinja/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kinja
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kinja
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Pash
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-14 00:00:00.000000000 Z
11
+ date: 2015-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty