supertag 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/.rspec +2 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +191 -0
  7. data/Rakefile +6 -0
  8. data/lib/generators/supertag/migration_generator.rb +24 -0
  9. data/lib/generators/supertag/templates/migrations/create_hashtaggings_migration.rb +11 -0
  10. data/lib/generators/supertag/templates/migrations/create_hashtags_migration.rb +10 -0
  11. data/lib/generators/supertag/templates/migrations/create_moneytaggings_migration.rb +11 -0
  12. data/lib/generators/supertag/templates/migrations/create_moneytags_migration.rb +10 -0
  13. data/lib/generators/supertag/templates/migrations/create_usertaggings_migration.rb +11 -0
  14. data/lib/generators/supertag/templates/migrations/create_usertags_migration.rb +10 -0
  15. data/lib/generators/supertag/templates/views/hashtags_controller.rb +10 -0
  16. data/lib/generators/supertag/templates/views/hashtags_index.html.erb +6 -0
  17. data/lib/generators/supertag/templates/views/hashtags_show.html.erb +8 -0
  18. data/lib/generators/supertag/templates/views/moneytags_controller.rb +10 -0
  19. data/lib/generators/supertag/templates/views/moneytags_index.html.erb +6 -0
  20. data/lib/generators/supertag/templates/views/moneytags_show.html.erb +8 -0
  21. data/lib/generators/supertag/templates/views/tags_helper.rb +36 -0
  22. data/lib/generators/supertag/templates/views/usertags_controller.rb +10 -0
  23. data/lib/generators/supertag/templates/views/usertags_index.html.erb +6 -0
  24. data/lib/generators/supertag/templates/views/usertags_show.html.erb +8 -0
  25. data/lib/generators/supertag/views_generator.rb +28 -0
  26. data/lib/supertag.rb +12 -0
  27. data/lib/supertag/hashtag.rb +63 -0
  28. data/lib/supertag/hashtaggable.rb +45 -0
  29. data/lib/supertag/hashtagging.rb +8 -0
  30. data/lib/supertag/moneytag.rb +63 -0
  31. data/lib/supertag/moneytaggable.rb +45 -0
  32. data/lib/supertag/moneytagging.rb +8 -0
  33. data/lib/supertag/usertag.rb +64 -0
  34. data/lib/supertag/usertaggable.rb +45 -0
  35. data/lib/supertag/usertagging.rb +8 -0
  36. data/lib/supertag/version.rb +3 -0
  37. data/spec/dummy/README.rdoc +261 -0
  38. data/spec/dummy/Rakefile +7 -0
  39. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  40. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  41. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  42. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  43. data/spec/dummy/app/mailers/.gitkeep +0 -0
  44. data/spec/dummy/app/models/.gitkeep +0 -0
  45. data/spec/dummy/app/models/picture.rb +4 -0
  46. data/spec/dummy/app/models/post.rb +3 -0
  47. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  48. data/spec/dummy/config.ru +4 -0
  49. data/spec/dummy/config/application.rb +56 -0
  50. data/spec/dummy/config/boot.rb +10 -0
  51. data/spec/dummy/config/database.yml +25 -0
  52. data/spec/dummy/config/environment.rb +5 -0
  53. data/spec/dummy/config/environments/development.rb +37 -0
  54. data/spec/dummy/config/environments/production.rb +67 -0
  55. data/spec/dummy/config/environments/test.rb +37 -0
  56. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  57. data/spec/dummy/config/initializers/inflections.rb +15 -0
  58. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  59. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  60. data/spec/dummy/config/initializers/session_store.rb +8 -0
  61. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  62. data/spec/dummy/config/locales/en.yml +5 -0
  63. data/spec/dummy/config/routes.rb +2 -0
  64. data/spec/dummy/db/migrate/20130919041824_create_posts.rb +9 -0
  65. data/spec/dummy/db/migrate/20130919041825_create_pictures.rb +9 -0
  66. data/spec/dummy/db/migrate/20131004085836_create_simple_usertag_usertags.rb +9 -0
  67. data/spec/dummy/db/migrate/20131004085907_create_simple_usertag_usertaggings.rb +10 -0
  68. data/spec/dummy/db/schema.rb +43 -0
  69. data/spec/dummy/lib/assets/.gitkeep +0 -0
  70. data/spec/dummy/log/.gitkeep +0 -0
  71. data/spec/dummy/public/404.html +26 -0
  72. data/spec/dummy/public/422.html +26 -0
  73. data/spec/dummy/public/500.html +25 -0
  74. data/spec/dummy/public/favicon.ico +0 -0
  75. data/spec/dummy/script/rails +6 -0
  76. data/spec/simple_usertag_spec.rb +138 -0
  77. data/spec/spec_helper.rb +13 -0
  78. data/supertag.gemspec +28 -0
  79. metadata +232 -0
@@ -0,0 +1,10 @@
1
+ class CreateSimpleUsertagUsertaggings < ActiveRecord::Migration
2
+ def change
3
+ create_table :simple_hashtag_hashtaggings do |t|
4
+ t.references :hashtag, :index => true
5
+ t.references :hashtaggable, :polymorphic => true
6
+ end
7
+ add_index :simple_hashtag_hashtaggings, ["hashtaggable_id", "hashtaggable_type"],
8
+ :name => 'index_hashtaggings_hashtaggable_id_hashtaggable_type'
9
+ end
10
+ end
@@ -0,0 +1,43 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20131004085907) do
15
+
16
+ create_table "pictures", force: true do |t|
17
+ t.text "caption"
18
+ t.datetime "created_at"
19
+ t.datetime "updated_at"
20
+ end
21
+
22
+ create_table "posts", force: true do |t|
23
+ t.text "body"
24
+ t.datetime "created_at"
25
+ t.datetime "updated_at"
26
+ end
27
+
28
+ create_table "simple_usertag_usertaggings", force: true do |t|
29
+ t.integer "usertag_id"
30
+ t.integer "usertaggable_id"
31
+ t.string "usertaggable_type"
32
+ end
33
+
34
+ add_index "simple_usertag_usertaggings", ["usertag_id"], name: "index_simple_usertag_usertaggings_on_usertag_id"
35
+ add_index "simple_usertag_usertaggings", ["usertaggable_id", "usertaggable_type"], name: "index_usertaggings_usertaggable_id_usertaggable_type"
36
+
37
+ create_table "simple_usertag_usertags", force: true do |t|
38
+ t.string "name"
39
+ t.datetime "created_at"
40
+ t.datetime "updated_at"
41
+ end
42
+
43
+ end
File without changes
File without changes
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,138 @@
1
+ require 'spec_helper'
2
+
3
+ describe SimpleUsertag do
4
+
5
+ describe ".usertag" do
6
+ context "regex" do
7
+ it "match valid usertags" do
8
+ text = "@It is a dangerous business, @Frodo, going out your door."
9
+ text += "You step onto @the-road,"
10
+ text += "and if you don't keep @your_feet,"
11
+ text += "there's no @know1ng where you might be swept off to."
12
+ match = Post.new().scan_for_usertags(text)
13
+ match.should eq [["@It", "It"], ["@Frodo", "Frodo"], ["@the-road", "the-road"], ["@your_feet", "your_feet"], ["@know1ng", "know1ng"]]
14
+ end
15
+
16
+ it "doesn't match things that look like usertags but are not" do
17
+ text = "And some things that should not @ have been forgotten were lost."
18
+ text += "History became legend@. Legend became myth."
19
+ text += "And for @2500 years, the ring passed out of all knowledge."
20
+ match = Post.new().scan_for_usertags(text)
21
+ match.should eq []
22
+ end
23
+ end
24
+
25
+ it "returns a string when asked to" do
26
+ tag = SimpleUsertag::Usertag.new(name: "RubyRocks")
27
+ tag.to_s.should eq "rubyrocks"
28
+ tag.to_s.should be_a(String)
29
+ end
30
+
31
+ it "downcase a parsed tag" do
32
+ tag = SimpleUsertag::Usertag.new(name: "WEirDcasE")
33
+ tag.name.should eq "weirdcase"
34
+ end
35
+
36
+ it "finds a mis-cased tag" do
37
+ SimpleUsertag::Usertag.connection.execute("INSERT INTO simple_usertag_usertags (name) values ('WEirDcasE')")
38
+ tag = SimpleUsertag::Usertag.find_by_name("WEIRDCASE")
39
+ tag.should_not eq nil
40
+ tag.should be_a(SimpleUsertag::Usertag)
41
+ tag.name.should eq "weirdcase"
42
+ end
43
+
44
+ context "knows about its usertaggables" do
45
+ before do
46
+ Post.create(body: "I thought up an ending for my @book.")
47
+ Picture.create(caption: "Some who have read the @book.")
48
+ end
49
+ it "their numbers" do
50
+ tag = SimpleUsertag::Usertag.find_by_name("book")
51
+ tag.usertaggables.size.should eq 2
52
+ tag.usertaggables.first.body.should eq "I thought up an ending for my @book."
53
+ tag.usertaggables.last.caption.should eq "Some who have read the @book."
54
+ end
55
+
56
+ it "their types" do
57
+ tag = SimpleUsertag::Usertag.find_by_name("book")
58
+ tag.usertagged_types.size.should eq 2
59
+ tag.usertagged_types.should eq ["Post", "Picture"]
60
+ tag.usertagged_ids_for_type("Post").should include(Post.last.id)
61
+ tag.usertagged_ids_for_type("Picture").should include(Picture.last.id)
62
+ end
63
+ end
64
+
65
+ it "is destroyed whith parent" do
66
+ ActiveRecord::Base.subclasses.each(&:delete_all)
67
+ Post.create(body: "Certainty of death, small chance of @success.")
68
+ Post.create(body: "Certainty of death, small chance of @success.")
69
+ p = Post.last
70
+ p.destroy
71
+
72
+ tag = SimpleUsertag::Usertag.find_by_name("success")
73
+ tag.usertaggables.size.should eq 1
74
+ tag.usertaggings.size.should eq 1
75
+ end
76
+
77
+ it "can clean the DB from orphan tags" do
78
+ ActiveRecord::Base.subclasses.each(&:delete_all)
79
+ Post.create(body: "Certainty of death, small @chance of success.")
80
+ p = Post.last
81
+ p.body = "What are we @waiting for?"
82
+ p.save
83
+ SimpleUsertag::Usertag.clean_orphans
84
+
85
+ SimpleUsertag::Usertag.all.map(&:name).should_not include "chance"
86
+ end
87
+ end
88
+
89
+ describe ".usertaggable" do
90
+ it "store a usertag" do
91
+ Post.create(body: "Don't go where I can't @follow.")
92
+ p = Post.last
93
+ p.usertags.count.should eq 1
94
+ p.usertags.last.name.should eq "follow"
95
+ end
96
+
97
+ it "reflect a change" do
98
+ Post.create(body: "Certainty of death, small @chance of success.")
99
+ p = Post.last
100
+ p.body += "What are we @waiting for?"
101
+ p.save
102
+
103
+ p.usertags.count.should eq 2
104
+ p.usertags.last.name.should eq "waiting"
105
+ end
106
+
107
+ it "can have an empty attribute" do
108
+ Post.create()
109
+ end
110
+
111
+ it "can have multiple usertags" do
112
+ Post.create(body: "The grey @rain-curtain of this world rolls back, and all turns to @silver glass, and then you @see it.")
113
+ p = Post.last
114
+
115
+ p.usertags.count.should eq 3
116
+ p.usertags.map(&:to_s).should eq ["rain-curtain", "silver", "see"]
117
+ end
118
+
119
+ it "handles a model with custom attribute" do
120
+ Picture.create(caption: "The grey @rain-curtain of this world rolls back, and all turns to @silver glass, and then you @see it.")
121
+ p = Picture.last
122
+
123
+ p.usertags.count.should eq 3
124
+ p.usertags.map(&:to_s).should eq ["rain-curtain", "silver", "see"]
125
+ end
126
+
127
+ it "doesn't duplicate on mixed case" do
128
+ ActiveRecord::Base.subclasses.each(&:delete_all)
129
+ Post.create(body: "Certainty of death, small @chance of success.")
130
+ Post.create(body: "Certainty of death, small @Chance of success.")
131
+
132
+ SimpleUsertag::Usertag.count.should eq 1
133
+ h = SimpleUsertag::Usertag.last
134
+ h.name.should eq "chance"
135
+ h.usertaggables.count.should eq 2
136
+ end
137
+ end
138
+ end
@@ -0,0 +1,13 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+
3
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
+ require 'rspec/rails'
5
+ require "rails/test_help"
6
+ require 'simple_usertag'
7
+
8
+ RSpec.configure do |config|
9
+ config.use_transactional_fixtures = true
10
+ config.after :all do
11
+ ActiveRecord::Base.subclasses.each(&:delete_all)
12
+ end
13
+ end
data/supertag.gemspec ADDED
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'supertag/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "supertag"
8
+ spec.version = Supertag::VERSION
9
+ spec.authors = ["Taylor Mitchell"]
10
+ spec.email = ["scy0846@gmail.com"]
11
+ spec.description = %q{Parse, store retreive and format tags in your text.}
12
+ spec.summary = %q{Supertag finds tags with #,$,%, and @. See Readme.}
13
+ spec.homepage = "https://github.com/scy0846/supertag"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.required_ruby_version = ">= 1.9.3"
22
+ spec.add_dependency "rails", "> 3.2.0"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.3"
25
+ spec.add_development_dependency "rake"
26
+ spec.add_development_dependency "rspec-rails"
27
+ spec.add_development_dependency "sqlite3"
28
+ end
metadata ADDED
@@ -0,0 +1,232 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: supertag
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Taylor Mitchell
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-06-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">"
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">"
25
+ - !ruby/object:Gem::Version
26
+ version: 3.2.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: sqlite3
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: Parse, store retreive and format tags in your text.
84
+ email:
85
+ - scy0846@gmail.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".gitignore"
91
+ - ".rspec"
92
+ - Gemfile
93
+ - LICENSE.txt
94
+ - README.md
95
+ - Rakefile
96
+ - lib/generators/supertag/migration_generator.rb
97
+ - lib/generators/supertag/templates/migrations/create_hashtaggings_migration.rb
98
+ - lib/generators/supertag/templates/migrations/create_hashtags_migration.rb
99
+ - lib/generators/supertag/templates/migrations/create_moneytaggings_migration.rb
100
+ - lib/generators/supertag/templates/migrations/create_moneytags_migration.rb
101
+ - lib/generators/supertag/templates/migrations/create_usertaggings_migration.rb
102
+ - lib/generators/supertag/templates/migrations/create_usertags_migration.rb
103
+ - lib/generators/supertag/templates/views/hashtags_controller.rb
104
+ - lib/generators/supertag/templates/views/hashtags_index.html.erb
105
+ - lib/generators/supertag/templates/views/hashtags_show.html.erb
106
+ - lib/generators/supertag/templates/views/moneytags_controller.rb
107
+ - lib/generators/supertag/templates/views/moneytags_index.html.erb
108
+ - lib/generators/supertag/templates/views/moneytags_show.html.erb
109
+ - lib/generators/supertag/templates/views/tags_helper.rb
110
+ - lib/generators/supertag/templates/views/usertags_controller.rb
111
+ - lib/generators/supertag/templates/views/usertags_index.html.erb
112
+ - lib/generators/supertag/templates/views/usertags_show.html.erb
113
+ - lib/generators/supertag/views_generator.rb
114
+ - lib/supertag.rb
115
+ - lib/supertag/hashtag.rb
116
+ - lib/supertag/hashtaggable.rb
117
+ - lib/supertag/hashtagging.rb
118
+ - lib/supertag/moneytag.rb
119
+ - lib/supertag/moneytaggable.rb
120
+ - lib/supertag/moneytagging.rb
121
+ - lib/supertag/usertag.rb
122
+ - lib/supertag/usertaggable.rb
123
+ - lib/supertag/usertagging.rb
124
+ - lib/supertag/version.rb
125
+ - spec/dummy/README.rdoc
126
+ - spec/dummy/Rakefile
127
+ - spec/dummy/app/assets/javascripts/application.js
128
+ - spec/dummy/app/assets/stylesheets/application.css
129
+ - spec/dummy/app/controllers/application_controller.rb
130
+ - spec/dummy/app/helpers/application_helper.rb
131
+ - spec/dummy/app/mailers/.gitkeep
132
+ - spec/dummy/app/models/.gitkeep
133
+ - spec/dummy/app/models/picture.rb
134
+ - spec/dummy/app/models/post.rb
135
+ - spec/dummy/app/views/layouts/application.html.erb
136
+ - spec/dummy/config.ru
137
+ - spec/dummy/config/application.rb
138
+ - spec/dummy/config/boot.rb
139
+ - spec/dummy/config/database.yml
140
+ - spec/dummy/config/environment.rb
141
+ - spec/dummy/config/environments/development.rb
142
+ - spec/dummy/config/environments/production.rb
143
+ - spec/dummy/config/environments/test.rb
144
+ - spec/dummy/config/initializers/backtrace_silencers.rb
145
+ - spec/dummy/config/initializers/inflections.rb
146
+ - spec/dummy/config/initializers/mime_types.rb
147
+ - spec/dummy/config/initializers/secret_token.rb
148
+ - spec/dummy/config/initializers/session_store.rb
149
+ - spec/dummy/config/initializers/wrap_parameters.rb
150
+ - spec/dummy/config/locales/en.yml
151
+ - spec/dummy/config/routes.rb
152
+ - spec/dummy/db/migrate/20130919041824_create_posts.rb
153
+ - spec/dummy/db/migrate/20130919041825_create_pictures.rb
154
+ - spec/dummy/db/migrate/20131004085836_create_simple_usertag_usertags.rb
155
+ - spec/dummy/db/migrate/20131004085907_create_simple_usertag_usertaggings.rb
156
+ - spec/dummy/db/schema.rb
157
+ - spec/dummy/lib/assets/.gitkeep
158
+ - spec/dummy/log/.gitkeep
159
+ - spec/dummy/public/404.html
160
+ - spec/dummy/public/422.html
161
+ - spec/dummy/public/500.html
162
+ - spec/dummy/public/favicon.ico
163
+ - spec/dummy/script/rails
164
+ - spec/simple_usertag_spec.rb
165
+ - spec/spec_helper.rb
166
+ - supertag.gemspec
167
+ homepage: https://github.com/scy0846/supertag
168
+ licenses:
169
+ - MIT
170
+ metadata: {}
171
+ post_install_message:
172
+ rdoc_options: []
173
+ require_paths:
174
+ - lib
175
+ required_ruby_version: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: 1.9.3
180
+ required_rubygems_version: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: '0'
185
+ requirements: []
186
+ rubyforge_project:
187
+ rubygems_version: 2.2.2
188
+ signing_key:
189
+ specification_version: 4
190
+ summary: 'Supertag finds tags with #,$,%, and @. See Readme.'
191
+ test_files:
192
+ - spec/dummy/README.rdoc
193
+ - spec/dummy/Rakefile
194
+ - spec/dummy/app/assets/javascripts/application.js
195
+ - spec/dummy/app/assets/stylesheets/application.css
196
+ - spec/dummy/app/controllers/application_controller.rb
197
+ - spec/dummy/app/helpers/application_helper.rb
198
+ - spec/dummy/app/mailers/.gitkeep
199
+ - spec/dummy/app/models/.gitkeep
200
+ - spec/dummy/app/models/picture.rb
201
+ - spec/dummy/app/models/post.rb
202
+ - spec/dummy/app/views/layouts/application.html.erb
203
+ - spec/dummy/config.ru
204
+ - spec/dummy/config/application.rb
205
+ - spec/dummy/config/boot.rb
206
+ - spec/dummy/config/database.yml
207
+ - spec/dummy/config/environment.rb
208
+ - spec/dummy/config/environments/development.rb
209
+ - spec/dummy/config/environments/production.rb
210
+ - spec/dummy/config/environments/test.rb
211
+ - spec/dummy/config/initializers/backtrace_silencers.rb
212
+ - spec/dummy/config/initializers/inflections.rb
213
+ - spec/dummy/config/initializers/mime_types.rb
214
+ - spec/dummy/config/initializers/secret_token.rb
215
+ - spec/dummy/config/initializers/session_store.rb
216
+ - spec/dummy/config/initializers/wrap_parameters.rb
217
+ - spec/dummy/config/locales/en.yml
218
+ - spec/dummy/config/routes.rb
219
+ - spec/dummy/db/migrate/20130919041824_create_posts.rb
220
+ - spec/dummy/db/migrate/20130919041825_create_pictures.rb
221
+ - spec/dummy/db/migrate/20131004085836_create_simple_usertag_usertags.rb
222
+ - spec/dummy/db/migrate/20131004085907_create_simple_usertag_usertaggings.rb
223
+ - spec/dummy/db/schema.rb
224
+ - spec/dummy/lib/assets/.gitkeep
225
+ - spec/dummy/log/.gitkeep
226
+ - spec/dummy/public/404.html
227
+ - spec/dummy/public/422.html
228
+ - spec/dummy/public/500.html
229
+ - spec/dummy/public/favicon.ico
230
+ - spec/dummy/script/rails
231
+ - spec/simple_usertag_spec.rb
232
+ - spec/spec_helper.rb