neocities 0.0.4 → 0.0.5
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 +4 -4
- data/ext/mkrf_conf.rb +18 -0
- data/lib/neocities/client.rb +5 -0
- data/lib/neocities/version.rb +1 -1
- data/neocities.gemspec +1 -0
- metadata +5 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: fc8567acab05a229147c442cf46dcb8ac0c411ac
         | 
| 4 | 
            +
              data.tar.gz: e64269881d5f0cf8832fcfba5d0ae0d1b18a2bba
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: b1b550fb524099c129db0e6c76aeb24b4a5232a2839248b8a89cf7306b2e8780a8c2dcdc96cdabec529f120dad89e00c553c9eab3282a7c2cdf779ee3bb1106c
         | 
| 7 | 
            +
              data.tar.gz: bba3cb4c3b246360b33463b68295e49a83f6be9d0e4a6b1d43058cb6dac030e4c65fbe020989bb69b72f1452af6f3f3577bc6c257828de2c6d79af17d1e88892
         | 
    
        data/ext/mkrf_conf.rb
    ADDED
    
    | @@ -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
         | 
    
        data/lib/neocities/client.rb
    CHANGED
    
    
    
        data/lib/neocities/version.rb
    CHANGED
    
    
    
        data/neocities.gemspec
    CHANGED
    
    | @@ -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 | 
            +
              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- | 
| 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
         |