Skip to content

Commit

Permalink
Merge pull request #18 from gcao/cleanup-done
Browse files Browse the repository at this point in the history
Major code cleanup and update
  • Loading branch information
gcao committed Jul 8, 2015
2 parents 9c89759 + 57a57b7 commit d6e87fb
Show file tree
Hide file tree
Showing 92 changed files with 3,556 additions and 2,210 deletions.
5 changes: 0 additions & 5 deletions .document

This file was deleted.

48 changes: 4 additions & 44 deletions .gitignore
@@ -1,54 +1,14 @@
.idea
performance-tests/output

# rcov generated
coverage

# rdoc generated
rdoc

# yard generated
doc
.yardoc

# bundler
.bundle

# jeweler generated
pkg

.svn

# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
#
# * Create a file at ~/.gitignore
# * Include files you want ignored
# * Run: git config --global core.excludesfile ~/.gitignore
#
# After doing this, these files will be ignored in all your git projects,
# saving you from having to 'pollute' every project you touch with them
#
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
#
# For MacOS:
#
#.DS_Store

# For TextMate
#*.tmproj
#tmtags

# For emacs:
#*~
#\#*
#.\#*

# For vim:
#*.swp

# For redcar:
#.redcar

# For rubinius:
#*.rbc
.DS_Store
*.tmproj
*.swp
.redcar
.rbx
22 changes: 22 additions & 0 deletions .rubocop.yml
@@ -0,0 +1,22 @@
AlignParameters:
Enabled: false
ClassLength:
CountComments: false
Max: 200
LineLength:
Max: 99
MethodLength:
CountComments: false
Max: 15
Metrics/AbcSize:
Max: 25
AllCops:
Exclude:
- bin/**/*
- /.gemspec/
- !ruby/regexp /old_and_unused\.rb$/
Style/MultilineOperationIndentation:
EnforcedStyle: indented
SupportedStyles:
- aligned
- indented
1 change: 1 addition & 0 deletions .ruby-gemset
@@ -0,0 +1 @@
aspector
1 change: 1 addition & 0 deletions .ruby-version
@@ -0,0 +1 @@
ruby-2.2.2
10 changes: 0 additions & 10 deletions .rvmrc

This file was deleted.

19 changes: 8 additions & 11 deletions .travis.yml
@@ -1,13 +1,10 @@
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-18mode # JRuby in 1.8 mode
- jruby-19mode # JRuby in 1.9 mode
#- rbx-18mode
#- rbx-19mode
# uncomment this line if your project needs to run something other than `rake`:
script: bundle exec rspec spec
#gemfile: Gemfile.travis

- 2.0.0
- 2.1.5
- 2.2.2
script:
- bundle exec rubocop spec
- bundle exec rubocop examples
- bundle exec rubocop benchmarks
- bundle exec rspec spec
23 changes: 9 additions & 14 deletions Gemfile
@@ -1,18 +1,13 @@
source "http://rubygems.org"
source 'http://rubygems.org'

group :development do
gem "rspec"
gem "jeweler", "~> 1.6.4"

#gem 'ruby-prof', :platforms => [:mri]

gem "guard", "~> 0.8.4"
gem "guard-bundler", "~> 0.1.3"
gem "guard-rspec", "~> 0.5.2"
gem "guard-shell", "~> 0.1.1"
gem 'rb-fsevent'
gem 'growl', "~> 1.0.3"

gem 'awesome_print'
gem 'rspec'
gem 'guard'
gem 'guard-bundler'
gem 'guard-rspec'
gem 'guard-shell'
gem 'rubocop'
gem 'pry'
gem 'simplecov'
gem 'ruby-prof'
end
134 changes: 85 additions & 49 deletions Gemfile.lock
@@ -1,60 +1,96 @@
GEM
remote: http://rubygems.org/
specs:
awesome_print (1.1.0)
coderay (1.0.8)
diff-lcs (1.1.3)
git (1.2.5)
growl (1.0.3)
guard (0.8.8)
thor (~> 0.14.6)
guard-bundler (0.1.3)
bundler (>= 1.0.0)
guard (>= 0.2.2)
guard-rspec (0.5.11)
guard (>= 0.8.4)
guard-shell (0.1.1)
guard (>= 0.2.0)
jeweler (1.6.4)
ast (2.0.0)
astrolabe (1.3.0)
parser (>= 2.2.0.pre.3, < 3.0)
coderay (1.1.0)
diff-lcs (1.2.5)
docile (1.1.5)
ffi (1.9.10)
formatador (0.2.5)
guard (2.12.8)
formatador (>= 0.2.4)
listen (>= 2.7, <= 4.0)
lumberjack (~> 1.0)
nenv (~> 0.1)
notiffany (~> 0.0)
pry (>= 0.9.12)
shellany (~> 0.0)
thor (>= 0.18.1)
guard-bundler (2.1.0)
bundler (~> 1.0)
git (>= 1.2.5)
rake
method_source (0.8.1)
pry (0.9.10)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.3.1)
pry (0.9.10-java)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.3.1)
spoon (~> 0.0)
rake (10.0.3)
rb-fsevent (0.9.3)
rspec (2.12.0)
rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0)
rspec-mocks (~> 2.12.0)
rspec-core (2.12.2)
rspec-expectations (2.12.1)
diff-lcs (~> 1.1.3)
rspec-mocks (2.12.1)
slop (3.3.3)
spoon (0.0.1)
thor (0.14.6)
guard (~> 2.2)
guard-compat (~> 1.1)
guard-compat (1.2.1)
guard-rspec (4.6.0)
guard (~> 2.1)
guard-compat (~> 1.1)
rspec (>= 2.99.0, < 4.0)
guard-shell (0.7.1)
guard (>= 2.0.0)
guard-compat (~> 1.0)
json (1.8.3)
listen (3.0.1)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
lumberjack (1.0.9)
method_source (0.8.2)
nenv (0.2.0)
notiffany (0.0.6)
nenv (~> 0.1)
shellany (~> 0.0)
parser (2.3.0.pre.2)
ast (>= 1.1, < 3.0)
powerpack (0.1.1)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
rainbow (2.0.0)
rb-fsevent (0.9.5)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
rspec (3.3.0)
rspec-core (~> 3.3.0)
rspec-expectations (~> 3.3.0)
rspec-mocks (~> 3.3.0)
rspec-core (3.3.1)
rspec-support (~> 3.3.0)
rspec-expectations (3.3.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.3.0)
rspec-mocks (3.3.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.3.0)
rspec-support (3.3.0)
rubocop (0.32.1)
astrolabe (~> 1.3)
parser (>= 2.2.2.5, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.4)
ruby-prof (0.15.8)
ruby-progressbar (1.7.5)
shellany (0.0.1)
simplecov (0.10.0)
docile (~> 1.1.0)
json (~> 1.8)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.0)
slop (3.6.0)
thor (0.19.1)

PLATFORMS
java
ruby

DEPENDENCIES
awesome_print
growl (~> 1.0.3)
guard (~> 0.8.4)
guard-bundler (~> 0.1.3)
guard-rspec (~> 0.5.2)
guard-shell (~> 0.1.1)
jeweler (~> 1.6.4)
guard
guard-bundler
guard-rspec
guard-shell
pry
rb-fsevent
rspec
rubocop
ruby-prof
simplecov
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

0 comments on commit d6e87fb

Please sign in to comment.