neocities 0.0.7 → 0.0.8

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
- SHA1:
3
- metadata.gz: a7fc3c5a5006cc43a1d376c76c016af351a0b577
4
- data.tar.gz: 34b8fc7ddd3bac03b081855fc589a3e09d9e49ce
2
+ SHA256:
3
+ metadata.gz: d9cbfa0d3fa2c969d028cb8d0eba7ea9780b3cd68947e9997d078e1e61324473
4
+ data.tar.gz: 875dacbb2710af70d4b5279b2377dc0f7ec74fe15576d465ae77ad0afcd85f09
5
5
  SHA512:
6
- metadata.gz: f83a532c0b208f5f73d77fa8727a439df85baac46ff9a0dcb746d38ca78497af68c1a6d924204b394a025ef419149dcdb2595dbb48192bf7484bad611fd77d76
7
- data.tar.gz: 294cf5bd9ef2413b8196fd7ad156e142b6d680f51166fff2f0ae1c277cf983cbb93aff446bf0e27f51ea5daee0afe5200fc298e2b57467d8e26b9bb64a24e5fa
6
+ metadata.gz: 4f389f7d481de46eaf9ec80357de0d3227f40f2fbab361c10c768489937a596e4773caf4a44aa1053044b7f441e69f0258f5295c68b85c759ae3820640199664
7
+ data.tar.gz: 837c20dfd269df37dff67d0467b61a0256fc0153df114ffa115a78a66bf2a2b113f7d7061d9fb8b4617ddb44f623d1bbcb84f0d32eb33dcf2647d280fdc7fb4c
data/lib/neocities/cli.rb CHANGED
@@ -61,10 +61,10 @@ module Neocities
61
61
 
62
62
  @client = Neocities::Client.new sitename: @sitename, password: @password
63
63
 
64
- res = @client.key
65
- if res[:api_key]
64
+ resp = @client.key
65
+ if resp[:api_key]
66
66
  FileUtils.mkdir_p Pathname(@app_config_path).dirname
67
- File.write @app_config_path, res[:api_key]
67
+ File.write @app_config_path, resp[:api_key]
68
68
  puts "The api key for #{@pastel.bold @sitename} has been stored in #{@pastel.bold @app_config_path}."
69
69
  else
70
70
  display_response resp
@@ -1,3 +1,3 @@
1
1
  module Neocities
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neocities
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Drake
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-22 00:00:00.000000000 Z
11
+ date: 2018-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-table
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.6.11
132
+ rubygems_version: 2.7.3
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Neocities.org CLI and API client