gemtoabox 0.1.3 → 0.1.4

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: a20803e57eada9d4fe6c8e14034fcd1175fff469
4
- data.tar.gz: 56e5627c4ae8850fb8ee8db50ab7611e1b7b0825
3
+ metadata.gz: 343f595a334b4c2a223d8c7064800f8872be5346
4
+ data.tar.gz: df78c612a7fc49384590174d12305d847817b5e2
5
5
  SHA512:
6
- metadata.gz: 5dfda2e60673f1016d478d9396118e3c61411ce46ff41cb8e8cca0f63551931318aeead74f6a28eae1eec47a0764d51ac28f5152d35632dedade507428eb858d
7
- data.tar.gz: b1ea672deb5473aa3624e0de14aba1f319a1e7530dee6b52f2617a1856d364d1c26cd54fc6e5608c38117111011f787c54ec3ce777beeddaeac8cff6aaafe9d9
6
+ metadata.gz: 170173b1774d1a011369b597176f0cabbfcf8ad356701f3250825a0d117dd3a2c1f03d2d1c3af82ff6b27c2753ed59146716ca5a7afa3448b0f9ed535863163f
7
+ data.tar.gz: ad6503d31702ba5d1007ec2da0013d38e601e750b847b7b3c33f499c44d6fb1278e15a32020f2ea6b7bf0812667d7bbe7650475cc4db0b706dfedc703f6b1555
data/.gitignore CHANGED
@@ -9,4 +9,4 @@
9
9
  /lib/test.rb
10
10
  /tmp/
11
11
  /vendor/
12
- /.idea/
12
+ /.idea/
data/README.md CHANGED
@@ -7,7 +7,6 @@ All you need is to specify path to your project Gemfile and all your gems will b
7
7
  - Gems dependencies resolving operation performs on your machine, on your environment.
8
8
  That means you may be sure you save exact same gems versions you use on your project.
9
9
  - Easy to use - just run executable bin file with your patamaters.
10
- <<<<<<< HEAD
11
10
  - Extremely easy to deploy your own rebygem server with [geminabox](https://hub.docker.com/r/spoonest/geminabox) docker image:
12
11
 
13
12
  ```bash
@@ -15,9 +14,6 @@ docker run -d --name geminabox -e RUBYGEMS_PROXY=true -e PRIVATE=true \
15
14
  -v /local_path_where_to_store_gems:/webapps/geminabox/data -p 9292:9292 -P -h geminabox \
16
15
  -e USERNAME=myuser -e PASSWORD=mypassword spoonest/geminabox:latest
17
16
  ```
18
- =======
19
- - Extremely easy to deploy your own rebygem server with [geminabox](https://hub.docker.com/r/spoonest/geminabox) docker image.
20
- >>>>>>> 5c2455691135a628b5dfc5b040424253df0c3035
21
17
 
22
18
  ###### Disadvantages
23
19
  - This gem doesn't have any tests so feel free to contribute.
@@ -12,8 +12,8 @@ require "#{Pathname.new(__FILE__).parent.parent}/lib/gemtoabox"
12
12
  include Gemtoabox
13
13
 
14
14
  # parse options
15
- require 'trollop'
16
- opts = Trollop::options do
15
+ require 'optimist'
16
+ opts = Optimist::options do
17
17
  opt :gemfile, 'path to Gemfile', :type => :string
18
18
  opt :host, 'Geminabox host in format http://<USER>:<PASSWORD>@<HOST>:<PORT>', :type => :string
19
19
  opt :overwrite, 'Overwrite gems on versions conflicts'
@@ -23,4 +23,3 @@ p = Project.new
23
23
  p.add_gemfile(opts[:gemfile])
24
24
  GemsUploader.upload(from: p.extract_gems, to: opts[:host], overwrite: opts[:overwrite])
25
25
  p.rm_project
26
-
@@ -24,5 +24,5 @@ All you need is to specify path to your project Gemfile. }
24
24
  spec.add_development_dependency 'rake', '~> 10.0'
25
25
  spec.add_development_dependency 'rspec', '~> 3.2', '>= 3.2.0'
26
26
  spec.add_dependency 'geminabox', '~> 0.13', '>= 0.13.0'
27
- spec.add_dependency 'trollop', '~> 2.1', '>= 2.1.2'
27
+ spec.add_dependency 'optimist', '~> 3.0'
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module Gemtoabox
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemtoabox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yury Karpovich
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-11 00:00:00.000000000 Z
11
+ date: 2019-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -79,25 +79,19 @@ dependencies:
79
79
  - !ruby/object:Gem::Version
80
80
  version: 0.13.0
81
81
  - !ruby/object:Gem::Dependency
82
- name: trollop
82
+ name: optimist
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - "~>"
86
86
  - !ruby/object:Gem::Version
87
- version: '2.1'
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: 2.1.2
87
+ version: '3.0'
91
88
  type: :runtime
92
89
  prerelease: false
93
90
  version_requirements: !ruby/object:Gem::Requirement
94
91
  requirements:
95
92
  - - "~>"
96
93
  - !ruby/object:Gem::Version
97
- version: '2.1'
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- version: 2.1.2
94
+ version: '3.0'
101
95
  description: "This gem provides the ability to backup your project gems to the private
102
96
  rubygem hosting on remote or local machine.\nAll you need is to specify path to
103
97
  your project Gemfile. "