chid 0.1.6.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/CONTRIBUTING.md +75 -1
- data/Gemfile.lock +23 -36
- data/README.md +129 -79
- data/bin/chid +2 -25
- data/chid.gemspec +0 -6
- data/lib/chid.rb +0 -66
- data/lib/chid/chid_config.rb +4 -81
- data/lib/chid/commands/config.rb +48 -0
- data/lib/chid/commands/currency/convert.rb +50 -0
- data/lib/chid/commands/currency/list.rb +34 -0
- data/lib/chid/commands/currency/now.rb +47 -0
- data/lib/chid/commands/gitflow/commit.rb +0 -1
- data/lib/chid/commands/github.rb +40 -0
- data/lib/chid/commands/init.rb +1 -2
- data/lib/chid/commands/install.rb +1 -0
- data/lib/chid/commands/installs/dotfile.rb +1 -1
- data/lib/chid/commands/installs/node.rb +2 -2
- data/lib/chid/commands/installs/postgres.rb +2 -2
- data/lib/chid/commands/installs/rvm.rb +2 -2
- data/lib/chid/commands/installs/vim.rb +2 -2
- data/lib/chid/version.rb +1 -1
- data/spec/lib/chid/commands/init_spec.rb +4 -2
- data/tasks/install/yadr_dotfiles.rake +1 -0
- data/tasks/run/postgres.rake +1 -0
- data/tasks/update/os.rake +1 -0
- metadata +7 -52
- data/#README.md# +0 -222
- data/Rakefile +0 -18
- data/lib/chid/yandex_translate_api.rb +0 -39
- data/tasks/chid/config.rake +0 -5
- data/tasks/chid/init.rake +0 -19
- data/tasks/chid/install.rake +0 -14
- data/tasks/chid/start.rake +0 -26
- data/tasks/chid/update.rake +0 -14
- data/tasks/currency/convert.rake +0 -9
- data/tasks/currency/current.rake +0 -11
- data/tasks/currency/list.rake +0 -10
- data/tasks/github.rake +0 -12
- data/tasks/help.rake +0 -178
- data/tasks/install/node.rake +0 -18
- data/tasks/install/postgres.rake +0 -18
- data/tasks/install/rvm.rake +0 -21
- data/tasks/news.rake +0 -11
- data/tasks/stack_overflow.rake +0 -20
- data/tasks/tmux/config_windows.rake +0 -8
- data/tasks/tmux/new_session.rake +0 -9
- data/tasks/translate/yandex_list.rake +0 -7
- data/tasks/translate/yandex_translate.rake +0 -8
data/tasks/stack_overflow.rake
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
desc 'Search questions in StackOverflow'
|
2
|
-
task :stack, [:search] do |t, args|
|
3
|
-
|
4
|
-
search_param = args[:search]
|
5
|
-
|
6
|
-
unless search_param
|
7
|
-
print "Tell me, what do you want to search?\n".blue
|
8
|
-
print "> "
|
9
|
-
search_param = STDIN.gets.strip
|
10
|
-
end
|
11
|
-
|
12
|
-
questions = StackOverflowApi.questions(search_param)
|
13
|
-
|
14
|
-
Paginator.new(questions).paginate do |question|
|
15
|
-
question.summary
|
16
|
-
end
|
17
|
-
|
18
|
-
end
|
19
|
-
|
20
|
-
|
data/tasks/tmux/new_session.rake
DELETED