gutentag 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/models/gutentag/tag.rb +1 -1
- data/gutentag.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aea053bcbf95bfcdacd4bbdf352a4b10d16ef561
|
4
|
+
data.tar.gz: 6cc4798a3261163ba1369ac6d7736193fd2f1798
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfd4ef366f9dcfb50e650021689cca189e042893b76d80458350121071b31af511cafef0921ad6563e7bed781b59f40d6682682b0161ccc9154e20276e3ad804
|
7
|
+
data.tar.gz: 7b2731e6f5cbb60ce6ec04fba73096942c53e9a9d2a1b4a38580c3c02b9861e6d23513f32cd0f632f914081639b8d7851e910ba1fcf2218800bb53bbf07c5e81
|
data/README.md
CHANGED
@@ -11,7 +11,7 @@ This was built partly as a proof-of-concept, and partly to see how a tagging gem
|
|
11
11
|
|
12
12
|
Get it into your Gemfile - and don't forget the version constraint!
|
13
13
|
|
14
|
-
gem 'gutentag', '~> 0.2.
|
14
|
+
gem 'gutentag', '~> 0.2.2'
|
15
15
|
|
16
16
|
Next: your tags get persisted to your database, so let's import and run the migrations to get the tables set up:
|
17
17
|
|
data/app/models/gutentag/tag.rb
CHANGED
@@ -2,7 +2,7 @@ class Gutentag::Tag < ActiveRecord::Base
|
|
2
2
|
has_many :taggings, :class_name => 'Gutentag::Tagging',
|
3
3
|
:dependent => :destroy
|
4
4
|
|
5
|
-
attr_accessible :name
|
5
|
+
attr_accessible :name if Rails.version.to_s < '4.0.0'
|
6
6
|
|
7
7
|
validates :name, :presence => true, :uniqueness => {:case_sensitive => false}
|
8
8
|
|
data/gutentag.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'gutentag'
|
4
|
-
s.version = '0.2.
|
4
|
+
s.version = '0.2.2'
|
5
5
|
s.authors = ['Pat Allan']
|
6
6
|
s.email = ['pat@freelancing-gods.com']
|
7
7
|
s.homepage = 'https://github.com/pat/gutentag'
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.require_paths = ['lib']
|
15
15
|
|
16
16
|
s.add_runtime_dependency 'activerecord', '>= 3.2.0'
|
17
|
-
s.add_development_dependency 'combustion', '~> 0.5.
|
17
|
+
s.add_development_dependency 'combustion', '~> 0.5.1'
|
18
18
|
s.add_development_dependency 'rspec-rails', '~> 2.13'
|
19
19
|
s.add_development_dependency 'sqlite3', '~> 1.3.7'
|
20
20
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gutentag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pat Allan
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.5.
|
33
|
+
version: 0.5.1
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.5.
|
40
|
+
version: 0.5.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|