acts-as-taggable-on 3.1.1 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/.travis.yml +9 -7
  4. data/Appraisals +13 -8
  5. data/CHANGELOG.md +8 -0
  6. data/Gemfile +1 -2
  7. data/README.md +23 -13
  8. data/Rakefile +5 -17
  9. data/UPGRADING.md +6 -0
  10. data/acts-as-taggable-on.gemspec +13 -13
  11. data/db/migrate/1_acts_as_taggable_on_migration.rb +3 -3
  12. data/db/migrate/2_add_missing_unique_indices.rb +3 -5
  13. data/db/migrate/3_add_taggings_counter_cache_to_tags.rb +1 -1
  14. data/gemfiles/activerecord_3.2.gemfile +15 -0
  15. data/gemfiles/activerecord_4.0.gemfile +15 -0
  16. data/gemfiles/activerecord_4.1.gemfile +15 -0
  17. data/gemfiles/activerecord_edge.gemfile +16 -0
  18. data/lib/acts-as-taggable-on.rb +23 -21
  19. data/lib/acts_as_taggable_on/acts_as_taggable_on/cache.rb +1 -4
  20. data/lib/acts_as_taggable_on/acts_as_taggable_on/collection.rb +29 -20
  21. data/lib/acts_as_taggable_on/acts_as_taggable_on/compatibility.rb +11 -10
  22. data/lib/acts_as_taggable_on/acts_as_taggable_on/core.rb +98 -80
  23. data/lib/acts_as_taggable_on/acts_as_taggable_on/ownership.rb +5 -12
  24. data/lib/acts_as_taggable_on/acts_as_taggable_on/related.rb +7 -7
  25. data/lib/acts_as_taggable_on/engine.rb +0 -1
  26. data/lib/acts_as_taggable_on/tag.rb +24 -19
  27. data/lib/acts_as_taggable_on/tag_list.rb +95 -21
  28. data/lib/acts_as_taggable_on/taggable.rb +28 -30
  29. data/lib/acts_as_taggable_on/tagger.rb +30 -18
  30. data/lib/acts_as_taggable_on/tagging.rb +7 -8
  31. data/lib/acts_as_taggable_on/tags_helper.rb +1 -1
  32. data/lib/acts_as_taggable_on/utils.rb +25 -3
  33. data/lib/acts_as_taggable_on/version.rb +1 -1
  34. data/spec/acts_as_taggable_on/acts_as_taggable_on_spec.rb +133 -138
  35. data/spec/acts_as_taggable_on/acts_as_tagger_spec.rb +55 -58
  36. data/spec/acts_as_taggable_on/caching_spec.rb +34 -35
  37. data/spec/acts_as_taggable_on/related_spec.rb +59 -113
  38. data/spec/acts_as_taggable_on/single_table_inheritance_spec.rb +118 -95
  39. data/spec/acts_as_taggable_on/tag_list_spec.rb +89 -57
  40. data/spec/acts_as_taggable_on/tag_spec.rb +125 -114
  41. data/spec/acts_as_taggable_on/taggable_spec.rb +538 -352
  42. data/spec/acts_as_taggable_on/tagger_spec.rb +81 -78
  43. data/spec/acts_as_taggable_on/tagging_spec.rb +13 -14
  44. data/spec/acts_as_taggable_on/tags_helper_spec.rb +25 -25
  45. data/spec/acts_as_taggable_on/utils_spec.rb +9 -9
  46. data/spec/internal/app/models/altered_inheriting_taggable_model.rb +3 -0
  47. data/spec/internal/app/models/cached_model.rb +3 -0
  48. data/spec/internal/app/models/cached_model_with_array.rb +5 -0
  49. data/spec/internal/app/models/company.rb +15 -0
  50. data/spec/internal/app/models/inheriting_taggable_model.rb +2 -0
  51. data/spec/internal/app/models/market.rb +2 -0
  52. data/spec/{models.rb → internal/app/models/models.rb} +34 -2
  53. data/spec/internal/app/models/non_standard_id_taggable_model.rb +8 -0
  54. data/spec/internal/app/models/ordered_taggable_model.rb +4 -0
  55. data/spec/internal/app/models/other_cached_model.rb +3 -0
  56. data/spec/internal/app/models/other_taggable_model.rb +4 -0
  57. data/spec/internal/app/models/student.rb +2 -0
  58. data/spec/internal/app/models/taggable_model.rb +13 -0
  59. data/spec/internal/app/models/untaggable_model.rb +3 -0
  60. data/spec/internal/app/models/user.rb +3 -0
  61. data/spec/{database.yml.sample → internal/config/database.yml.sample} +2 -2
  62. data/spec/internal/db/schema.rb +97 -0
  63. data/spec/schema.rb +11 -0
  64. data/spec/spec_helper.rb +9 -62
  65. data/spec/support/array.rb +9 -0
  66. data/spec/support/database.rb +42 -0
  67. data/spec/support/database_cleaner.rb +17 -0
  68. metadata +101 -37
  69. data/gemfiles/rails_3.2.gemfile +0 -7
  70. data/gemfiles/rails_4.0.gemfile +0 -7
  71. data/gemfiles/rails_4.1.gemfile +0 -7
  72. data/gemfiles/rails_edge.gemfile +0 -7
@@ -0,0 +1,8 @@
1
+ class NonStandardIdTaggableModel < ActiveRecord::Base
2
+ self.primary_key = 'an_id'
3
+ acts_as_taggable
4
+ acts_as_taggable_on :languages
5
+ acts_as_taggable_on :skills
6
+ acts_as_taggable_on :needs, :offerings
7
+ has_many :untaggable_models
8
+ end
@@ -0,0 +1,4 @@
1
+ class OrderedTaggableModel < ActiveRecord::Base
2
+ acts_as_ordered_taggable
3
+ acts_as_ordered_taggable_on :colours
4
+ end
@@ -0,0 +1,3 @@
1
+ class OtherCachedModel < ActiveRecord::Base
2
+ acts_as_taggable_on :languages, :statuses, :glasses
3
+ end
@@ -0,0 +1,4 @@
1
+ class OtherTaggableModel < ActiveRecord::Base
2
+ acts_as_taggable_on :tags, :languages
3
+ acts_as_taggable_on :needs, :offerings
4
+ end
@@ -0,0 +1,2 @@
1
+ class Student < User
2
+ end
@@ -0,0 +1,13 @@
1
+ class TaggableModel < ActiveRecord::Base
2
+ acts_as_taggable
3
+ acts_as_taggable_on :languages
4
+ acts_as_taggable_on :skills
5
+ acts_as_taggable_on :needs, :offerings
6
+ has_many :untaggable_models
7
+
8
+ attr_reader :tag_list_submethod_called
9
+ def tag_list=(v)
10
+ @tag_list_submethod_called = true
11
+ super
12
+ end
13
+ end
@@ -0,0 +1,3 @@
1
+ class UntaggableModel < ActiveRecord::Base
2
+ belongs_to :taggable_model
3
+ end
@@ -0,0 +1,3 @@
1
+ class User < ActiveRecord::Base
2
+ acts_as_tagger
3
+ end
@@ -1,10 +1,10 @@
1
1
  sqlite3:
2
2
  adapter: sqlite3
3
- database: acts_as_taggable_on.sqlite3
3
+ database: ':memory:'
4
4
 
5
5
  mysql:
6
6
  adapter: mysql2
7
- hostname: localhost
7
+ host: localhost
8
8
  username: root
9
9
  password:
10
10
  database: acts_as_taggable_on
@@ -0,0 +1,97 @@
1
+ ActiveRecord::Schema.define version: 0 do
2
+ create_table :tags, force: true do |t|
3
+ t.string :name
4
+ t.integer :taggings_count, default: 0
5
+ t.string :type
6
+ end
7
+ add_index 'tags', ['name'], name: 'index_tags_on_name', unique: true
8
+
9
+ create_table :taggings, force: true do |t|
10
+ t.references :tag
11
+
12
+ # You should make sure that the column created is
13
+ # long enough to store the required class names.
14
+ t.references :taggable, polymorphic: true
15
+ t.references :tagger, polymorphic: true
16
+
17
+ # Limit is created to prevent MySQL error on index
18
+ # length for MyISAM table type: http://bit.ly/vgW2Ql
19
+ t.string :context, limit: 128
20
+
21
+ t.datetime :created_at
22
+ end
23
+ add_index 'taggings',
24
+ ['tag_id', 'taggable_id', 'taggable_type', 'context', 'tagger_id', 'tagger_type'],
25
+ unique: true, name: 'taggings_idx'
26
+
27
+ # above copied from
28
+ # generators/acts_as_taggable_on/migration/migration_generator
29
+
30
+ create_table :taggable_models, force: true do |t|
31
+ t.column :name, :string
32
+ t.column :type, :string
33
+ end
34
+
35
+ create_table :non_standard_id_taggable_models, primary_key: 'an_id', force: true do |t|
36
+ t.column :name, :string
37
+ t.column :type, :string
38
+ end
39
+
40
+ create_table :untaggable_models, force: true do |t|
41
+ t.column :taggable_model_id, :integer
42
+ t.column :name, :string
43
+ end
44
+
45
+ create_table :cached_models, force: true do |t|
46
+ t.column :name, :string
47
+ t.column :type, :string
48
+ t.column :cached_tag_list, :string
49
+ end
50
+
51
+ create_table :other_cached_models, force: true do |t|
52
+ t.column :name, :string
53
+ t.column :type, :string
54
+ t.column :cached_language_list, :string
55
+ t.column :cached_status_list, :string
56
+ t.column :cached_glass_list, :string
57
+ end
58
+
59
+ create_table :companies, force: true do |t|
60
+ t.column :name, :string
61
+ end
62
+
63
+ create_table :users, force: true do |t|
64
+ t.column :name, :string
65
+ end
66
+
67
+ create_table :other_taggable_models, force: true do |t|
68
+ t.column :name, :string
69
+ t.column :type, :string
70
+ end
71
+
72
+ create_table :ordered_taggable_models, force: true do |t|
73
+ t.column :name, :string
74
+ t.column :type, :string
75
+ end
76
+
77
+
78
+ # Special cases for postgresql
79
+ if ActsAsTaggableOn::Utils.using_postgresql?
80
+
81
+ create_table :other_cached_with_array_models, force: true do |t|
82
+ t.column :name, :string
83
+ t.column :type, :string
84
+ t.column :cached_language_list, :string, array: true
85
+ t.column :cached_status_list, :string, array: true
86
+ t.column :cached_glass_list, :string, array: true
87
+ end
88
+
89
+ if self.
90
+ create_table :taggable_model_with_jsons, :force => true do |t|
91
+ t.column :name, :string
92
+ t.column :type, :string
93
+ t.column :opts, :json
94
+ end
95
+ end
96
+ end
97
+ end
@@ -68,4 +68,15 @@ ActiveRecord::Schema.define :version => 0 do
68
68
  t.column :name, :string
69
69
  t.column :type, :string
70
70
  end
71
+
72
+ create_table :taggable_model_with_jsons, :force => true do |t|
73
+ t.column :name, :string
74
+ t.column :type, :string
75
+ if self.connection.adapter_name == 'PostgreSQL' && self.connection.execute("SHOW SERVER_VERSION").first["server_version"].to_f >= 9.2
76
+ type = :json
77
+ else
78
+ type = :string
79
+ end
80
+ t.column :opts, type
81
+ end
71
82
  end
@@ -1,71 +1,18 @@
1
- $LOAD_PATH << "." unless $LOAD_PATH.include?(".")
1
+ $LOAD_PATH << '.' unless $LOAD_PATH.include?('.')
2
2
  $LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__))
3
3
  require 'logger'
4
4
 
5
5
  require File.expand_path('../../lib/acts-as-taggable-on', __FILE__)
6
6
  I18n.enforce_available_locales = true
7
- require 'ammeter/init'
7
+ require 'rails'
8
+ require 'rspec/its'
9
+ require 'ammeter/init' # <= You are next
10
+ require 'barrier'
11
+ require 'database_cleaner'
8
12
 
9
- unless [].respond_to?(:freq)
10
- class Array
11
- def freq
12
- k=Hash.new(0)
13
- each {|e| k[e]+=1}
14
- k
15
- end
16
- end
17
- end
18
-
19
- # set adapter to use, default is sqlite3
20
- # to use an alternative adapter run => rake spec DB='postgresql'
21
- db_name = ENV['DB'] || 'sqlite3'
22
- database_yml = File.expand_path('../database.yml', __FILE__)
23
-
24
- if File.exists?(database_yml)
25
- active_record_configuration = YAML.load_file(database_yml)
26
-
27
- ActiveRecord::Base.configurations = active_record_configuration
28
- config = ActiveRecord::Base.configurations[db_name]
29
-
30
- begin
31
- ActiveRecord::Base.establish_connection(db_name)
32
- ActiveRecord::Base.connection
33
- rescue
34
- case db_name
35
- when /mysql/
36
- ActiveRecord::Base.establish_connection(config.merge('database' => nil))
37
- ActiveRecord::Base.connection.create_database(config['database'], {:charset => 'utf8', :collation => 'utf8_unicode_ci'})
38
- when 'postgresql'
39
- ActiveRecord::Base.establish_connection(config.merge('database' => 'postgres', 'schema_search_path' => 'public'))
40
- ActiveRecord::Base.connection.create_database(config['database'], config.merge('encoding' => 'utf8'))
41
- end
42
-
43
- ActiveRecord::Base.establish_connection(config)
44
- end
45
-
46
- logger = ActiveRecord::Base.logger = Logger.new(File.join(File.dirname(__FILE__), "debug.log"))
47
- ActiveRecord::Base.default_timezone = :utc
48
-
49
- begin
50
- old_logger_level, logger.level = logger.level, ::Logger::ERROR
51
- ActiveRecord::Migration.verbose = false
52
-
53
- load(File.dirname(__FILE__) + '/schema.rb')
54
- load(File.dirname(__FILE__) + '/models.rb')
55
- ensure
56
- logger.level = old_logger_level
57
- end
58
-
59
- else
60
- raise "Please create #{database_yml} first to configure your database. Take a look at: #{database_yml}.sample"
61
- end
13
+ Dir['./spec/support/**/*.rb'].sort.each { |f| require f }
62
14
 
63
- def clean_database!
64
- models = [ActsAsTaggableOn::Tag, ActsAsTaggableOn::Tagging, TaggableModel, OtherTaggableModel, InheritingTaggableModel,
65
- AlteredInheritingTaggableModel, User, UntaggableModel, OrderedTaggableModel]
66
- models.each do |model|
67
- ActiveRecord::Base.connection.execute "DELETE FROM #{model.table_name}"
68
- end
15
+ RSpec.configure do |config|
16
+ config.raise_errors_for_deprecations!
69
17
  end
70
18
 
71
- clean_database!
@@ -0,0 +1,9 @@
1
+ unless [].respond_to?(:freq)
2
+ class Array
3
+ def freq
4
+ k=Hash.new(0)
5
+ each { |e| k[e]+=1 }
6
+ k
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,42 @@
1
+ # set adapter to use, default is sqlite3
2
+ # to use an alternative adapter run => rake spec DB='postgresql'
3
+ db_name = ENV['DB'] || 'sqlite3'
4
+ database_yml = File.expand_path('../../internal/config/database.yml', __FILE__)
5
+
6
+ if File.exist?(database_yml)
7
+
8
+ ActiveRecord::Migration.verbose = false
9
+ ActiveRecord::Base.default_timezone = :utc
10
+ ActiveRecord::Base.configurations = YAML.load_file(database_yml)
11
+ ActiveRecord::Base.logger = Logger.new(File.join(File.dirname(__FILE__), '../debug.log'))
12
+ ActiveRecord::Base.logger.level = ENV['TRAVIS'] ? ::Logger::ERROR : ::Logger::DEBUG
13
+ config = ActiveRecord::Base.configurations[db_name]
14
+
15
+ begin
16
+ #activerecord 4 uses symbol
17
+ #TODO, remove when activerecord 3 support is dropped
18
+ if ActsAsTaggableOn::Utils.active_record4?
19
+ ActiveRecord::Base.establish_connection(db_name.to_sym)
20
+ else
21
+ ActiveRecord::Base.establish_connection(db_name)
22
+ end
23
+ ActiveRecord::Base.connection
24
+ rescue
25
+ case db_name
26
+ when /mysql/
27
+ ActiveRecord::Base.establish_connection(config.merge('database' => nil))
28
+ ActiveRecord::Base.connection.create_database(config['database'], {charset: 'utf8', collation: 'utf8_unicode_ci'})
29
+ when 'postgresql'
30
+ ActiveRecord::Base.establish_connection(config.merge('database' => 'postgres', 'schema_search_path' => 'public'))
31
+ ActiveRecord::Base.connection.create_database(config['database'], config.merge('encoding' => 'utf8'))
32
+ end
33
+
34
+ ActiveRecord::Base.establish_connection(config)
35
+ end
36
+
37
+ load(File.dirname(__FILE__) + '/../internal/db/schema.rb')
38
+ load(File.dirname(__FILE__) + '/../internal/app/models/models.rb')
39
+
40
+ else
41
+ fail "Please create #{database_yml} first to configure your database. Take a look at: #{database_yml}.sample"
42
+ end
@@ -0,0 +1,17 @@
1
+ RSpec.configure do |config|
2
+
3
+ config.before(:suite) do
4
+ DatabaseCleaner.clean_with(:truncation)
5
+ DatabaseCleaner.strategy = :transaction
6
+ DatabaseCleaner.clean
7
+ end
8
+
9
+ config.before(:each) do
10
+ DatabaseCleaner.start
11
+ end
12
+
13
+ config.after(:each) do
14
+ DatabaseCleaner.clean
15
+ end
16
+
17
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts-as-taggable-on
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bleigh
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-04 00:00:00.000000000 Z
12
+ date: 2014-05-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -32,7 +32,7 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  version: '5'
34
34
  - !ruby/object:Gem::Dependency
35
- name: activesupport
35
+ name: actionpack
36
36
  requirement: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
@@ -52,27 +52,35 @@ dependencies:
52
52
  - !ruby/object:Gem::Version
53
53
  version: '5'
54
54
  - !ruby/object:Gem::Dependency
55
- name: actionpack
55
+ name: sqlite3
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: '3'
61
- - - "<"
62
- - !ruby/object:Gem::Version
63
- version: '5'
64
- type: :runtime
60
+ version: '0'
61
+ type: :development
65
62
  prerelease: false
66
63
  version_requirements: !ruby/object:Gem::Requirement
67
64
  requirements:
68
65
  - - ">="
69
66
  - !ruby/object:Gem::Version
70
- version: '3'
71
- - - "<"
67
+ version: '0'
68
+ - !ruby/object:Gem::Dependency
69
+ name: mysql2
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
72
73
  - !ruby/object:Gem::Version
73
- version: '5'
74
+ version: 0.3.7
75
+ type: :development
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: 0.3.7
74
82
  - !ruby/object:Gem::Dependency
75
- name: sqlite3
83
+ name: pg
76
84
  requirement: !ruby/object:Gem::Requirement
77
85
  requirements:
78
86
  - - ">="
@@ -86,21 +94,21 @@ dependencies:
86
94
  - !ruby/object:Gem::Version
87
95
  version: '0'
88
96
  - !ruby/object:Gem::Dependency
89
- name: mysql2
97
+ name: rspec-rails
90
98
  requirement: !ruby/object:Gem::Requirement
91
99
  requirements:
92
100
  - - "~>"
93
101
  - !ruby/object:Gem::Version
94
- version: 0.3.7
102
+ version: 3.0.0.beta
95
103
  type: :development
96
104
  prerelease: false
97
105
  version_requirements: !ruby/object:Gem::Requirement
98
106
  requirements:
99
107
  - - "~>"
100
108
  - !ruby/object:Gem::Version
101
- version: 0.3.7
109
+ version: 3.0.0.beta
102
110
  - !ruby/object:Gem::Dependency
103
- name: pg
111
+ name: rspec-its
104
112
  requirement: !ruby/object:Gem::Requirement
105
113
  requirements:
106
114
  - - ">="
@@ -114,35 +122,49 @@ dependencies:
114
122
  - !ruby/object:Gem::Version
115
123
  version: '0'
116
124
  - !ruby/object:Gem::Dependency
117
- name: rspec-rails
125
+ name: rspec
118
126
  requirement: !ruby/object:Gem::Requirement
119
127
  requirements:
120
- - - '='
128
+ - - ">="
121
129
  - !ruby/object:Gem::Version
122
- version: 2.13.0
130
+ version: '0'
123
131
  type: :development
124
132
  prerelease: false
125
133
  version_requirements: !ruby/object:Gem::Requirement
126
134
  requirements:
127
- - - '='
135
+ - - ">="
128
136
  - !ruby/object:Gem::Version
129
- version: 2.13.0
137
+ version: '0'
130
138
  - !ruby/object:Gem::Dependency
131
- name: rspec
139
+ name: ammeter
132
140
  requirement: !ruby/object:Gem::Requirement
133
141
  requirements:
134
- - - "~>"
142
+ - - ">="
135
143
  - !ruby/object:Gem::Version
136
- version: '2.6'
144
+ version: '0'
137
145
  type: :development
138
146
  prerelease: false
139
147
  version_requirements: !ruby/object:Gem::Requirement
140
148
  requirements:
141
- - - "~>"
149
+ - - ">="
142
150
  - !ruby/object:Gem::Version
143
- version: '2.6'
151
+ version: '0'
144
152
  - !ruby/object:Gem::Dependency
145
- name: ammeter
153
+ name: barrier
154
+ requirement: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ type: :development
160
+ prerelease: false
161
+ version_requirements: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ - !ruby/object:Gem::Dependency
167
+ name: database_cleaner
146
168
  requirement: !ruby/object:Gem::Requirement
147
169
  requirements:
148
170
  - - ">="
@@ -180,10 +202,10 @@ files:
180
202
  - db/migrate/1_acts_as_taggable_on_migration.rb
181
203
  - db/migrate/2_add_missing_unique_indices.rb
182
204
  - db/migrate/3_add_taggings_counter_cache_to_tags.rb
183
- - gemfiles/rails_3.2.gemfile
184
- - gemfiles/rails_4.0.gemfile
185
- - gemfiles/rails_4.1.gemfile
186
- - gemfiles/rails_edge.gemfile
205
+ - gemfiles/activerecord_3.2.gemfile
206
+ - gemfiles/activerecord_4.0.gemfile
207
+ - gemfiles/activerecord_4.1.gemfile
208
+ - gemfiles/activerecord_edge.gemfile
187
209
  - lib/acts-as-taggable-on.rb
188
210
  - lib/acts_as_taggable_on.rb
189
211
  - lib/acts_as_taggable_on/acts_as_taggable_on/cache.rb
@@ -215,15 +237,33 @@ files:
215
237
  - spec/acts_as_taggable_on/tags_helper_spec.rb
216
238
  - spec/acts_as_taggable_on/utils_spec.rb
217
239
  - spec/bm.rb
218
- - spec/database.yml.sample
219
- - spec/models.rb
240
+ - spec/internal/app/models/altered_inheriting_taggable_model.rb
241
+ - spec/internal/app/models/cached_model.rb
242
+ - spec/internal/app/models/cached_model_with_array.rb
243
+ - spec/internal/app/models/company.rb
244
+ - spec/internal/app/models/inheriting_taggable_model.rb
245
+ - spec/internal/app/models/market.rb
246
+ - spec/internal/app/models/models.rb
247
+ - spec/internal/app/models/non_standard_id_taggable_model.rb
248
+ - spec/internal/app/models/ordered_taggable_model.rb
249
+ - spec/internal/app/models/other_cached_model.rb
250
+ - spec/internal/app/models/other_taggable_model.rb
251
+ - spec/internal/app/models/student.rb
252
+ - spec/internal/app/models/taggable_model.rb
253
+ - spec/internal/app/models/untaggable_model.rb
254
+ - spec/internal/app/models/user.rb
255
+ - spec/internal/config/database.yml.sample
256
+ - spec/internal/db/schema.rb
220
257
  - spec/schema.rb
221
258
  - spec/spec_helper.rb
259
+ - spec/support/array.rb
260
+ - spec/support/database.rb
261
+ - spec/support/database_cleaner.rb
222
262
  homepage: https://github.com/mbleigh/acts-as-taggable-on
223
263
  licenses:
224
264
  - MIT
225
265
  metadata: {}
226
- post_install_message: |
266
+ post_install_message: |-
227
267
  When upgrading
228
268
 
229
269
  Re-run the migrations generator
@@ -231,6 +271,12 @@ post_install_message: |
231
271
  rake acts_as_taggable_on_engine:install:migrations
232
272
 
233
273
  It will create any new migrations and skip existing ones
274
+
275
+
276
+ ##Breaking changes:
277
+
278
+ - ActsAsTaggableOn::Tag is not extend with ActsAsTaggableOn::Utils anymore.
279
+ Please use ActsAsTaggableOn::Utils instead
234
280
  rdoc_options: []
235
281
  require_paths:
236
282
  - lib
@@ -264,8 +310,26 @@ test_files:
264
310
  - spec/acts_as_taggable_on/tags_helper_spec.rb
265
311
  - spec/acts_as_taggable_on/utils_spec.rb
266
312
  - spec/bm.rb
267
- - spec/database.yml.sample
268
- - spec/models.rb
313
+ - spec/internal/app/models/altered_inheriting_taggable_model.rb
314
+ - spec/internal/app/models/cached_model.rb
315
+ - spec/internal/app/models/cached_model_with_array.rb
316
+ - spec/internal/app/models/company.rb
317
+ - spec/internal/app/models/inheriting_taggable_model.rb
318
+ - spec/internal/app/models/market.rb
319
+ - spec/internal/app/models/models.rb
320
+ - spec/internal/app/models/non_standard_id_taggable_model.rb
321
+ - spec/internal/app/models/ordered_taggable_model.rb
322
+ - spec/internal/app/models/other_cached_model.rb
323
+ - spec/internal/app/models/other_taggable_model.rb
324
+ - spec/internal/app/models/student.rb
325
+ - spec/internal/app/models/taggable_model.rb
326
+ - spec/internal/app/models/untaggable_model.rb
327
+ - spec/internal/app/models/user.rb
328
+ - spec/internal/config/database.yml.sample
329
+ - spec/internal/db/schema.rb
269
330
  - spec/schema.rb
270
331
  - spec/spec_helper.rb
332
+ - spec/support/array.rb
333
+ - spec/support/database.rb
334
+ - spec/support/database_cleaner.rb
271
335
  has_rdoc: