Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor fixes

  • Loading branch information...
commit cec85e7b43250785c5dbd644d3bed4dd18a5133a 1 parent fcdd423
@alec-c4 alec-c4 authored
View
4 README.md
@@ -40,7 +40,7 @@ And is_flaggeable to any "target" model:
Setup flag types in initializer (config/initializers/sneak_initializer.rb):
- CLAIM_TYPES = ["spam", "offensive", "attention"]
+ CLAIM_TYPES = ["spam1", "offensive", "attention"]
Configure flag_observer.rb to report on Flag creation.
@@ -67,7 +67,7 @@ Set sneak
User Load (1.0ms) SELECT "users".* FROM "users" LIMIT 1
=> #<User id: 1, username: "alec", email: "alec@alec-c4.com", encrypted_password: "$2a$10$LsTo5Mbs8ZXKjEyvXMs9F.N6yJRTNYJ76QOCqF60FrWL...", reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: "2012-01-16 21:53:57", sign_in_count: 9, current_sign_in_at: "2012-01-16 21:53:57", last_sign_in_at: "2012-01-16 21:53:35", current_sign_in_ip: "127.0.0.1", last_sign_in_ip: "127.0.0.1", password_salt: nil, confirmation_token: nil, confirmed_at: "2011-12-22 11:34:33", confirmation_sent_at: "2011-12-22 11:34:30", failed_attempts: 0, unlock_token: nil, locked_at: nil, authentication_token: nil, avatar: nil, roles_mask: 1, notes: nil, created_at: "2011-12-22 11:34:30", updated_at: "2012-01-16 21:53:57">
-Set report type
+Set report type or use defaults ("spam", "offensive", "attention")
ruby-1.9.3-p0 :006 > f.report_type = "spam1"
=> "spam1"
View
2  lib/generators/sneak/install_generator.rb
@@ -8,8 +8,6 @@ class InstallGenerator < Rails::Generators::Base
source_root File.expand_path("../templates", __FILE__)
- desc "Generates migration for Sneak"
-
def self.next_migration_number(dirname)
if ActiveRecord::Base.timestamped_migrations
migration_number = Time.now.utc.strftime("%Y%m%d%H%M%S").to_i
View
2  lib/sneak/version.rb
@@ -1,3 +1,3 @@
module Sneak
- VERSION = "0.0.1"
+ VERSION = "0.0.2"
end
View
2  sneak.gemspec
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
s.version = Sneak::VERSION
s.authors = ["Alexey Poimtsev"]
s.email = ["alec@alec-c4.com"]
- s.homepage = "http://progress-engine.ru"
+ s.homepage = "https://github.com/progress-engine/sneak"
s.summary = %q{Reporting system for Ruby on Rails}
s.description = %q{Reporting system for Ruby on Rails Applications. You can add ability to report users on any record about fraud, spam etc}
Please sign in to comment.
Something went wrong with that request. Please try again.