make_taggable 0.6.5 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.dummyrc +17 -0
- data/.github/workflows/ci.yml +115 -22
- data/.github/workflows/standard-ci.yml +27 -0
- data/.gitignore +4 -0
- data/Appraisals +4 -0
- data/CONTRIBUTING.md +5 -31
- data/README.md +62 -37
- data/Rakefile +3 -0
- data/UPGRADING.md +1 -1
- data/gemfiles/rails_6_1.gemfile +9 -0
- data/lib/make_taggable.rb +4 -4
- data/lib/make_taggable/tag.rb +1 -1
- data/lib/make_taggable/version.rb +1 -2
- data/lib/tasks/setup_test_db.rake +8 -0
- data/make_taggable.gemspec +29 -15
- metadata +110 -253
- data/.standard.yml +0 -18
- data/.standard_todo.yml +0 -5
- data/.travis.yml +0 -36
- data/LICENSE.txt +0 -21
- data/spec/dummy/README.md +0 -24
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/assets/config/manifest.js +0 -2
- data/spec/dummy/app/channels/application_cable/channel.rb +0 -4
- data/spec/dummy/app/channels/application_cable/connection.rb +0 -4
- data/spec/dummy/app/controllers/application_controller.rb +0 -2
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/jobs/application_job.rb +0 -7
- data/spec/dummy/app/mailers/application_mailer.rb +0 -4
- data/spec/dummy/app/models/altered_inheriting_taggable_model.rb +0 -5
- data/spec/dummy/app/models/application_record.rb +0 -3
- data/spec/dummy/app/models/cached_model.rb +0 -3
- data/spec/dummy/app/models/cached_model_with_array.rb +0 -11
- data/spec/dummy/app/models/columns_override_model.rb +0 -5
- data/spec/dummy/app/models/company.rb +0 -15
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/models/inheriting_taggable_model.rb +0 -4
- data/spec/dummy/app/models/market.rb +0 -2
- data/spec/dummy/app/models/non_standard_id_taggable_model.rb +0 -8
- data/spec/dummy/app/models/ordered_taggable_model.rb +0 -4
- data/spec/dummy/app/models/other_cached_model.rb +0 -3
- data/spec/dummy/app/models/other_taggable_model.rb +0 -4
- data/spec/dummy/app/models/student.rb +0 -4
- data/spec/dummy/app/models/taggable_model.rb +0 -14
- data/spec/dummy/app/models/untaggable_model.rb +0 -3
- data/spec/dummy/app/models/user.rb +0 -3
- data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
- data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/bin/setup +0 -33
- data/spec/dummy/config.ru +0 -5
- data/spec/dummy/config/application.rb +0 -19
- data/spec/dummy/config/boot.rb +0 -5
- data/spec/dummy/config/cable.yml +0 -10
- data/spec/dummy/config/credentials.yml.enc +0 -1
- data/spec/dummy/config/database.yml +0 -25
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -52
- data/spec/dummy/config/environments/production.rb +0 -105
- data/spec/dummy/config/environments/test.rb +0 -49
- data/spec/dummy/config/initializers/application_controller_renderer.rb +0 -8
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/cors.rb +0 -16
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -4
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -33
- data/spec/dummy/config/master.key +0 -1
- data/spec/dummy/config/puma.rb +0 -38
- data/spec/dummy/config/routes.rb +0 -3
- data/spec/dummy/config/spring.rb +0 -6
- data/spec/dummy/config/storage.yml +0 -34
- data/spec/dummy/db/migrate/20201119220853_create_taggable_models.rb +0 -8
- data/spec/dummy/db/migrate/20201119221037_create_columns_override_models.rb +0 -9
- data/spec/dummy/db/migrate/20201119221121_create_non_standard_id_taggable_models.rb +0 -8
- data/spec/dummy/db/migrate/20201119221228_create_untaggable_models.rb +0 -8
- data/spec/dummy/db/migrate/20201119221247_create_cached_models.rb +0 -9
- data/spec/dummy/db/migrate/20201119221314_create_other_cached_models.rb +0 -11
- data/spec/dummy/db/migrate/20201119221343_create_companies.rb +0 -7
- data/spec/dummy/db/migrate/20201119221416_create_users.rb +0 -7
- data/spec/dummy/db/migrate/20201119221434_create_other_taggable_models.rb +0 -8
- data/spec/dummy/db/migrate/20201119221507_create_ordered_taggable_models.rb +0 -8
- data/spec/dummy/db/migrate/20201119221530_create_cache_methods_injected_models.rb +0 -7
- data/spec/dummy/db/migrate/20201119221629_create_other_cached_with_array_models.rb +0 -11
- data/spec/dummy/db/migrate/20201119221746_create_taggable_model_with_jsons.rb +0 -9
- data/spec/dummy/db/migrate/20201121222007_create_make_taggable_tags.make_taggable_engine.rb +0 -11
- data/spec/dummy/db/migrate/20201121222008_create_make_taggable_taggings.make_taggable_engine.rb +0 -13
- data/spec/dummy/db/migrate/20201121222009_change_tag_name_collation_mysql.make_taggable_engine.rb +0 -8
- data/spec/dummy/db/migrate/20201121222010_add_index_to_tags.make_taggable_engine.rb +0 -6
- data/spec/dummy/db/migrate/20201121222011_add_index_to_taggings.make_taggable_engine.rb +0 -13
- data/spec/dummy/db/schema.rb +0 -117
- data/spec/dummy/db/seeds.rb +0 -7
- data/spec/dummy/lib/tasks/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/robots.txt +0 -1
- data/spec/dummy/storage/.keep +0 -0
- data/spec/dummy/test/channels/application_cable/connection_test.rb +0 -11
- data/spec/dummy/test/controllers/.keep +0 -0
- data/spec/dummy/test/fixtures/.keep +0 -0
- data/spec/dummy/test/fixtures/files/.keep +0 -0
- data/spec/dummy/test/integration/.keep +0 -0
- data/spec/dummy/test/mailers/.keep +0 -0
- data/spec/dummy/test/models/.keep +0 -0
- data/spec/dummy/test/test_helper.rb +0 -13
- data/spec/dummy/vendor/.keep +0 -0
- data/spec/make_taggable/acts_as_tagger_spec.rb +0 -112
- data/spec/make_taggable/caching_spec.rb +0 -123
- data/spec/make_taggable/default_parser_spec.rb +0 -45
- data/spec/make_taggable/dirty_spec.rb +0 -140
- data/spec/make_taggable/generic_parser_spec.rb +0 -13
- data/spec/make_taggable/make_taggable_spec.rb +0 -260
- data/spec/make_taggable/related_spec.rb +0 -93
- data/spec/make_taggable/single_table_inheritance_spec.rb +0 -220
- data/spec/make_taggable/tag_list_spec.rb +0 -169
- data/spec/make_taggable/tag_spec.rb +0 -297
- data/spec/make_taggable/taggable_spec.rb +0 -804
- data/spec/make_taggable/tagger_spec.rb +0 -149
- data/spec/make_taggable/tagging_spec.rb +0 -115
- data/spec/make_taggable/tags_helper_spec.rb +0 -43
- data/spec/make_taggable/utils_spec.rb +0 -22
- data/spec/make_taggable_spec.rb +0 -5
- data/spec/spec_helper.rb +0 -18
- data/spec/support/array.rb +0 -9
- data/spec/support/helpers.rb +0 -31
data/Rakefile
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
|
+
require "rails/dummy/tasks"
|
2
3
|
|
3
4
|
import "./lib/tasks/tags_collate_utf8.rake"
|
4
5
|
|
@@ -6,5 +7,7 @@ APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
|
|
6
7
|
|
7
8
|
require "rspec/core/rake_task"
|
8
9
|
RSpec::Core::RakeTask.new(:spec)
|
10
|
+
|
9
11
|
task default: :spec
|
10
12
|
|
13
|
+
load "lib/tasks/setup_test_db.rake"
|
data/UPGRADING.md
CHANGED
data/lib/make_taggable.rb
CHANGED
@@ -60,7 +60,7 @@ module MakeTaggable
|
|
60
60
|
def self.glue
|
61
61
|
setting = @configuration.delimiter
|
62
62
|
delimiter = setting.is_a?(Array) ? setting[0] : setting
|
63
|
-
delimiter.
|
63
|
+
delimiter.end_with?(" ") ? delimiter : "#{delimiter} "
|
64
64
|
end
|
65
65
|
|
66
66
|
class Configuration
|
@@ -111,10 +111,10 @@ module MakeTaggable
|
|
111
111
|
|
112
112
|
def self.apply_binary_collation(bincoll)
|
113
113
|
if Utils.using_mysql?
|
114
|
-
coll = "
|
115
|
-
coll = "
|
114
|
+
coll = "utf8mb4_general_ci"
|
115
|
+
coll = "utf8mb4_bin" if bincoll
|
116
116
|
begin
|
117
|
-
ActiveRecord::Migration.execute("ALTER TABLE #{Tag.table_name} MODIFY name varchar(255) CHARACTER SET
|
117
|
+
ActiveRecord::Migration.execute("ALTER TABLE #{Tag.table_name} MODIFY name varchar(255) CHARACTER SET utf8mb4 COLLATE #{coll};")
|
118
118
|
rescue => e
|
119
119
|
puts "Trapping #{e.class}: collation parameter ignored while migrating for the first time."
|
120
120
|
end
|
data/lib/make_taggable/tag.rb
CHANGED
@@ -7,7 +7,7 @@ module MakeTaggable
|
|
7
7
|
|
8
8
|
### VALIDATIONS:
|
9
9
|
validates_presence_of :name
|
10
|
-
validates_uniqueness_of :name, if: :validates_name_uniqueness
|
10
|
+
validates_uniqueness_of :name, if: :validates_name_uniqueness?, case_sensitive: true
|
11
11
|
validates_length_of :name, maximum: 255
|
12
12
|
|
13
13
|
# Monkey patch this method if don't need name uniqueness validation
|
data/make_taggable.gemspec
CHANGED
@@ -1,30 +1,44 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require "make_taggable/version"
|
1
|
+
require_relative "lib/make_taggable/version"
|
4
2
|
|
5
3
|
Gem::Specification.new do |spec|
|
6
4
|
spec.name = "make_taggable"
|
7
5
|
spec.version = MakeTaggable::VERSION
|
8
6
|
spec.authors = ["Matthew Kennedy", "Michael Bleigh", "Joost Baaij"]
|
9
|
-
spec.email = %w[m.kennedy@me.com
|
10
|
-
|
7
|
+
spec.email = %w[m.kennedy@me.com]
|
8
|
+
|
9
|
+
spec.required_ruby_version = ">= 2.5"
|
10
|
+
|
11
11
|
spec.summary = "Advanced Tagging For Rails"
|
12
|
+
spec.description = "MakeTaggable is a fork of Acts-As-Taggable-On with code updates & fresh migrations"
|
13
|
+
|
12
14
|
spec.homepage = "https://github.com/MatthewKennedy/make_taggable"
|
13
15
|
spec.license = "MIT"
|
14
16
|
|
15
|
-
|
16
|
-
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
+
spec.metadata["changelog_uri"] = "https://github.com/MatthewKennedy/make_taggable/blob/master/CHANGELOG.md"
|
20
|
+
|
21
|
+
spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
|
22
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
|
17
23
|
end
|
18
24
|
|
19
|
-
spec.
|
20
|
-
spec.
|
25
|
+
spec.bindir = "exe"
|
26
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
27
|
spec.require_paths = ["lib"]
|
22
28
|
|
23
|
-
spec.add_dependency "
|
29
|
+
spec.add_dependency "activerecord", ">= 5.2.0", "<= 7.5.0"
|
30
|
+
|
31
|
+
spec.add_development_dependency "rails", ">= 5.2.0", "<= 7.5.0"
|
32
|
+
spec.add_development_dependency "appraisal", "~> 2.3.0"
|
33
|
+
spec.add_development_dependency "mysql2", "~> 0.5.0"
|
34
|
+
spec.add_development_dependency "pg", "~> 1.2.0"
|
35
|
+
spec.add_development_dependency "rspec", "~> 3.10.0"
|
36
|
+
spec.add_development_dependency "rspec-rails", "~> 4.0.0"
|
37
|
+
spec.add_development_dependency "standard", "~> 0.10.0"
|
38
|
+
spec.add_development_dependency "sqlite3", "~> 1.4.0"
|
39
|
+
spec.add_development_dependency "rails-dummy", "~> 0.1.0"
|
24
40
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
spec.add_development_dependency "standard"
|
29
|
-
spec.add_development_dependency "appraisal"
|
41
|
+
if File.exist?("UPGRADING.md")
|
42
|
+
spec.post_install_message = File.read("UPGRADING.md")
|
43
|
+
end
|
30
44
|
end
|
metadata
CHANGED
@@ -1,124 +1,188 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: make_taggable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Kennedy
|
8
8
|
- Michael Bleigh
|
9
9
|
- Joost Baaij
|
10
10
|
autorequire:
|
11
|
-
bindir:
|
11
|
+
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-03-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
16
|
+
name: activerecord
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 5.2.0
|
22
|
+
- - "<="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 7.5.0
|
22
25
|
type: :runtime
|
23
26
|
prerelease: false
|
24
27
|
version_requirements: !ruby/object:Gem::Requirement
|
25
28
|
requirements:
|
26
29
|
- - ">="
|
27
30
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
31
|
+
version: 5.2.0
|
32
|
+
- - "<="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 7.5.0
|
29
35
|
- !ruby/object:Gem::Dependency
|
30
|
-
name:
|
36
|
+
name: rails
|
31
37
|
requirement: !ruby/object:Gem::Requirement
|
32
38
|
requirements:
|
33
39
|
- - ">="
|
34
40
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
41
|
+
version: 5.2.0
|
42
|
+
- - "<="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 7.5.0
|
36
45
|
type: :development
|
37
46
|
prerelease: false
|
38
47
|
version_requirements: !ruby/object:Gem::Requirement
|
39
48
|
requirements:
|
40
49
|
- - ">="
|
41
50
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
51
|
+
version: 5.2.0
|
52
|
+
- - "<="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 7.5.0
|
43
55
|
- !ruby/object:Gem::Dependency
|
44
|
-
name:
|
56
|
+
name: appraisal
|
45
57
|
requirement: !ruby/object:Gem::Requirement
|
46
58
|
requirements:
|
47
|
-
- - "
|
59
|
+
- - "~>"
|
48
60
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
61
|
+
version: 2.3.0
|
50
62
|
type: :development
|
51
63
|
prerelease: false
|
52
64
|
version_requirements: !ruby/object:Gem::Requirement
|
53
65
|
requirements:
|
54
|
-
- - "
|
66
|
+
- - "~>"
|
55
67
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
68
|
+
version: 2.3.0
|
57
69
|
- !ruby/object:Gem::Dependency
|
58
|
-
name:
|
70
|
+
name: mysql2
|
59
71
|
requirement: !ruby/object:Gem::Requirement
|
60
72
|
requirements:
|
61
|
-
- - "
|
73
|
+
- - "~>"
|
62
74
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
75
|
+
version: 0.5.0
|
64
76
|
type: :development
|
65
77
|
prerelease: false
|
66
78
|
version_requirements: !ruby/object:Gem::Requirement
|
67
79
|
requirements:
|
68
|
-
- - "
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.5.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pg
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.2.0
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
69
95
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
96
|
+
version: 1.2.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.10.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.10.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec-rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 4.0.0
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 4.0.0
|
71
125
|
- !ruby/object:Gem::Dependency
|
72
126
|
name: standard
|
73
127
|
requirement: !ruby/object:Gem::Requirement
|
74
128
|
requirements:
|
75
|
-
- - "
|
129
|
+
- - "~>"
|
76
130
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
131
|
+
version: 0.10.0
|
78
132
|
type: :development
|
79
133
|
prerelease: false
|
80
134
|
version_requirements: !ruby/object:Gem::Requirement
|
81
135
|
requirements:
|
82
|
-
- - "
|
136
|
+
- - "~>"
|
83
137
|
- !ruby/object:Gem::Version
|
84
|
-
version:
|
138
|
+
version: 0.10.0
|
85
139
|
- !ruby/object:Gem::Dependency
|
86
|
-
name:
|
140
|
+
name: sqlite3
|
87
141
|
requirement: !ruby/object:Gem::Requirement
|
88
142
|
requirements:
|
89
|
-
- - "
|
143
|
+
- - "~>"
|
90
144
|
- !ruby/object:Gem::Version
|
91
|
-
version:
|
145
|
+
version: 1.4.0
|
92
146
|
type: :development
|
93
147
|
prerelease: false
|
94
148
|
version_requirements: !ruby/object:Gem::Requirement
|
95
149
|
requirements:
|
96
|
-
- - "
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.4.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rails-dummy
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
97
158
|
- !ruby/object:Gem::Version
|
98
|
-
version:
|
99
|
-
|
100
|
-
|
159
|
+
version: 0.1.0
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.1.0
|
167
|
+
description: MakeTaggable is a fork of Acts-As-Taggable-On with code updates & fresh
|
168
|
+
migrations
|
101
169
|
email:
|
102
170
|
- m.kennedy@me.com
|
103
|
-
- michael@intridea.com
|
104
|
-
- joost@spacebabies.nl
|
105
171
|
executables: []
|
106
172
|
extensions: []
|
107
173
|
extra_rdoc_files: []
|
108
174
|
files:
|
175
|
+
- ".dummyrc"
|
109
176
|
- ".github/workflows/ci.yml"
|
177
|
+
- ".github/workflows/standard-ci.yml"
|
110
178
|
- ".gitignore"
|
111
179
|
- ".rspec"
|
112
|
-
- ".standard.yml"
|
113
|
-
- ".standard_todo.yml"
|
114
|
-
- ".travis.yml"
|
115
180
|
- Appraisals
|
116
181
|
- CHANGELOG.md
|
117
182
|
- CODE_OF_CONDUCT.md
|
118
183
|
- CONTRIBUTING.md
|
119
184
|
- Gemfile
|
120
185
|
- LICENSE.md
|
121
|
-
- LICENSE.txt
|
122
186
|
- README.md
|
123
187
|
- Rakefile
|
124
188
|
- UPGRADING.md
|
@@ -131,6 +195,7 @@ files:
|
|
131
195
|
- db/migrate/5_add_index_to_taggings.rb
|
132
196
|
- gemfiles/rails_5.gemfile
|
133
197
|
- gemfiles/rails_6.gemfile
|
198
|
+
- gemfiles/rails_6_1.gemfile
|
134
199
|
- gemfiles/rails_master.gemfile
|
135
200
|
- lib/make_taggable.rb
|
136
201
|
- lib/make_taggable/default_parser.rb
|
@@ -155,122 +220,20 @@ files:
|
|
155
220
|
- lib/make_taggable/tags_helper.rb
|
156
221
|
- lib/make_taggable/utils.rb
|
157
222
|
- lib/make_taggable/version.rb
|
223
|
+
- lib/tasks/setup_test_db.rake
|
158
224
|
- lib/tasks/tags_collate_utf8.rake
|
159
225
|
- make_taggable.gemspec
|
160
|
-
- spec/dummy/README.md
|
161
|
-
- spec/dummy/Rakefile
|
162
|
-
- spec/dummy/app/assets/config/manifest.js
|
163
|
-
- spec/dummy/app/channels/application_cable/channel.rb
|
164
|
-
- spec/dummy/app/channels/application_cable/connection.rb
|
165
|
-
- spec/dummy/app/controllers/application_controller.rb
|
166
|
-
- spec/dummy/app/controllers/concerns/.keep
|
167
|
-
- spec/dummy/app/jobs/application_job.rb
|
168
|
-
- spec/dummy/app/mailers/application_mailer.rb
|
169
|
-
- spec/dummy/app/models/altered_inheriting_taggable_model.rb
|
170
|
-
- spec/dummy/app/models/application_record.rb
|
171
|
-
- spec/dummy/app/models/cached_model.rb
|
172
|
-
- spec/dummy/app/models/cached_model_with_array.rb
|
173
|
-
- spec/dummy/app/models/columns_override_model.rb
|
174
|
-
- spec/dummy/app/models/company.rb
|
175
|
-
- spec/dummy/app/models/concerns/.keep
|
176
|
-
- spec/dummy/app/models/inheriting_taggable_model.rb
|
177
|
-
- spec/dummy/app/models/market.rb
|
178
|
-
- spec/dummy/app/models/non_standard_id_taggable_model.rb
|
179
|
-
- spec/dummy/app/models/ordered_taggable_model.rb
|
180
|
-
- spec/dummy/app/models/other_cached_model.rb
|
181
|
-
- spec/dummy/app/models/other_taggable_model.rb
|
182
|
-
- spec/dummy/app/models/student.rb
|
183
|
-
- spec/dummy/app/models/taggable_model.rb
|
184
|
-
- spec/dummy/app/models/untaggable_model.rb
|
185
|
-
- spec/dummy/app/models/user.rb
|
186
|
-
- spec/dummy/app/views/layouts/mailer.html.erb
|
187
|
-
- spec/dummy/app/views/layouts/mailer.text.erb
|
188
|
-
- spec/dummy/bin/rails
|
189
|
-
- spec/dummy/bin/rake
|
190
|
-
- spec/dummy/bin/setup
|
191
|
-
- spec/dummy/config.ru
|
192
|
-
- spec/dummy/config/application.rb
|
193
|
-
- spec/dummy/config/boot.rb
|
194
|
-
- spec/dummy/config/cable.yml
|
195
|
-
- spec/dummy/config/credentials.yml.enc
|
196
|
-
- spec/dummy/config/database.yml
|
197
|
-
- spec/dummy/config/environment.rb
|
198
|
-
- spec/dummy/config/environments/development.rb
|
199
|
-
- spec/dummy/config/environments/production.rb
|
200
|
-
- spec/dummy/config/environments/test.rb
|
201
|
-
- spec/dummy/config/initializers/application_controller_renderer.rb
|
202
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
203
|
-
- spec/dummy/config/initializers/cors.rb
|
204
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
205
|
-
- spec/dummy/config/initializers/inflections.rb
|
206
|
-
- spec/dummy/config/initializers/mime_types.rb
|
207
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
208
|
-
- spec/dummy/config/locales/en.yml
|
209
|
-
- spec/dummy/config/master.key
|
210
|
-
- spec/dummy/config/puma.rb
|
211
|
-
- spec/dummy/config/routes.rb
|
212
|
-
- spec/dummy/config/spring.rb
|
213
|
-
- spec/dummy/config/storage.yml
|
214
|
-
- spec/dummy/db/migrate/20201119220853_create_taggable_models.rb
|
215
|
-
- spec/dummy/db/migrate/20201119221037_create_columns_override_models.rb
|
216
|
-
- spec/dummy/db/migrate/20201119221121_create_non_standard_id_taggable_models.rb
|
217
|
-
- spec/dummy/db/migrate/20201119221228_create_untaggable_models.rb
|
218
|
-
- spec/dummy/db/migrate/20201119221247_create_cached_models.rb
|
219
|
-
- spec/dummy/db/migrate/20201119221314_create_other_cached_models.rb
|
220
|
-
- spec/dummy/db/migrate/20201119221343_create_companies.rb
|
221
|
-
- spec/dummy/db/migrate/20201119221416_create_users.rb
|
222
|
-
- spec/dummy/db/migrate/20201119221434_create_other_taggable_models.rb
|
223
|
-
- spec/dummy/db/migrate/20201119221507_create_ordered_taggable_models.rb
|
224
|
-
- spec/dummy/db/migrate/20201119221530_create_cache_methods_injected_models.rb
|
225
|
-
- spec/dummy/db/migrate/20201119221629_create_other_cached_with_array_models.rb
|
226
|
-
- spec/dummy/db/migrate/20201119221746_create_taggable_model_with_jsons.rb
|
227
|
-
- spec/dummy/db/migrate/20201121222007_create_make_taggable_tags.make_taggable_engine.rb
|
228
|
-
- spec/dummy/db/migrate/20201121222008_create_make_taggable_taggings.make_taggable_engine.rb
|
229
|
-
- spec/dummy/db/migrate/20201121222009_change_tag_name_collation_mysql.make_taggable_engine.rb
|
230
|
-
- spec/dummy/db/migrate/20201121222010_add_index_to_tags.make_taggable_engine.rb
|
231
|
-
- spec/dummy/db/migrate/20201121222011_add_index_to_taggings.make_taggable_engine.rb
|
232
|
-
- spec/dummy/db/schema.rb
|
233
|
-
- spec/dummy/db/seeds.rb
|
234
|
-
- spec/dummy/lib/tasks/.keep
|
235
|
-
- spec/dummy/log/.keep
|
236
|
-
- spec/dummy/public/robots.txt
|
237
|
-
- spec/dummy/storage/.keep
|
238
|
-
- spec/dummy/test/channels/application_cable/connection_test.rb
|
239
|
-
- spec/dummy/test/controllers/.keep
|
240
|
-
- spec/dummy/test/fixtures/.keep
|
241
|
-
- spec/dummy/test/fixtures/files/.keep
|
242
|
-
- spec/dummy/test/integration/.keep
|
243
|
-
- spec/dummy/test/mailers/.keep
|
244
|
-
- spec/dummy/test/models/.keep
|
245
|
-
- spec/dummy/test/test_helper.rb
|
246
|
-
- spec/dummy/vendor/.keep
|
247
|
-
- spec/make_taggable/acts_as_tagger_spec.rb
|
248
|
-
- spec/make_taggable/caching_spec.rb
|
249
|
-
- spec/make_taggable/default_parser_spec.rb
|
250
|
-
- spec/make_taggable/dirty_spec.rb
|
251
|
-
- spec/make_taggable/generic_parser_spec.rb
|
252
|
-
- spec/make_taggable/make_taggable_spec.rb
|
253
|
-
- spec/make_taggable/related_spec.rb
|
254
|
-
- spec/make_taggable/single_table_inheritance_spec.rb
|
255
|
-
- spec/make_taggable/tag_list_spec.rb
|
256
|
-
- spec/make_taggable/tag_spec.rb
|
257
|
-
- spec/make_taggable/taggable_spec.rb
|
258
|
-
- spec/make_taggable/tagger_spec.rb
|
259
|
-
- spec/make_taggable/tagging_spec.rb
|
260
|
-
- spec/make_taggable/tags_helper_spec.rb
|
261
|
-
- spec/make_taggable/utils_spec.rb
|
262
|
-
- spec/make_taggable_spec.rb
|
263
|
-
- spec/spec_helper.rb
|
264
|
-
- spec/support/array.rb
|
265
|
-
- spec/support/helpers.rb
|
266
226
|
homepage: https://github.com/MatthewKennedy/make_taggable
|
267
227
|
licenses:
|
268
228
|
- MIT
|
269
|
-
metadata:
|
229
|
+
metadata:
|
230
|
+
homepage_uri: https://github.com/MatthewKennedy/make_taggable
|
231
|
+
source_code_uri: https://github.com/MatthewKennedy/make_taggable
|
232
|
+
changelog_uri: https://github.com/MatthewKennedy/make_taggable/blob/master/CHANGELOG.md
|
270
233
|
post_install_message: |
|
271
234
|
When upgrading run the migrations generator
|
272
235
|
|
273
|
-
rails
|
236
|
+
rails make_taggable_engine:install:migrations
|
274
237
|
|
275
238
|
This will create any new migrations and skip existing ones
|
276
239
|
rdoc_options: []
|
@@ -280,121 +243,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
280
243
|
requirements:
|
281
244
|
- - ">="
|
282
245
|
- !ruby/object:Gem::Version
|
283
|
-
version: '
|
246
|
+
version: '2.5'
|
284
247
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
285
248
|
requirements:
|
286
249
|
- - ">="
|
287
250
|
- !ruby/object:Gem::Version
|
288
251
|
version: '0'
|
289
252
|
requirements: []
|
290
|
-
rubygems_version: 3.
|
253
|
+
rubygems_version: 3.2.14
|
291
254
|
signing_key:
|
292
255
|
specification_version: 4
|
293
256
|
summary: Advanced Tagging For Rails
|
294
|
-
test_files:
|
295
|
-
- spec/dummy/README.md
|
296
|
-
- spec/dummy/Rakefile
|
297
|
-
- spec/dummy/app/assets/config/manifest.js
|
298
|
-
- spec/dummy/app/channels/application_cable/channel.rb
|
299
|
-
- spec/dummy/app/channels/application_cable/connection.rb
|
300
|
-
- spec/dummy/app/controllers/application_controller.rb
|
301
|
-
- spec/dummy/app/controllers/concerns/.keep
|
302
|
-
- spec/dummy/app/jobs/application_job.rb
|
303
|
-
- spec/dummy/app/mailers/application_mailer.rb
|
304
|
-
- spec/dummy/app/models/altered_inheriting_taggable_model.rb
|
305
|
-
- spec/dummy/app/models/application_record.rb
|
306
|
-
- spec/dummy/app/models/cached_model.rb
|
307
|
-
- spec/dummy/app/models/cached_model_with_array.rb
|
308
|
-
- spec/dummy/app/models/columns_override_model.rb
|
309
|
-
- spec/dummy/app/models/company.rb
|
310
|
-
- spec/dummy/app/models/concerns/.keep
|
311
|
-
- spec/dummy/app/models/inheriting_taggable_model.rb
|
312
|
-
- spec/dummy/app/models/market.rb
|
313
|
-
- spec/dummy/app/models/non_standard_id_taggable_model.rb
|
314
|
-
- spec/dummy/app/models/ordered_taggable_model.rb
|
315
|
-
- spec/dummy/app/models/other_cached_model.rb
|
316
|
-
- spec/dummy/app/models/other_taggable_model.rb
|
317
|
-
- spec/dummy/app/models/student.rb
|
318
|
-
- spec/dummy/app/models/taggable_model.rb
|
319
|
-
- spec/dummy/app/models/untaggable_model.rb
|
320
|
-
- spec/dummy/app/models/user.rb
|
321
|
-
- spec/dummy/app/views/layouts/mailer.html.erb
|
322
|
-
- spec/dummy/app/views/layouts/mailer.text.erb
|
323
|
-
- spec/dummy/bin/rails
|
324
|
-
- spec/dummy/bin/rake
|
325
|
-
- spec/dummy/bin/setup
|
326
|
-
- spec/dummy/config.ru
|
327
|
-
- spec/dummy/config/application.rb
|
328
|
-
- spec/dummy/config/boot.rb
|
329
|
-
- spec/dummy/config/cable.yml
|
330
|
-
- spec/dummy/config/credentials.yml.enc
|
331
|
-
- spec/dummy/config/database.yml
|
332
|
-
- spec/dummy/config/environment.rb
|
333
|
-
- spec/dummy/config/environments/development.rb
|
334
|
-
- spec/dummy/config/environments/production.rb
|
335
|
-
- spec/dummy/config/environments/test.rb
|
336
|
-
- spec/dummy/config/initializers/application_controller_renderer.rb
|
337
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
338
|
-
- spec/dummy/config/initializers/cors.rb
|
339
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
340
|
-
- spec/dummy/config/initializers/inflections.rb
|
341
|
-
- spec/dummy/config/initializers/mime_types.rb
|
342
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
343
|
-
- spec/dummy/config/locales/en.yml
|
344
|
-
- spec/dummy/config/master.key
|
345
|
-
- spec/dummy/config/puma.rb
|
346
|
-
- spec/dummy/config/routes.rb
|
347
|
-
- spec/dummy/config/spring.rb
|
348
|
-
- spec/dummy/config/storage.yml
|
349
|
-
- spec/dummy/db/migrate/20201119220853_create_taggable_models.rb
|
350
|
-
- spec/dummy/db/migrate/20201119221037_create_columns_override_models.rb
|
351
|
-
- spec/dummy/db/migrate/20201119221121_create_non_standard_id_taggable_models.rb
|
352
|
-
- spec/dummy/db/migrate/20201119221228_create_untaggable_models.rb
|
353
|
-
- spec/dummy/db/migrate/20201119221247_create_cached_models.rb
|
354
|
-
- spec/dummy/db/migrate/20201119221314_create_other_cached_models.rb
|
355
|
-
- spec/dummy/db/migrate/20201119221343_create_companies.rb
|
356
|
-
- spec/dummy/db/migrate/20201119221416_create_users.rb
|
357
|
-
- spec/dummy/db/migrate/20201119221434_create_other_taggable_models.rb
|
358
|
-
- spec/dummy/db/migrate/20201119221507_create_ordered_taggable_models.rb
|
359
|
-
- spec/dummy/db/migrate/20201119221530_create_cache_methods_injected_models.rb
|
360
|
-
- spec/dummy/db/migrate/20201119221629_create_other_cached_with_array_models.rb
|
361
|
-
- spec/dummy/db/migrate/20201119221746_create_taggable_model_with_jsons.rb
|
362
|
-
- spec/dummy/db/migrate/20201121222007_create_make_taggable_tags.make_taggable_engine.rb
|
363
|
-
- spec/dummy/db/migrate/20201121222008_create_make_taggable_taggings.make_taggable_engine.rb
|
364
|
-
- spec/dummy/db/migrate/20201121222009_change_tag_name_collation_mysql.make_taggable_engine.rb
|
365
|
-
- spec/dummy/db/migrate/20201121222010_add_index_to_tags.make_taggable_engine.rb
|
366
|
-
- spec/dummy/db/migrate/20201121222011_add_index_to_taggings.make_taggable_engine.rb
|
367
|
-
- spec/dummy/db/schema.rb
|
368
|
-
- spec/dummy/db/seeds.rb
|
369
|
-
- spec/dummy/lib/tasks/.keep
|
370
|
-
- spec/dummy/log/.keep
|
371
|
-
- spec/dummy/public/robots.txt
|
372
|
-
- spec/dummy/storage/.keep
|
373
|
-
- spec/dummy/test/channels/application_cable/connection_test.rb
|
374
|
-
- spec/dummy/test/controllers/.keep
|
375
|
-
- spec/dummy/test/fixtures/.keep
|
376
|
-
- spec/dummy/test/fixtures/files/.keep
|
377
|
-
- spec/dummy/test/integration/.keep
|
378
|
-
- spec/dummy/test/mailers/.keep
|
379
|
-
- spec/dummy/test/models/.keep
|
380
|
-
- spec/dummy/test/test_helper.rb
|
381
|
-
- spec/dummy/vendor/.keep
|
382
|
-
- spec/make_taggable/acts_as_tagger_spec.rb
|
383
|
-
- spec/make_taggable/caching_spec.rb
|
384
|
-
- spec/make_taggable/default_parser_spec.rb
|
385
|
-
- spec/make_taggable/dirty_spec.rb
|
386
|
-
- spec/make_taggable/generic_parser_spec.rb
|
387
|
-
- spec/make_taggable/make_taggable_spec.rb
|
388
|
-
- spec/make_taggable/related_spec.rb
|
389
|
-
- spec/make_taggable/single_table_inheritance_spec.rb
|
390
|
-
- spec/make_taggable/tag_list_spec.rb
|
391
|
-
- spec/make_taggable/tag_spec.rb
|
392
|
-
- spec/make_taggable/taggable_spec.rb
|
393
|
-
- spec/make_taggable/tagger_spec.rb
|
394
|
-
- spec/make_taggable/tagging_spec.rb
|
395
|
-
- spec/make_taggable/tags_helper_spec.rb
|
396
|
-
- spec/make_taggable/utils_spec.rb
|
397
|
-
- spec/make_taggable_spec.rb
|
398
|
-
- spec/spec_helper.rb
|
399
|
-
- spec/support/array.rb
|
400
|
-
- spec/support/helpers.rb
|
257
|
+
test_files: []
|