Impressionist has been tested

This commit is contained in:
Antonio C Nalesso Moreira 2013-05-10 22:33:37 +01:00
parent c7df6c50a6
commit 20e5753925
3 changed files with 7 additions and 30 deletions

View File

@ -1,27 +0,0 @@
# encoding: utf-8
require File.expand_path('../lib/impressionist/version', __FILE__)
Gem::Specification.new do |s|
s.add_dependency 'httpclient', '~> 2.2'
s.add_dependency 'nokogiri', '~> 1.5'
s.add_development_dependency 'capybara'
s.add_development_dependency 'rake', '>= 0.9'
s.add_development_dependency 'rails', '~>3.1'
s.add_development_dependency 'rdoc', '>= 2.4.2'
s.add_development_dependency 'rspec-rails'
s.add_development_dependency 'simplecov'
s.add_development_dependency 'sqlite3'
s.add_development_dependency 'systemu'
s.authors = ["johnmcaliley"]
s.description = "Log impressions from controller actions or from a model"
s.email = "john.mcaliley@gmail.com"
s.files = `git ls-files`.split("\n")
s.homepage = "https://github.com/charlotte-ruby/impressionist"
s.licenses = ["MIT"]
s.name = "impressionist"
s.require_paths = ["lib"]
s.required_rubygems_version = Gem::Requirement.new('>= 1.3.6') if s.respond_to? :required_rubygems_version=
s.summary = "Easy way to log impressions"
s.test_files = `git ls-files -- test_app/*`.split("\n")
s.version = Impressionist::VERSION
end

View File

@ -1,7 +1,7 @@
require "impressionist/engine.rb" require 'impressionist/engine'
module Impressionist module Impressionist
# Define ORM # Define default ORM
mattr_accessor :orm mattr_accessor :orm
@@orm = :active_record @@orm = :active_record

View File

@ -1 +1,5 @@
module Impressionist
def self.mattr_accessor(accessor)
class_variable_set("@@#{accessor}", accessor)
end
end