Skip to content

Commit

Permalink
Extracted scatter_swap to its own gem
Browse files Browse the repository at this point in the history
  • Loading branch information
namick committed Mar 28, 2013
1 parent 9a4dbe7 commit 188922a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 317 deletions.
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ PATH
specs:
obfuscate_id (0.0.3)
rails (~> 3.2.1)
scatter_swap (~> 0.0.2)

GEM
remote: http://rubygems.org/
Expand Down Expand Up @@ -125,6 +126,7 @@ GEM
railties (>= 3.0)
rspec (~> 2.11.0)
rubyzip (0.9.9)
scatter_swap (0.0.2)
selenium-webdriver (2.25.0)
childprocess (>= 0.2.5)
libwebsocket (~> 0.1.3)
Expand Down
3 changes: 2 additions & 1 deletion lib/obfuscate_id.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module ObfuscateId

def obfuscate_id(options = {})
require 'obfuscate_id/scatter_swap'
require 'scatter_swap'

extend ClassMethods
include InstanceMethods
cattr_accessor :obfuscate_id_spin
Expand Down
93 changes: 0 additions & 93 deletions lib/obfuscate_id/run_scatter_swap.rb

This file was deleted.

138 changes: 0 additions & 138 deletions lib/obfuscate_id/scatter_swap.rb

This file was deleted.

3 changes: 2 additions & 1 deletion obfuscate_id.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Gem::Specification.new do |s|

s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]

s.add_dependency "rails", "~> 3.2.1"
s.add_dependency "scatter_swap", "~> 0.0.2"
s.add_dependency "rails", "~> 3.2.1"

s.add_development_dependency "sqlite3"
s.add_development_dependency "rspec-rails"
Expand Down
84 changes: 0 additions & 84 deletions spec/lib/scatter_swap_spec.rb

This file was deleted.

0 comments on commit 188922a

Please sign in to comment.