Skip to content

Commit

Permalink
Stop signing gem [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Mar 6, 2014
1 parent 5a71245 commit d55b6a8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
20 changes: 0 additions & 20 deletions certs/sferik.pem

This file was deleted.

4 changes: 2 additions & 2 deletions lib/rails_admin/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def lchomp(base, arg)
def viable_models
included_models.collect(&:to_s).presence || (
@@system_models ||= # memoization for tests
([Rails.application] + Rails::Engine.subclasses.collect(&:instance)).collect do |app|
([Rails.application] + Rails::Engine.subclasses.collect(&:instance)).flat_map do |app|
(app.paths['app/models'].to_a + app.config.autoload_paths).collect do |load_path|
Dir.glob(app.root.join(load_path)).collect do |load_dir|
Dir.glob(load_dir + '/**/*.rb').collect do |filename|
Expand All @@ -314,7 +314,7 @@ def viable_models
end
end
end
end.flatten.reject { |m| m.starts_with?('Concerns::') } # rubocop:disable MultilineBlockChain
end.reject { |m| m.starts_with?('Concerns::') } # rubocop:disable MultilineBlockChain
)
end

Expand Down
2 changes: 0 additions & 2 deletions rails_admin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Gem::Specification.new do |spec|
spec.add_dependency 'sass-rails', '~> 4.0'
spec.add_development_dependency 'bundler', '~> 1.0'
spec.authors = ['Erik Michaels-Ober', 'Bogdan Gaza', 'Petteri Kaapa', 'Benoit Benezech']
spec.cert_chain = ['certs/sferik.pem']
spec.description = %q{RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data.}
spec.email = ['sferik@gmail.com', 'bogdan@cadmio.org', 'petteri.kaapa@gmail.com']
spec.files = Dir['Gemfile', 'LICENSE.md', 'README.md', 'Rakefile', 'app/**/*', 'config/**/*', 'lib/**/*', 'public/**/*']
Expand All @@ -29,7 +28,6 @@ Gem::Specification.new do |spec|
spec.name = 'rails_admin'
spec.require_paths = ['lib']
spec.required_rubygems_version = '>= 1.3.5'
spec.signing_key = File.expand_path('~/.gem/private_key.pem') if $PROGRAM_NAME =~ /gem\z/
spec.summary = %q{Admin for Rails}
spec.test_files = Dir['spec/**/*'].reject { |f| f.end_with? 'log' }
spec.version = RailsAdmin::Version
Expand Down

0 comments on commit d55b6a8

Please sign in to comment.