Skip to content

Commit

Permalink
Remove old IDE gems
Browse files Browse the repository at this point in the history
  • Loading branch information
alsemyonov committed Jul 5, 2016
1 parent 25da524 commit 7acb708
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 92 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/bin
*.gem
/.bundle
/Gemfile.lock
Expand Down
20 changes: 0 additions & 20 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,5 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in xommelier.gemspec
gemspec

group :ide do
gem 'ripl'
gem 'ripl-auto_indent', require: 'ripl/auto_indent'
gem 'ripl-color_error', require: 'ripl/color_error'
gem 'ripl-color_result', require: 'ripl/color_result'
gem 'ripl-multi_line', require: 'ripl/multi_line'
gem 'ripl-rails', require: 'ripl/rails'
gem 'ripl-rocket', require: 'ripl/rocket'
gem 'guard'
gem 'guard-rspec'
gem 'guard-bundler'
gem 'rb-inotify'
gem 'libnotify'
gem 'terminal-notifier-guard'
gem 'rb-fsevent'
end

group :documentation do
gem 'yard'
end

gem 'simplecov', require: false, group: :test
11 changes: 0 additions & 11 deletions Guardfile

This file was deleted.

24 changes: 6 additions & 18 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
require 'bundler/gem_tasks'

begin
require 'yard'
YARD::Rake::YardocTask.new(:doc)
rescue LoadError
task :doc do
abort 'YARD is not available. In order to run yardoc, you must: gem install yard'
end
end

begin
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
rescue LoadError
task :spec do
abort 'RSpec is not available. In order to run specs, you must: gem install rspec'
end
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task default: :spec

require 'yard'
YARD::Rake::YardocTask.new(:doc)
task default: :doc
36 changes: 0 additions & 36 deletions Termfile

This file was deleted.

8 changes: 4 additions & 4 deletions console → bin/console
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env ruby
require 'bundler/setup'
require 'xommelier'
require 'nokogiri'
require 'ripl'
require 'pry'
require 'pry-byebug'
require 'pp'

SPEC_ROOT = File.expand_path('..', __FILE__)

Dir[File.join(SPEC_ROOT, 'spec/support/**/*.rb')].each {|f| require f}
Dir[File.join(SPEC_ROOT, 'spec/support/**/*.rb')].each { |f| require f }

Ripl.start
Pry.start
17 changes: 17 additions & 0 deletions bin/rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
#
# This file was generated by Bundler.
#
# The application 'rake' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require "rubygems"
require "bundler/setup"

load Gem.bin_path("rake", "rake")
8 changes: 8 additions & 0 deletions bin/setup
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
set -vx

bundle install

# Do any other automated setup that you need to do here
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
require 'xommelier'

#noinspection RubyResolve
Dir[File.join(SPEC_ROOT, 'spec/support/**/*.rb')].each {|f| require f}
Dir[File.join(SPEC_ROOT, 'spec/support/**/*.rb')].each { |f| require f }

ATOM_XMLNS = 'http://www.w3.org/2005/Atom'

Expand Down
5 changes: 4 additions & 1 deletion xommelier.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |s|

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.executables = `git ls-files -- exe/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = %w(lib)

s.add_dependency 'nokogiri', '~> 1.6.8'
Expand All @@ -30,4 +30,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'yard', '~> 0.8.7.6'
s.add_development_dependency 'simplecov', '~> 0.6.1'
s.add_development_dependency 'redcarpet', '>= 3.2.3'
s.add_development_dependency 'pry'
s.add_development_dependency 'pry-byebug'
s.add_development_dependency 'byebug'
end

0 comments on commit 7acb708

Please sign in to comment.