neocities 0.0.4 → 0.0.5

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: b47c273a14c2dfb111eea0803b80eafedcbf7979
4
- data.tar.gz: d9e04d811a9b2a3085fadeba6070cd289e88ce4e
3
+ metadata.gz: fc8567acab05a229147c442cf46dcb8ac0c411ac
4
+ data.tar.gz: e64269881d5f0cf8832fcfba5d0ae0d1b18a2bba
5
5
  SHA512:
6
- metadata.gz: 4f0b7c9757364149cd72dcccfebe2c547947a74f5621e9b3e51dfc8f2062c0d0d7b1448882603dcac1f6049700b086f63f508ed0bb7f34f8215e93a76eb826e6
7
- data.tar.gz: d2b254c6915b430007b969cd537211d4960f722398148ba98f10028ee4c3be5c327ac0a8b36acf5a6be02263eea75b2f256970c41202be10f5da43ba8958ea25
6
+ metadata.gz: b1b550fb524099c129db0e6c76aeb24b4a5232a2839248b8a89cf7306b2e8780a8c2dcdc96cdabec529f120dad89e00c553c9eab3282a7c2cdf779ee3bb1106c
7
+ data.tar.gz: bba3cb4c3b246360b33463b68295e49a83f6be9d0e4a6b1d43058cb6dac030e4c65fbe020989bb69b72f1452af6f3f3577bc6c257828de2c6d79af17d1e88892
@@ -0,0 +1,18 @@
1
+ require 'rubygems'
2
+ require 'rubygems/dependency_installer.rb'
3
+ begin
4
+ Gem::Command.build_args = ARGV
5
+ rescue NoMethodError
6
+ end
7
+ inst = Gem::DependencyInstaller.new
8
+ begin
9
+ if Gem.win_platform?
10
+ inst.install 'openssl-win-root', '~> 1.1'
11
+ end
12
+ rescue
13
+ exit(1)
14
+ end
15
+
16
+ f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w") # create dummy rakefile to indicate success
17
+ f.write("task :default\n")
18
+ f.close
@@ -1,3 +1,8 @@
1
+ begin
2
+ require 'openssl/win/root' if Gem.win_platform?
3
+ rescue
4
+ end
5
+
1
6
  require 'net/http'
2
7
  require 'net/https'
3
8
  require 'json'
@@ -1,3 +1,3 @@
1
1
  module Neocities
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
@@ -15,6 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.executables = ['neocities']
16
16
  spec.test_files = spec.files.grep(%r{^(tests)/})
17
17
  spec.require_paths = ["lib"]
18
+ spec.extensions = ['ext/mkrf_conf.rb']
18
19
 
19
20
  spec.add_dependency 'tty-table', '~> 0.8', '>= 0.8.0'
20
21
  spec.add_dependency 'tty-prompt', '~> 0.12', '>= 0.12.0'
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.4
4
+ version: 0.0.5
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-19 00:00:00.000000000 Z
11
+ date: 2017-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-table
@@ -95,13 +95,15 @@ email:
95
95
  - contact@neocities.org
96
96
  executables:
97
97
  - neocities
98
- extensions: []
98
+ extensions:
99
+ - ext/mkrf_conf.rb
99
100
  extra_rdoc_files: []
100
101
  files:
101
102
  - ".gitignore"
102
103
  - Gemfile
103
104
  - README.md
104
105
  - bin/neocities
106
+ - ext/mkrf_conf.rb
105
107
  - lib/neocities.rb
106
108
  - lib/neocities/cli.rb
107
109
  - lib/neocities/client.rb