<commit_before># -*- encoding: utf-8 -*-
require File.expand_path('../lib/dm-rails/version', __FILE__)

Gem::Specification.new do |gem|
  gem.authors     = [ '<NAME> (snusnu)', '<NAME>' ]
  gem.email       = [ '<EMAIL>' ]
  gem.summary     = "Integrate DataMapper with Rails 3"
  gem.description = gem.summary
  gem.homepage    = "http://datamapper.org"

  gem.files            = `git ls-files`.split("\n")
  gem.test_files       = `git ls-files -- {spec}/*`.split("\n")
  gem.extra_rdoc_files = %w[LICENSE README.rdoc]

  gem.name          = "dm-rails"
  gem.require_paths = [ "lib" ]
  gem.version       = DataMapper::Rails::VERSION

  gem.add_runtime_dependency('dm-active_model', '~> 1.3.0.beta')
  gem.add_runtime_dependency('actionpack',      '~> 3.0')
  gem.add_runtime_dependency('railties',        '~> 3.0')

  gem.add_development_dependency('rake',      '~> 0.9.2')
  gem.add_development_dependency('rspec',     '~> 1.3.2')
end<commit_msg>update gemspec to support rails 3 and 4<commit_after># -*- encoding: utf-8 -*-
require File.expand_path('../lib/dm-rails/version', __FILE__)

Gem::Specification.new do |gem|
  gem.authors     = [ '<NAME> (snusnu)', '<NAME>' ]
  gem.email       = [ '<EMAIL>' ]
  gem.summary     = "Integrate DataMapper with Rails 3"
  gem.description = gem.summary
  gem.homepage    = "http://datamapper.org"

  gem.files            = `git ls-files`.split("\n")
  gem.test_files       = `git ls-files -- {spec}/*`.split("\n")
  gem.extra_rdoc_files = %w[LICENSE README.rdoc]

  gem.name          = "dm-rails"
  gem.require_paths = [ "lib" ]
  gem.version       = DataMapper::Rails::VERSION

  gem.add_runtime_dependency('dm-active_model', '~> 1.2', '>= 1.2.0')
  gem.add_runtime_dependency('actionpack',      '>= 3.0', '< 5.0')
  gem.add_runtime_dependency('railties',        '>= 3.0', '< 5.0')

  gem.add_development_dependency('rake',      '~> 0.9.2')
  gem.add_development_dependency('rspec',     '~> 1.3.2')
end
{'fraction_non_alphanumeric': 0.19054956343091936, 'fraction_numerical': 0.019517205957883924, 'mean_word_length': 2.975510204081633, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1151223', 'n_tokens_mistral': 759, 'n_tokens_neox': 704, 'n_words': 113}