Skip to content

Commit

Permalink
cut down size of packaged gem, bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Crismali committed Mar 28, 2015
1 parent c5c12cc commit cce93cf
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
magic_lamp (1.5.1)
magic_lamp (1.5.2)
method_source
rails (>= 4.0.0)
rake
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_4.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ../
specs:
magic_lamp (1.5.1)
magic_lamp (1.5.2)
method_source
rails (>= 4.0.0)
rake
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_4.1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ../
specs:
magic_lamp (1.5.1)
magic_lamp (1.5.2)
method_source
rails (>= 4.0.0)
rake
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_4.2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ../
specs:
magic_lamp (1.5.1)
magic_lamp (1.5.2)
method_source
rails (>= 4.0.0)
rake
Expand Down
2 changes: 1 addition & 1 deletion lib/magic_lamp/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module MagicLamp
VERSION = "1.5.1"
VERSION = "1.5.2"
end
13 changes: 12 additions & 1 deletion magic_lamp.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,18 @@ Gem::Specification.new do |s|
s.license = "Apache 2.0"

s.files = Dir["{app,config,lib}/**/*", "VERSION", "LICENSE", "README.md"]
s.test_files = Dir["spec/**/*"]
s.test_files = Dir["spec/**/*"].reject do |file_path|
[
/\.sqlite3\z/,
/\.sqlite3-journal\z/,
/\.log\z/,
/tmp/,
/\.sass-cache\z/,
/spec\/dummy\/\./
].any? do |ignored_pattern|
file_path.match(ignored_pattern)
end
end

s.add_dependency "rails", ">= 4.0.0"
s.add_dependency "rake"
Expand Down

0 comments on commit cce93cf

Please sign in to comment.