workin 0.1.0
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 +7 -0
- data/.gitignore +8 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +91 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +47 -0
- data/bin/workin +49 -0
- data/lib/files/pt-BR.yml +207 -0
- data/lib/files/requireds.rb +26 -0
- data/lib/workin.rb +45 -0
- data/lib/workin/tools.rb +10 -0
- data/lib/workin/version.rb +4 -0
- data/workin.gemspec +45 -0
- metadata +407 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: eb5a2015dfdb5e926857187bc3fe58d12ec1380b
|
|
4
|
+
data.tar.gz: bc4c856d403c1cc09253763504a8631d4d09df82
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 7048f9831c2b16edbbb295473ad6f53b417eae995c603cce4b60765f9919f57d16e807f748cd10efa8777fc17f6381fe731f5390b1b5ef844efa2472924df262
|
|
7
|
+
data.tar.gz: bcc6f642c613a1f2977968794b7c78dac7594c7d3cd66af8e98c9b8054e44ad34916c714fe0664c4a0be05cee951818da30a092da45fe214dd044eca0a46999e
|
data/.gitignore
ADDED
data/.ruby-gemset
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
workin
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ruby-2.4.1
|
data/CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
|
10
|
+
orientation.
|
|
11
|
+
|
|
12
|
+
## Our Standards
|
|
13
|
+
|
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
|
15
|
+
include:
|
|
16
|
+
|
|
17
|
+
* Using welcoming and inclusive language
|
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
|
19
|
+
* Gracefully accepting constructive criticism
|
|
20
|
+
* Focusing on what is best for the community
|
|
21
|
+
* Showing empathy towards other community members
|
|
22
|
+
|
|
23
|
+
Examples of unacceptable behavior by participants include:
|
|
24
|
+
|
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
+
advances
|
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
+
* Public or private harassment
|
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
|
30
|
+
address, without explicit permission
|
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
+
professional setting
|
|
33
|
+
|
|
34
|
+
## Our Responsibilities
|
|
35
|
+
|
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
|
38
|
+
response to any instances of unacceptable behavior.
|
|
39
|
+
|
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
|
44
|
+
threatening, offensive, or harmful.
|
|
45
|
+
|
|
46
|
+
## Scope
|
|
47
|
+
|
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
|
49
|
+
when an individual is representing the project or its community. Examples of
|
|
50
|
+
representing a project or community include using an official project e-mail
|
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
|
53
|
+
further defined and clarified by project maintainers.
|
|
54
|
+
|
|
55
|
+
## Enforcement
|
|
56
|
+
|
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
+
reported by contacting the project team at francisco@corp.globo.com. All
|
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
|
63
|
+
|
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
|
66
|
+
members of the project's leadership.
|
|
67
|
+
|
|
68
|
+
## Attribution
|
|
69
|
+
|
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
|
72
|
+
|
|
73
|
+
[homepage]: http://contributor-covenant.org
|
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
workin (0.1.0)
|
|
5
|
+
awesome_print (~> 1.7, >= 1.7.0)
|
|
6
|
+
colorize (~> 0.7.7)
|
|
7
|
+
dnsruby
|
|
8
|
+
gem-man (~> 0.3, >= 0.3.0)
|
|
9
|
+
highline
|
|
10
|
+
i18n (~> 0.7, >= 0.7.0)
|
|
11
|
+
ipaddress (~> 0.8, >= 0.8.0)
|
|
12
|
+
ipcalc (~> 1.0, >= 1.0.0)
|
|
13
|
+
net-ssh
|
|
14
|
+
netaddr (~> 1.5, >= 1.5.0)
|
|
15
|
+
prompt (~> 1.2, >= 1.2.2)
|
|
16
|
+
public_suffix
|
|
17
|
+
rest-client (~> 1.8, >= 1.8.0)
|
|
18
|
+
ruby-progressbar
|
|
19
|
+
thor (~> 0.19.1)
|
|
20
|
+
tty-prompt (~> 0.7, >= 0.7.1)
|
|
21
|
+
xml-simple (~> 1.1, >= 1.1.5)
|
|
22
|
+
|
|
23
|
+
GEM
|
|
24
|
+
remote: https://rubygems.org/
|
|
25
|
+
specs:
|
|
26
|
+
awesome_print (1.8.0)
|
|
27
|
+
colorize (0.7.7)
|
|
28
|
+
concurrent-ruby (1.0.5)
|
|
29
|
+
dnsruby (1.60.2)
|
|
30
|
+
domain_name (0.5.20180417)
|
|
31
|
+
unf (>= 0.0.5, < 1.0.0)
|
|
32
|
+
equatable (0.5.0)
|
|
33
|
+
gem-man (0.3.0)
|
|
34
|
+
highline (2.0.0)
|
|
35
|
+
hitimes (1.3.0)
|
|
36
|
+
http-cookie (1.0.3)
|
|
37
|
+
domain_name (~> 0.5)
|
|
38
|
+
i18n (0.9.5)
|
|
39
|
+
concurrent-ruby (~> 1.0)
|
|
40
|
+
ipaddress (0.8.3)
|
|
41
|
+
ipcalc (1.0.0)
|
|
42
|
+
mime-types (2.99.3)
|
|
43
|
+
minitest (5.11.3)
|
|
44
|
+
necromancer (0.4.0)
|
|
45
|
+
net-ssh (5.0.2)
|
|
46
|
+
netaddr (1.5.1)
|
|
47
|
+
netrc (0.11.0)
|
|
48
|
+
pastel (0.7.2)
|
|
49
|
+
equatable (~> 0.5.0)
|
|
50
|
+
tty-color (~> 0.4.0)
|
|
51
|
+
prompt (1.2.2)
|
|
52
|
+
public_suffix (3.0.2)
|
|
53
|
+
rake (10.5.0)
|
|
54
|
+
rest-client (1.8.0)
|
|
55
|
+
http-cookie (>= 1.0.2, < 2.0)
|
|
56
|
+
mime-types (>= 1.16, < 3.0)
|
|
57
|
+
netrc (~> 0.7)
|
|
58
|
+
ruby-progressbar (1.9.0)
|
|
59
|
+
thor (0.19.4)
|
|
60
|
+
timers (4.1.2)
|
|
61
|
+
hitimes
|
|
62
|
+
tty-color (0.4.2)
|
|
63
|
+
tty-cursor (0.5.0)
|
|
64
|
+
tty-prompt (0.16.1)
|
|
65
|
+
necromancer (~> 0.4.0)
|
|
66
|
+
pastel (~> 0.7.0)
|
|
67
|
+
timers (~> 4.0)
|
|
68
|
+
tty-cursor (~> 0.5.0)
|
|
69
|
+
tty-reader (~> 0.3.0)
|
|
70
|
+
tty-reader (0.3.0)
|
|
71
|
+
tty-cursor (~> 0.5.0)
|
|
72
|
+
tty-screen (~> 0.6.4)
|
|
73
|
+
wisper (~> 2.0.0)
|
|
74
|
+
tty-screen (0.6.4)
|
|
75
|
+
unf (0.1.4)
|
|
76
|
+
unf_ext
|
|
77
|
+
unf_ext (0.0.7.5)
|
|
78
|
+
wisper (2.0.0)
|
|
79
|
+
xml-simple (1.1.5)
|
|
80
|
+
|
|
81
|
+
PLATFORMS
|
|
82
|
+
ruby
|
|
83
|
+
|
|
84
|
+
DEPENDENCIES
|
|
85
|
+
bundler (~> 1.16)
|
|
86
|
+
minitest (~> 5.10, >= 5.10.2)
|
|
87
|
+
rake (~> 10.0)
|
|
88
|
+
workin!
|
|
89
|
+
|
|
90
|
+
BUNDLED WITH
|
|
91
|
+
1.16.2
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 Xyko
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Workin
|
|
2
|
+
|
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/workin`. To experiment with that code, run `bin/console` for an interactive prompt.
|
|
4
|
+
|
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
Add this line to your application's Gemfile:
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
gem 'workin'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
And then execute:
|
|
16
|
+
|
|
17
|
+
$ bundle
|
|
18
|
+
|
|
19
|
+
Or install it yourself as:
|
|
20
|
+
|
|
21
|
+
$ gem install workin
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
TODO: Write usage instructions here
|
|
26
|
+
|
|
27
|
+
## Development
|
|
28
|
+
|
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
30
|
+
|
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
32
|
+
|
|
33
|
+
## Contributing
|
|
34
|
+
|
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/workin. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
36
|
+
|
|
37
|
+
## License
|
|
38
|
+
|
|
39
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
40
|
+
|
|
41
|
+
## Code of Conduct
|
|
42
|
+
|
|
43
|
+
Everyone interacting in the Workin project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/workin/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
require 'awesome_print'
|
|
2
|
+
require 'bundler/gem_tasks'
|
|
3
|
+
require 'rake/testtask'
|
|
4
|
+
require_relative 'lib/workin/version'
|
|
5
|
+
|
|
6
|
+
task :default => :spec
|
|
7
|
+
|
|
8
|
+
# Help.
|
|
9
|
+
desc 'Help'
|
|
10
|
+
task :help do
|
|
11
|
+
system('rake -T')
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
desc 'Makes you a workin developer'
|
|
15
|
+
task :dev do
|
|
16
|
+
if ENV['GEM_HOME'].nil?
|
|
17
|
+
puts 'Environment variable GEM_HOME is empty, you should be using RVM for ths task to work.'
|
|
18
|
+
exit(1)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
Rake::Task['install'].invoke
|
|
22
|
+
|
|
23
|
+
source = File.dirname(File.absolute_path __FILE__)
|
|
24
|
+
target = "#{ENV['GEM_HOME']}/gems/workin-#{Workin::VERSION}"
|
|
25
|
+
target_bin = "#{ENV['GEM_HOME']}/bin/workin"
|
|
26
|
+
|
|
27
|
+
system("rm -f #{target_bin}")
|
|
28
|
+
system("rm -rf #{target}")
|
|
29
|
+
system("ln -s #{source} #{target}")
|
|
30
|
+
system("ln -s #{source}/bin/workin #{target_bin}")
|
|
31
|
+
|
|
32
|
+
puts 'You may now start editing and testing files from within this repo.'.green
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
desc "Release the gem in Artifactory (DEV)"
|
|
37
|
+
task :push do
|
|
38
|
+
gem_file = "#{ENV['PWD']}/pkg/workin-#{Workin::VERSION}.gem"
|
|
39
|
+
gem_server_url = 'https://rubygems.org'
|
|
40
|
+
system("gem push #{gem_file} --host #{gem_server_url}")
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
desc "Run all minitests."
|
|
45
|
+
task :mini do
|
|
46
|
+
system("./test/minitest/run")
|
|
47
|
+
end
|
data/bin/workin
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# coding: utf-8
|
|
3
|
+
require 'workin'
|
|
4
|
+
require 'thor'
|
|
5
|
+
|
|
6
|
+
Signal.trap("INT") {
|
|
7
|
+
puts "\n\tNote: You will typically use Signal.trap instead.\n".light_red
|
|
8
|
+
exit
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
Signal.trap("TERM") {
|
|
12
|
+
puts "\n\tNote: You will typically use Signal.trap instead.\n".light_red
|
|
13
|
+
exit
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
load Workin.files + '/requireds.rb'
|
|
17
|
+
|
|
18
|
+
class Workin_exec < Thor
|
|
19
|
+
|
|
20
|
+
desc 'help', ''
|
|
21
|
+
def help(command='')
|
|
22
|
+
puts "\thelp will be here..... Coming soon....".light_green
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
desc 'show', ''
|
|
26
|
+
def show(command='')
|
|
27
|
+
puts "Gem_path.: #{Workin.gem_path}"
|
|
28
|
+
puts "Ldap_pass.: #{Workin.ldap_pass}"
|
|
29
|
+
puts "Ldap_user.: #{Workin.ldap_user}"
|
|
30
|
+
puts "User.: #{Workin.user}"
|
|
31
|
+
puts "Pwd.: #{Workin.pwd}"
|
|
32
|
+
puts "Host.: #{Workin.host}"
|
|
33
|
+
puts "Files: #{Workin.files}"
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def method_missing(method, *args, &block)
|
|
37
|
+
exit()
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
begin
|
|
43
|
+
Workin_exec.start(ARGV)
|
|
44
|
+
rescue SystemExit => e
|
|
45
|
+
puts "\tComming soon....".light_green
|
|
46
|
+
exit(e.status)
|
|
47
|
+
rescue Exception => e
|
|
48
|
+
puts e
|
|
49
|
+
end
|
data/lib/files/pt-BR.yml
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
---
|
|
2
|
+
pt-BR:
|
|
3
|
+
date:
|
|
4
|
+
abbr_day_names:
|
|
5
|
+
- Dom
|
|
6
|
+
- Seg
|
|
7
|
+
- Ter
|
|
8
|
+
- Qua
|
|
9
|
+
- Qui
|
|
10
|
+
- Sex
|
|
11
|
+
- Sáb
|
|
12
|
+
abbr_month_names:
|
|
13
|
+
-
|
|
14
|
+
- Jan
|
|
15
|
+
- Fev
|
|
16
|
+
- Mar
|
|
17
|
+
- Abr
|
|
18
|
+
- Mai
|
|
19
|
+
- Jun
|
|
20
|
+
- Jul
|
|
21
|
+
- Ago
|
|
22
|
+
- Set
|
|
23
|
+
- Out
|
|
24
|
+
- Nov
|
|
25
|
+
- Dez
|
|
26
|
+
day_names:
|
|
27
|
+
- Domingo
|
|
28
|
+
- Segunda-feira
|
|
29
|
+
- Terça-feira
|
|
30
|
+
- Quarta-feira
|
|
31
|
+
- Quinta-feira
|
|
32
|
+
- Sexta-feira
|
|
33
|
+
- Sábado
|
|
34
|
+
formats:
|
|
35
|
+
default: "%d/%m/%Y"
|
|
36
|
+
long: "%d de %B de %Y"
|
|
37
|
+
short: "%d de %B"
|
|
38
|
+
month_names:
|
|
39
|
+
-
|
|
40
|
+
- Janeiro
|
|
41
|
+
- Fevereiro
|
|
42
|
+
- Março
|
|
43
|
+
- Abril
|
|
44
|
+
- Maio
|
|
45
|
+
- Junho
|
|
46
|
+
- Julho
|
|
47
|
+
- Agosto
|
|
48
|
+
- Setembro
|
|
49
|
+
- Outubro
|
|
50
|
+
- Novembro
|
|
51
|
+
- Dezembro
|
|
52
|
+
order:
|
|
53
|
+
- :day
|
|
54
|
+
- :month
|
|
55
|
+
- :year
|
|
56
|
+
datetime:
|
|
57
|
+
distance_in_words:
|
|
58
|
+
about_x_hours:
|
|
59
|
+
one: aproximadamente 1 hora
|
|
60
|
+
other: aproximadamente %{count} horas
|
|
61
|
+
about_x_months:
|
|
62
|
+
one: aproximadamente 1 mês
|
|
63
|
+
other: aproximadamente %{count} meses
|
|
64
|
+
about_x_years:
|
|
65
|
+
one: aproximadamente 1 ano
|
|
66
|
+
other: aproximadamente %{count} anos
|
|
67
|
+
almost_x_years:
|
|
68
|
+
one: quase 1 ano
|
|
69
|
+
other: quase %{count} anos
|
|
70
|
+
half_a_minute: meio minuto
|
|
71
|
+
less_than_x_minutes:
|
|
72
|
+
one: menos de um minuto
|
|
73
|
+
other: menos de %{count} minutos
|
|
74
|
+
less_than_x_seconds:
|
|
75
|
+
one: menos de 1 segundo
|
|
76
|
+
other: menos de %{count} segundos
|
|
77
|
+
over_x_years:
|
|
78
|
+
one: mais de 1 ano
|
|
79
|
+
other: mais de %{count} anos
|
|
80
|
+
x_days:
|
|
81
|
+
one: 1 dia
|
|
82
|
+
other: "%{count} dias"
|
|
83
|
+
x_minutes:
|
|
84
|
+
one: 1 minuto
|
|
85
|
+
other: "%{count} minutos"
|
|
86
|
+
x_months:
|
|
87
|
+
one: 1 mês
|
|
88
|
+
other: "%{count} meses"
|
|
89
|
+
x_seconds:
|
|
90
|
+
one: 1 segundo
|
|
91
|
+
other: "%{count} segundos"
|
|
92
|
+
prompts:
|
|
93
|
+
day: Dia
|
|
94
|
+
hour: Hora
|
|
95
|
+
minute: Minuto
|
|
96
|
+
month: Mês
|
|
97
|
+
second: Segundo
|
|
98
|
+
year: Ano
|
|
99
|
+
errors:
|
|
100
|
+
format: "%{attribute} %{message}"
|
|
101
|
+
messages:
|
|
102
|
+
accepted: deve ser aceito
|
|
103
|
+
blank: não pode ficar em branco
|
|
104
|
+
present: deve ficar em branco
|
|
105
|
+
confirmation: não é igual a %{attribute}
|
|
106
|
+
empty: não pode ficar vazio
|
|
107
|
+
equal_to: deve ser igual a %{count}
|
|
108
|
+
even: deve ser par
|
|
109
|
+
exclusion: não está disponível
|
|
110
|
+
greater_than: deve ser maior que %{count}
|
|
111
|
+
greater_than_or_equal_to: deve ser maior ou igual a %{count}
|
|
112
|
+
inclusion: não está incluído na lista
|
|
113
|
+
invalid: não é válido
|
|
114
|
+
less_than: deve ser menor que %{count}
|
|
115
|
+
less_than_or_equal_to: deve ser menor ou igual a %{count}
|
|
116
|
+
not_a_number: não é um número
|
|
117
|
+
not_an_integer: não é um número inteiro
|
|
118
|
+
odd: deve ser ímpar
|
|
119
|
+
record_invalid: 'A validação falhou: %{errors}'
|
|
120
|
+
restrict_dependent_destroy:
|
|
121
|
+
one: Não é possível excluir o registro pois existe um %{record} dependente
|
|
122
|
+
many: Não é possível excluir o registro pois existem %{record} dependentes
|
|
123
|
+
taken: já está em uso
|
|
124
|
+
too_long: 'é muito longo (máximo: %{count} caracteres)'
|
|
125
|
+
too_short: 'é muito curto (mínimo: %{count} caracteres)'
|
|
126
|
+
wrong_length: não possui o tamanho esperado (%{count} caracteres)
|
|
127
|
+
other_than: deve ser diferente de %{count}
|
|
128
|
+
template:
|
|
129
|
+
body: 'Por favor, verifique o(s) seguinte(s) campo(s):'
|
|
130
|
+
header:
|
|
131
|
+
one: 'Não foi possível gravar %{model}: 1 erro'
|
|
132
|
+
other: 'Não foi possível gravar %{model}: %{count} erros.'
|
|
133
|
+
helpers:
|
|
134
|
+
select:
|
|
135
|
+
prompt: Por favor selecione
|
|
136
|
+
submit:
|
|
137
|
+
create: Criar %{model}
|
|
138
|
+
submit: Salvar %{model}
|
|
139
|
+
update: Atualizar %{model}
|
|
140
|
+
number:
|
|
141
|
+
currency:
|
|
142
|
+
format:
|
|
143
|
+
delimiter: "."
|
|
144
|
+
format: "%u %n"
|
|
145
|
+
precision: 2
|
|
146
|
+
separator: ","
|
|
147
|
+
significant: false
|
|
148
|
+
strip_insignificant_zeros: false
|
|
149
|
+
unit: R$
|
|
150
|
+
format:
|
|
151
|
+
delimiter: "."
|
|
152
|
+
precision: 3
|
|
153
|
+
separator: ","
|
|
154
|
+
significant: false
|
|
155
|
+
strip_insignificant_zeros: false
|
|
156
|
+
human:
|
|
157
|
+
decimal_units:
|
|
158
|
+
format: "%n %u"
|
|
159
|
+
units:
|
|
160
|
+
billion:
|
|
161
|
+
one: bilhão
|
|
162
|
+
other: bilhões
|
|
163
|
+
million:
|
|
164
|
+
one: milhão
|
|
165
|
+
other: milhões
|
|
166
|
+
quadrillion:
|
|
167
|
+
one: quatrilhão
|
|
168
|
+
other: quatrilhões
|
|
169
|
+
thousand: mil
|
|
170
|
+
trillion:
|
|
171
|
+
one: trilhão
|
|
172
|
+
other: trilhões
|
|
173
|
+
unit: ''
|
|
174
|
+
format:
|
|
175
|
+
delimiter: "."
|
|
176
|
+
precision: 2
|
|
177
|
+
significant: true
|
|
178
|
+
strip_insignificant_zeros: true
|
|
179
|
+
storage_units:
|
|
180
|
+
format: "%n %u"
|
|
181
|
+
units:
|
|
182
|
+
byte:
|
|
183
|
+
one: Byte
|
|
184
|
+
other: Bytes
|
|
185
|
+
gb: GB
|
|
186
|
+
kb: KB
|
|
187
|
+
mb: MB
|
|
188
|
+
tb: TB
|
|
189
|
+
percentage:
|
|
190
|
+
format:
|
|
191
|
+
delimiter: "."
|
|
192
|
+
format: "%n%"
|
|
193
|
+
precision:
|
|
194
|
+
format:
|
|
195
|
+
delimiter: "."
|
|
196
|
+
support:
|
|
197
|
+
array:
|
|
198
|
+
last_word_connector: " e "
|
|
199
|
+
two_words_connector: " e "
|
|
200
|
+
words_connector: ", "
|
|
201
|
+
time:
|
|
202
|
+
am: ''
|
|
203
|
+
formats:
|
|
204
|
+
default: "%a, %d de %B de %Y, %H:%M:%S %z"
|
|
205
|
+
long: "%d de %B de %Y, %H:%M"
|
|
206
|
+
short: "%d de %B, %H:%M"
|
|
207
|
+
pm: ''
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
require 'awesome_print'
|
|
2
|
+
require 'base64'
|
|
3
|
+
require 'colorize'
|
|
4
|
+
require 'dnsruby'
|
|
5
|
+
require 'getoptlong'
|
|
6
|
+
require 'highline/import'
|
|
7
|
+
require 'i18n'
|
|
8
|
+
require 'ipaddress'
|
|
9
|
+
require 'ipcalc'
|
|
10
|
+
require 'json'
|
|
11
|
+
require 'logger'
|
|
12
|
+
require 'net/http'
|
|
13
|
+
require 'net/https'
|
|
14
|
+
require 'net/smtp'
|
|
15
|
+
require 'net/ssh'
|
|
16
|
+
require 'netaddr'
|
|
17
|
+
require 'prompt'
|
|
18
|
+
require 'public_suffix'
|
|
19
|
+
require 'rest_client'
|
|
20
|
+
require 'ruby-progressbar'
|
|
21
|
+
require 'rubygems'
|
|
22
|
+
require 'socket'
|
|
23
|
+
require 'tty-prompt'
|
|
24
|
+
require 'xmlsimple'
|
|
25
|
+
require 'yaml'
|
|
26
|
+
include Dnsruby
|
data/lib/workin.rb
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
require "workin/version"
|
|
2
|
+
require 'workin/tools'
|
|
3
|
+
|
|
4
|
+
load __dir__ + '/files/requireds.rb'
|
|
5
|
+
|
|
6
|
+
module Workin
|
|
7
|
+
|
|
8
|
+
def self.root
|
|
9
|
+
File.dirname __dir__
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def self.files
|
|
13
|
+
File.join root, 'lib/files'
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
def self.host
|
|
17
|
+
Socket.gethostname
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def self.home
|
|
21
|
+
ENV['HOME']
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def self.user
|
|
25
|
+
ENV['USER']
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def self.pwd
|
|
29
|
+
ENV['PWD']
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def self.ldap_pass
|
|
33
|
+
ENV['ldap_pass']
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def self.ldap_user
|
|
37
|
+
ENV['ldap_user']
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
def self.gem_path
|
|
41
|
+
ENV['GEM_PATH']
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
end
|
|
45
|
+
|
data/lib/workin/tools.rb
ADDED
data/workin.gemspec
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
lib = File.expand_path("../lib", __FILE__)
|
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
|
+
require "workin/version"
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |spec|
|
|
6
|
+
|
|
7
|
+
spec.name = "workin"
|
|
8
|
+
spec.version = Workin::VERSION
|
|
9
|
+
spec.authors = ["Xyko"]
|
|
10
|
+
spec.email = ["xykoglobo@gmail.com.br"]
|
|
11
|
+
spec.summary = %q{Command line to change your workdir quickly.}
|
|
12
|
+
spec.description = %q{Helpper to transfer the rvm control to current selected workdir.}
|
|
13
|
+
spec.homepage = Workin::HOMEPAGE
|
|
14
|
+
spec.license = "MIT"
|
|
15
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
16
|
+
spec.require_paths = ['lib']
|
|
17
|
+
spec.files = %x(git ls-files).split($/)
|
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
19
|
+
|
|
20
|
+
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
|
21
|
+
|
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
|
23
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
24
|
+
spec.add_development_dependency "minitest", "~> 5.10", '>= 5.10.2'
|
|
25
|
+
|
|
26
|
+
spec.add_runtime_dependency 'gem-man', '~> 0.3', '>= 0.3.0'
|
|
27
|
+
spec.add_runtime_dependency 'awesome_print', '~> 1.7', '>= 1.7.0'
|
|
28
|
+
spec.add_runtime_dependency 'colorize', '~> 0.7.7'
|
|
29
|
+
spec.add_runtime_dependency 'prompt', '~> 1.2', '>= 1.2.2'
|
|
30
|
+
spec.add_runtime_dependency 'i18n', '~> 0.7', '>= 0.7.0'
|
|
31
|
+
spec.add_runtime_dependency 'thor', '~> 0.19.1'
|
|
32
|
+
spec.add_runtime_dependency 'rest-client', '~> 1.8', '>= 1.8.0'
|
|
33
|
+
spec.add_runtime_dependency 'net-ssh'
|
|
34
|
+
spec.add_runtime_dependency 'ipcalc', '~> 1.0', '>= 1.0.0'
|
|
35
|
+
spec.add_runtime_dependency 'ipaddress', '~> 0.8', '>= 0.8.0'
|
|
36
|
+
spec.add_runtime_dependency 'netaddr', '~> 1.5', '>= 1.5.0'
|
|
37
|
+
spec.add_runtime_dependency 'xml-simple', '~> 1.1', '>= 1.1.5'
|
|
38
|
+
spec.add_runtime_dependency 'dnsruby'
|
|
39
|
+
spec.add_runtime_dependency 'public_suffix'
|
|
40
|
+
spec.add_runtime_dependency 'highline'
|
|
41
|
+
spec.add_runtime_dependency 'ruby-progressbar'
|
|
42
|
+
spec.add_runtime_dependency 'tty-prompt', '~> 0.7', '>= 0.7.1'
|
|
43
|
+
spec.required_ruby_version = '>= 2.2.0'
|
|
44
|
+
|
|
45
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: workin
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Xyko
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2018-06-30 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: bundler
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '1.16'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '1.16'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rake
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '10.0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '10.0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: minitest
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '5.10'
|
|
48
|
+
- - ">="
|
|
49
|
+
- !ruby/object:Gem::Version
|
|
50
|
+
version: 5.10.2
|
|
51
|
+
type: :development
|
|
52
|
+
prerelease: false
|
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
54
|
+
requirements:
|
|
55
|
+
- - "~>"
|
|
56
|
+
- !ruby/object:Gem::Version
|
|
57
|
+
version: '5.10'
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: 5.10.2
|
|
61
|
+
- !ruby/object:Gem::Dependency
|
|
62
|
+
name: gem-man
|
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - "~>"
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '0.3'
|
|
68
|
+
- - ">="
|
|
69
|
+
- !ruby/object:Gem::Version
|
|
70
|
+
version: 0.3.0
|
|
71
|
+
type: :runtime
|
|
72
|
+
prerelease: false
|
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
74
|
+
requirements:
|
|
75
|
+
- - "~>"
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: '0.3'
|
|
78
|
+
- - ">="
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: 0.3.0
|
|
81
|
+
- !ruby/object:Gem::Dependency
|
|
82
|
+
name: awesome_print
|
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
|
84
|
+
requirements:
|
|
85
|
+
- - "~>"
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
version: '1.7'
|
|
88
|
+
- - ">="
|
|
89
|
+
- !ruby/object:Gem::Version
|
|
90
|
+
version: 1.7.0
|
|
91
|
+
type: :runtime
|
|
92
|
+
prerelease: false
|
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
94
|
+
requirements:
|
|
95
|
+
- - "~>"
|
|
96
|
+
- !ruby/object:Gem::Version
|
|
97
|
+
version: '1.7'
|
|
98
|
+
- - ">="
|
|
99
|
+
- !ruby/object:Gem::Version
|
|
100
|
+
version: 1.7.0
|
|
101
|
+
- !ruby/object:Gem::Dependency
|
|
102
|
+
name: colorize
|
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
|
104
|
+
requirements:
|
|
105
|
+
- - "~>"
|
|
106
|
+
- !ruby/object:Gem::Version
|
|
107
|
+
version: 0.7.7
|
|
108
|
+
type: :runtime
|
|
109
|
+
prerelease: false
|
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
111
|
+
requirements:
|
|
112
|
+
- - "~>"
|
|
113
|
+
- !ruby/object:Gem::Version
|
|
114
|
+
version: 0.7.7
|
|
115
|
+
- !ruby/object:Gem::Dependency
|
|
116
|
+
name: prompt
|
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
|
118
|
+
requirements:
|
|
119
|
+
- - "~>"
|
|
120
|
+
- !ruby/object:Gem::Version
|
|
121
|
+
version: '1.2'
|
|
122
|
+
- - ">="
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: 1.2.2
|
|
125
|
+
type: :runtime
|
|
126
|
+
prerelease: false
|
|
127
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
128
|
+
requirements:
|
|
129
|
+
- - "~>"
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: '1.2'
|
|
132
|
+
- - ">="
|
|
133
|
+
- !ruby/object:Gem::Version
|
|
134
|
+
version: 1.2.2
|
|
135
|
+
- !ruby/object:Gem::Dependency
|
|
136
|
+
name: i18n
|
|
137
|
+
requirement: !ruby/object:Gem::Requirement
|
|
138
|
+
requirements:
|
|
139
|
+
- - "~>"
|
|
140
|
+
- !ruby/object:Gem::Version
|
|
141
|
+
version: '0.7'
|
|
142
|
+
- - ">="
|
|
143
|
+
- !ruby/object:Gem::Version
|
|
144
|
+
version: 0.7.0
|
|
145
|
+
type: :runtime
|
|
146
|
+
prerelease: false
|
|
147
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
148
|
+
requirements:
|
|
149
|
+
- - "~>"
|
|
150
|
+
- !ruby/object:Gem::Version
|
|
151
|
+
version: '0.7'
|
|
152
|
+
- - ">="
|
|
153
|
+
- !ruby/object:Gem::Version
|
|
154
|
+
version: 0.7.0
|
|
155
|
+
- !ruby/object:Gem::Dependency
|
|
156
|
+
name: thor
|
|
157
|
+
requirement: !ruby/object:Gem::Requirement
|
|
158
|
+
requirements:
|
|
159
|
+
- - "~>"
|
|
160
|
+
- !ruby/object:Gem::Version
|
|
161
|
+
version: 0.19.1
|
|
162
|
+
type: :runtime
|
|
163
|
+
prerelease: false
|
|
164
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
165
|
+
requirements:
|
|
166
|
+
- - "~>"
|
|
167
|
+
- !ruby/object:Gem::Version
|
|
168
|
+
version: 0.19.1
|
|
169
|
+
- !ruby/object:Gem::Dependency
|
|
170
|
+
name: rest-client
|
|
171
|
+
requirement: !ruby/object:Gem::Requirement
|
|
172
|
+
requirements:
|
|
173
|
+
- - "~>"
|
|
174
|
+
- !ruby/object:Gem::Version
|
|
175
|
+
version: '1.8'
|
|
176
|
+
- - ">="
|
|
177
|
+
- !ruby/object:Gem::Version
|
|
178
|
+
version: 1.8.0
|
|
179
|
+
type: :runtime
|
|
180
|
+
prerelease: false
|
|
181
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
182
|
+
requirements:
|
|
183
|
+
- - "~>"
|
|
184
|
+
- !ruby/object:Gem::Version
|
|
185
|
+
version: '1.8'
|
|
186
|
+
- - ">="
|
|
187
|
+
- !ruby/object:Gem::Version
|
|
188
|
+
version: 1.8.0
|
|
189
|
+
- !ruby/object:Gem::Dependency
|
|
190
|
+
name: net-ssh
|
|
191
|
+
requirement: !ruby/object:Gem::Requirement
|
|
192
|
+
requirements:
|
|
193
|
+
- - ">="
|
|
194
|
+
- !ruby/object:Gem::Version
|
|
195
|
+
version: '0'
|
|
196
|
+
type: :runtime
|
|
197
|
+
prerelease: false
|
|
198
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
199
|
+
requirements:
|
|
200
|
+
- - ">="
|
|
201
|
+
- !ruby/object:Gem::Version
|
|
202
|
+
version: '0'
|
|
203
|
+
- !ruby/object:Gem::Dependency
|
|
204
|
+
name: ipcalc
|
|
205
|
+
requirement: !ruby/object:Gem::Requirement
|
|
206
|
+
requirements:
|
|
207
|
+
- - "~>"
|
|
208
|
+
- !ruby/object:Gem::Version
|
|
209
|
+
version: '1.0'
|
|
210
|
+
- - ">="
|
|
211
|
+
- !ruby/object:Gem::Version
|
|
212
|
+
version: 1.0.0
|
|
213
|
+
type: :runtime
|
|
214
|
+
prerelease: false
|
|
215
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
216
|
+
requirements:
|
|
217
|
+
- - "~>"
|
|
218
|
+
- !ruby/object:Gem::Version
|
|
219
|
+
version: '1.0'
|
|
220
|
+
- - ">="
|
|
221
|
+
- !ruby/object:Gem::Version
|
|
222
|
+
version: 1.0.0
|
|
223
|
+
- !ruby/object:Gem::Dependency
|
|
224
|
+
name: ipaddress
|
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
|
226
|
+
requirements:
|
|
227
|
+
- - "~>"
|
|
228
|
+
- !ruby/object:Gem::Version
|
|
229
|
+
version: '0.8'
|
|
230
|
+
- - ">="
|
|
231
|
+
- !ruby/object:Gem::Version
|
|
232
|
+
version: 0.8.0
|
|
233
|
+
type: :runtime
|
|
234
|
+
prerelease: false
|
|
235
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
236
|
+
requirements:
|
|
237
|
+
- - "~>"
|
|
238
|
+
- !ruby/object:Gem::Version
|
|
239
|
+
version: '0.8'
|
|
240
|
+
- - ">="
|
|
241
|
+
- !ruby/object:Gem::Version
|
|
242
|
+
version: 0.8.0
|
|
243
|
+
- !ruby/object:Gem::Dependency
|
|
244
|
+
name: netaddr
|
|
245
|
+
requirement: !ruby/object:Gem::Requirement
|
|
246
|
+
requirements:
|
|
247
|
+
- - "~>"
|
|
248
|
+
- !ruby/object:Gem::Version
|
|
249
|
+
version: '1.5'
|
|
250
|
+
- - ">="
|
|
251
|
+
- !ruby/object:Gem::Version
|
|
252
|
+
version: 1.5.0
|
|
253
|
+
type: :runtime
|
|
254
|
+
prerelease: false
|
|
255
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
256
|
+
requirements:
|
|
257
|
+
- - "~>"
|
|
258
|
+
- !ruby/object:Gem::Version
|
|
259
|
+
version: '1.5'
|
|
260
|
+
- - ">="
|
|
261
|
+
- !ruby/object:Gem::Version
|
|
262
|
+
version: 1.5.0
|
|
263
|
+
- !ruby/object:Gem::Dependency
|
|
264
|
+
name: xml-simple
|
|
265
|
+
requirement: !ruby/object:Gem::Requirement
|
|
266
|
+
requirements:
|
|
267
|
+
- - "~>"
|
|
268
|
+
- !ruby/object:Gem::Version
|
|
269
|
+
version: '1.1'
|
|
270
|
+
- - ">="
|
|
271
|
+
- !ruby/object:Gem::Version
|
|
272
|
+
version: 1.1.5
|
|
273
|
+
type: :runtime
|
|
274
|
+
prerelease: false
|
|
275
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
276
|
+
requirements:
|
|
277
|
+
- - "~>"
|
|
278
|
+
- !ruby/object:Gem::Version
|
|
279
|
+
version: '1.1'
|
|
280
|
+
- - ">="
|
|
281
|
+
- !ruby/object:Gem::Version
|
|
282
|
+
version: 1.1.5
|
|
283
|
+
- !ruby/object:Gem::Dependency
|
|
284
|
+
name: dnsruby
|
|
285
|
+
requirement: !ruby/object:Gem::Requirement
|
|
286
|
+
requirements:
|
|
287
|
+
- - ">="
|
|
288
|
+
- !ruby/object:Gem::Version
|
|
289
|
+
version: '0'
|
|
290
|
+
type: :runtime
|
|
291
|
+
prerelease: false
|
|
292
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
293
|
+
requirements:
|
|
294
|
+
- - ">="
|
|
295
|
+
- !ruby/object:Gem::Version
|
|
296
|
+
version: '0'
|
|
297
|
+
- !ruby/object:Gem::Dependency
|
|
298
|
+
name: public_suffix
|
|
299
|
+
requirement: !ruby/object:Gem::Requirement
|
|
300
|
+
requirements:
|
|
301
|
+
- - ">="
|
|
302
|
+
- !ruby/object:Gem::Version
|
|
303
|
+
version: '0'
|
|
304
|
+
type: :runtime
|
|
305
|
+
prerelease: false
|
|
306
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
307
|
+
requirements:
|
|
308
|
+
- - ">="
|
|
309
|
+
- !ruby/object:Gem::Version
|
|
310
|
+
version: '0'
|
|
311
|
+
- !ruby/object:Gem::Dependency
|
|
312
|
+
name: highline
|
|
313
|
+
requirement: !ruby/object:Gem::Requirement
|
|
314
|
+
requirements:
|
|
315
|
+
- - ">="
|
|
316
|
+
- !ruby/object:Gem::Version
|
|
317
|
+
version: '0'
|
|
318
|
+
type: :runtime
|
|
319
|
+
prerelease: false
|
|
320
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
321
|
+
requirements:
|
|
322
|
+
- - ">="
|
|
323
|
+
- !ruby/object:Gem::Version
|
|
324
|
+
version: '0'
|
|
325
|
+
- !ruby/object:Gem::Dependency
|
|
326
|
+
name: ruby-progressbar
|
|
327
|
+
requirement: !ruby/object:Gem::Requirement
|
|
328
|
+
requirements:
|
|
329
|
+
- - ">="
|
|
330
|
+
- !ruby/object:Gem::Version
|
|
331
|
+
version: '0'
|
|
332
|
+
type: :runtime
|
|
333
|
+
prerelease: false
|
|
334
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
335
|
+
requirements:
|
|
336
|
+
- - ">="
|
|
337
|
+
- !ruby/object:Gem::Version
|
|
338
|
+
version: '0'
|
|
339
|
+
- !ruby/object:Gem::Dependency
|
|
340
|
+
name: tty-prompt
|
|
341
|
+
requirement: !ruby/object:Gem::Requirement
|
|
342
|
+
requirements:
|
|
343
|
+
- - "~>"
|
|
344
|
+
- !ruby/object:Gem::Version
|
|
345
|
+
version: '0.7'
|
|
346
|
+
- - ">="
|
|
347
|
+
- !ruby/object:Gem::Version
|
|
348
|
+
version: 0.7.1
|
|
349
|
+
type: :runtime
|
|
350
|
+
prerelease: false
|
|
351
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
352
|
+
requirements:
|
|
353
|
+
- - "~>"
|
|
354
|
+
- !ruby/object:Gem::Version
|
|
355
|
+
version: '0.7'
|
|
356
|
+
- - ">="
|
|
357
|
+
- !ruby/object:Gem::Version
|
|
358
|
+
version: 0.7.1
|
|
359
|
+
description: Helpper to transfer the rvm control to current selected workdir.
|
|
360
|
+
email:
|
|
361
|
+
- xykoglobo@gmail.com.br
|
|
362
|
+
executables: []
|
|
363
|
+
extensions: []
|
|
364
|
+
extra_rdoc_files: []
|
|
365
|
+
files:
|
|
366
|
+
- ".gitignore"
|
|
367
|
+
- ".ruby-gemset"
|
|
368
|
+
- ".ruby-version"
|
|
369
|
+
- CODE_OF_CONDUCT.md
|
|
370
|
+
- Gemfile
|
|
371
|
+
- Gemfile.lock
|
|
372
|
+
- LICENSE.txt
|
|
373
|
+
- README.md
|
|
374
|
+
- Rakefile
|
|
375
|
+
- bin/workin
|
|
376
|
+
- lib/files/pt-BR.yml
|
|
377
|
+
- lib/files/requireds.rb
|
|
378
|
+
- lib/workin.rb
|
|
379
|
+
- lib/workin/tools.rb
|
|
380
|
+
- lib/workin/version.rb
|
|
381
|
+
- workin.gemspec
|
|
382
|
+
homepage: https://xykogems.org
|
|
383
|
+
licenses:
|
|
384
|
+
- MIT
|
|
385
|
+
metadata:
|
|
386
|
+
allowed_push_host: https://rubygems.org
|
|
387
|
+
post_install_message:
|
|
388
|
+
rdoc_options: []
|
|
389
|
+
require_paths:
|
|
390
|
+
- lib
|
|
391
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
392
|
+
requirements:
|
|
393
|
+
- - ">="
|
|
394
|
+
- !ruby/object:Gem::Version
|
|
395
|
+
version: 2.2.0
|
|
396
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
397
|
+
requirements:
|
|
398
|
+
- - ">="
|
|
399
|
+
- !ruby/object:Gem::Version
|
|
400
|
+
version: '0'
|
|
401
|
+
requirements: []
|
|
402
|
+
rubyforge_project:
|
|
403
|
+
rubygems_version: 2.6.14
|
|
404
|
+
signing_key:
|
|
405
|
+
specification_version: 4
|
|
406
|
+
summary: Command line to change your workdir quickly.
|
|
407
|
+
test_files: []
|