url_attributes 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.rspec +2 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +37 -0
  7. data/Rakefile +2 -0
  8. data/lib/url_attributes.rb +10 -0
  9. data/lib/url_attributes/extensions/active_record.rb +32 -0
  10. data/lib/url_attributes/extensions/active_support.rb +3 -0
  11. data/lib/url_attributes/url_validator.rb +23 -0
  12. data/lib/url_attributes/version.rb +3 -0
  13. data/spec/dummy/.gitignore +16 -0
  14. data/spec/dummy/Gemfile +40 -0
  15. data/spec/dummy/Gemfile.lock +120 -0
  16. data/spec/dummy/README.rdoc +28 -0
  17. data/spec/dummy/Rakefile +6 -0
  18. data/spec/dummy/app/assets/images/.keep +0 -0
  19. data/spec/dummy/app/assets/javascripts/application.js +16 -0
  20. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  21. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  22. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  23. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  24. data/spec/dummy/app/mailers/.keep +0 -0
  25. data/spec/dummy/app/models/.keep +0 -0
  26. data/spec/dummy/app/models/concerns/.keep +0 -0
  27. data/spec/dummy/app/models/model.rb +3 -0
  28. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  29. data/spec/dummy/bin/bundle +3 -0
  30. data/spec/dummy/bin/rails +8 -0
  31. data/spec/dummy/bin/rake +8 -0
  32. data/spec/dummy/bin/spring +18 -0
  33. data/spec/dummy/config.ru +4 -0
  34. data/spec/dummy/config/application.rb +23 -0
  35. data/spec/dummy/config/boot.rb +4 -0
  36. data/spec/dummy/config/database.yml +25 -0
  37. data/spec/dummy/config/environment.rb +5 -0
  38. data/spec/dummy/config/environments/development.rb +37 -0
  39. data/spec/dummy/config/environments/production.rb +78 -0
  40. data/spec/dummy/config/environments/test.rb +39 -0
  41. data/spec/dummy/config/initializers/assets.rb +8 -0
  42. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  43. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  44. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  45. data/spec/dummy/config/initializers/inflections.rb +16 -0
  46. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  47. data/spec/dummy/config/initializers/session_store.rb +3 -0
  48. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  49. data/spec/dummy/config/locales/en.yml +23 -0
  50. data/spec/dummy/config/routes.rb +56 -0
  51. data/spec/dummy/config/secrets.yml +22 -0
  52. data/spec/dummy/db/migrate/20141124095718_create_models.rb +9 -0
  53. data/spec/dummy/db/schema.rb +22 -0
  54. data/spec/dummy/db/seeds.rb +7 -0
  55. data/spec/dummy/lib/assets/.keep +0 -0
  56. data/spec/dummy/lib/tasks/.keep +0 -0
  57. data/spec/dummy/log/.keep +0 -0
  58. data/spec/dummy/public/404.html +67 -0
  59. data/spec/dummy/public/422.html +67 -0
  60. data/spec/dummy/public/500.html +66 -0
  61. data/spec/dummy/public/favicon.ico +0 -0
  62. data/spec/dummy/public/robots.txt +5 -0
  63. data/spec/dummy/vendor/assets/javascripts/.keep +0 -0
  64. data/spec/dummy/vendor/assets/stylesheets/.keep +0 -0
  65. data/spec/rails_helper.rb +16 -0
  66. data/spec/spec_helper.rb +9 -0
  67. data/spec/url_attributes_spec.rb +68 -0
  68. data/url_attributes.gemspec +28 -0
  69. metadata +250 -0
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: d6723cdfc7316433cc5c301b5b9aad5c66b920ca8e75fbfd4ce950f8ebe5648a702e3e721ce1625d0c6c634863c6e6677f6d2645757095bcf29cf7d76bcf094e
15
+
16
+ test:
17
+ secret_key_base: 81a2ef84657a6a6a71d303f04c16fa3914982acca32df3111c8173911fb1e7498d1b5e1070f19efd67ee95709fe61fb55b75db4e5279ff3729c6f16f13aeb6f4
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,9 @@
1
+ class CreateModels < ActiveRecord::Migration
2
+ def change
3
+ create_table :models do |t|
4
+ t.string :url
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,22 @@
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: 20141124095718) do
15
+
16
+ create_table "models", force: true do |t|
17
+ t.string "url"
18
+ t.datetime "created_at"
19
+ t.datetime "updated_at"
20
+ end
21
+
22
+ end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
7
+ # Mayor.create(name: 'Emanuel', city: cities.first)
File without changes
File without changes
File without changes
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-agent: *
5
+ # Disallow: /
File without changes
File without changes
@@ -0,0 +1,16 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require 'spec_helper'
4
+ require File.expand_path("../dummy/config/environment", __FILE__)
5
+ require 'rspec/rails'
6
+ # Add additional requires below this line. Rails is not loaded until this point!
7
+
8
+ ActiveRecord::Migration.maintain_test_schema!
9
+
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ RSpec.configure do |config|
13
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
14
+ config.use_transactional_fixtures = true
15
+ config.infer_spec_type_from_file_location!
16
+ end
@@ -0,0 +1,9 @@
1
+ RSpec.configure do |config|
2
+ config.expect_with :rspec do |expectations|
3
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
4
+ end
5
+
6
+ config.mock_with :rspec do |mocks|
7
+ mocks.verify_partial_doubles = true
8
+ end
9
+ end
@@ -0,0 +1,68 @@
1
+ require "rails_helper"
2
+
3
+ describe "ActiveRecord::Base#url_attribute" do
4
+
5
+ let(:model) { Model.new }
6
+
7
+ describe "a string URL attribute" do
8
+
9
+ context "when it is not a valid URL" do
10
+ it "is invalid" do
11
+ ["example.com!", "example dot com", "http:example.com",
12
+ "example.com/ ioajweoirjaer"].each do |url|
13
+ model.url = url
14
+ expect(model).not_to be_valid
15
+ end
16
+ end
17
+
18
+ context "is just 'http://'" do
19
+ it "is invalid" do
20
+ model.url = "http://"
21
+ expect(model).not_to be_valid
22
+ end
23
+ end
24
+
25
+ context "is a valid URL (with or without 'http://')" do
26
+ it "is valid" do
27
+ ["example.com", "http://example.com", "subdomain.example.com",
28
+ "example.com/blahblahblah", " https://example.com "].each do |url|
29
+ model.url = url
30
+ expect(model).to be_valid
31
+ end
32
+ end
33
+ end
34
+ end
35
+
36
+ end
37
+
38
+ describe "before the model is saved" do
39
+ context "when url does not begin with 'http://' or 'https://'" do
40
+ it "adds 'http://'" do
41
+ model.url = "example.com/example"
42
+ model.run_callbacks :save
43
+ expect(model.url).to eq "http://example.com/example"
44
+ end
45
+ end
46
+
47
+ context "when url already begins with 'http://' or 'https://" do
48
+ it "doesn't add http://" do
49
+ model.url = "http://example.com/example"
50
+ model.run_callbacks :save
51
+ expect(model.url).to eq "http://example.com/example"
52
+
53
+ model.url = "https://example.com/example"
54
+ model.run_callbacks :save
55
+ expect(model.url).to eq "https://example.com/example"
56
+ end
57
+ end
58
+
59
+ context "when url has trailing whitespace" do
60
+ it "strips it BEFORE adding 'http://'" do
61
+ model.url = " example.com/example "
62
+ model.run_callbacks :save
63
+ # Make sure whitespace gets stripped BEFORE http is added!
64
+ expect(model.url).to eq "http://example.com/example"
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,28 @@
1
+ # encoding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'url_attributes/version'
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "url_attributes"
8
+ s.version = URLAttributes::VERSION
9
+ s.authors = ["George Millo"]
10
+ s.email = ["georgejulianmillo@gmail.com"]
11
+ s.summary = "Simple URL attributes for ActiveRecord"
12
+ s.description = "Validate and sanitize URLs in ActiveRecord"
13
+ s.homepage = 'http://github.com/georgemillo/url_attributes'
14
+ s.license = "MIT"
15
+
16
+ s.files = `git ls-files -z`.split("\x0")
17
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
19
+ s.require_paths = ["lib"]
20
+
21
+ s.add_dependency "rails", ">= 4.0.0"
22
+
23
+ s.add_development_dependency "bundler", "~> 1.7"
24
+ s.add_development_dependency "rake", "~> 10.0"
25
+ s.add_development_dependency "rspec-rails", ">= 3.0.0"
26
+ s.add_development_dependency "activerecord-nulldb-adapter", '~> 0.3.1'
27
+ s.add_development_dependency "sqlite3", "~> 1.3.10"
28
+ end
metadata ADDED
@@ -0,0 +1,250 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: url_attributes
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - George Millo
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-11-24 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: 4.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 4.0.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.7'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.7'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.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: 3.0.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 3.0.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: activerecord-nulldb-adapter
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.3.1
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.3.1
83
+ - !ruby/object:Gem::Dependency
84
+ name: sqlite3
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 1.3.10
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 1.3.10
97
+ description: Validate and sanitize URLs in ActiveRecord
98
+ email:
99
+ - georgejulianmillo@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - Gemfile
107
+ - LICENSE.txt
108
+ - README.md
109
+ - Rakefile
110
+ - lib/url_attributes.rb
111
+ - lib/url_attributes/extensions/active_record.rb
112
+ - lib/url_attributes/extensions/active_support.rb
113
+ - lib/url_attributes/url_validator.rb
114
+ - lib/url_attributes/version.rb
115
+ - spec/dummy/.gitignore
116
+ - spec/dummy/Gemfile
117
+ - spec/dummy/Gemfile.lock
118
+ - spec/dummy/README.rdoc
119
+ - spec/dummy/Rakefile
120
+ - spec/dummy/app/assets/images/.keep
121
+ - spec/dummy/app/assets/javascripts/application.js
122
+ - spec/dummy/app/assets/stylesheets/application.css
123
+ - spec/dummy/app/controllers/application_controller.rb
124
+ - spec/dummy/app/controllers/concerns/.keep
125
+ - spec/dummy/app/helpers/application_helper.rb
126
+ - spec/dummy/app/mailers/.keep
127
+ - spec/dummy/app/models/.keep
128
+ - spec/dummy/app/models/concerns/.keep
129
+ - spec/dummy/app/models/model.rb
130
+ - spec/dummy/app/views/layouts/application.html.erb
131
+ - spec/dummy/bin/bundle
132
+ - spec/dummy/bin/rails
133
+ - spec/dummy/bin/rake
134
+ - spec/dummy/bin/spring
135
+ - spec/dummy/config.ru
136
+ - spec/dummy/config/application.rb
137
+ - spec/dummy/config/boot.rb
138
+ - spec/dummy/config/database.yml
139
+ - spec/dummy/config/environment.rb
140
+ - spec/dummy/config/environments/development.rb
141
+ - spec/dummy/config/environments/production.rb
142
+ - spec/dummy/config/environments/test.rb
143
+ - spec/dummy/config/initializers/assets.rb
144
+ - spec/dummy/config/initializers/backtrace_silencers.rb
145
+ - spec/dummy/config/initializers/cookies_serializer.rb
146
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
147
+ - spec/dummy/config/initializers/inflections.rb
148
+ - spec/dummy/config/initializers/mime_types.rb
149
+ - spec/dummy/config/initializers/session_store.rb
150
+ - spec/dummy/config/initializers/wrap_parameters.rb
151
+ - spec/dummy/config/locales/en.yml
152
+ - spec/dummy/config/routes.rb
153
+ - spec/dummy/config/secrets.yml
154
+ - spec/dummy/db/migrate/20141124095718_create_models.rb
155
+ - spec/dummy/db/schema.rb
156
+ - spec/dummy/db/seeds.rb
157
+ - spec/dummy/lib/assets/.keep
158
+ - spec/dummy/lib/tasks/.keep
159
+ - spec/dummy/log/.keep
160
+ - spec/dummy/public/404.html
161
+ - spec/dummy/public/422.html
162
+ - spec/dummy/public/500.html
163
+ - spec/dummy/public/favicon.ico
164
+ - spec/dummy/public/robots.txt
165
+ - spec/dummy/vendor/assets/javascripts/.keep
166
+ - spec/dummy/vendor/assets/stylesheets/.keep
167
+ - spec/rails_helper.rb
168
+ - spec/spec_helper.rb
169
+ - spec/url_attributes_spec.rb
170
+ - url_attributes.gemspec
171
+ homepage: http://github.com/georgemillo/url_attributes
172
+ licenses:
173
+ - MIT
174
+ metadata: {}
175
+ post_install_message:
176
+ rdoc_options: []
177
+ require_paths:
178
+ - lib
179
+ required_ruby_version: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: '0'
184
+ required_rubygems_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ requirements: []
190
+ rubyforge_project:
191
+ rubygems_version: 2.4.3
192
+ signing_key:
193
+ specification_version: 4
194
+ summary: Simple URL attributes for ActiveRecord
195
+ test_files:
196
+ - spec/dummy/.gitignore
197
+ - spec/dummy/Gemfile
198
+ - spec/dummy/Gemfile.lock
199
+ - spec/dummy/README.rdoc
200
+ - spec/dummy/Rakefile
201
+ - spec/dummy/app/assets/images/.keep
202
+ - spec/dummy/app/assets/javascripts/application.js
203
+ - spec/dummy/app/assets/stylesheets/application.css
204
+ - spec/dummy/app/controllers/application_controller.rb
205
+ - spec/dummy/app/controllers/concerns/.keep
206
+ - spec/dummy/app/helpers/application_helper.rb
207
+ - spec/dummy/app/mailers/.keep
208
+ - spec/dummy/app/models/.keep
209
+ - spec/dummy/app/models/concerns/.keep
210
+ - spec/dummy/app/models/model.rb
211
+ - spec/dummy/app/views/layouts/application.html.erb
212
+ - spec/dummy/bin/bundle
213
+ - spec/dummy/bin/rails
214
+ - spec/dummy/bin/rake
215
+ - spec/dummy/bin/spring
216
+ - spec/dummy/config.ru
217
+ - spec/dummy/config/application.rb
218
+ - spec/dummy/config/boot.rb
219
+ - spec/dummy/config/database.yml
220
+ - spec/dummy/config/environment.rb
221
+ - spec/dummy/config/environments/development.rb
222
+ - spec/dummy/config/environments/production.rb
223
+ - spec/dummy/config/environments/test.rb
224
+ - spec/dummy/config/initializers/assets.rb
225
+ - spec/dummy/config/initializers/backtrace_silencers.rb
226
+ - spec/dummy/config/initializers/cookies_serializer.rb
227
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
228
+ - spec/dummy/config/initializers/inflections.rb
229
+ - spec/dummy/config/initializers/mime_types.rb
230
+ - spec/dummy/config/initializers/session_store.rb
231
+ - spec/dummy/config/initializers/wrap_parameters.rb
232
+ - spec/dummy/config/locales/en.yml
233
+ - spec/dummy/config/routes.rb
234
+ - spec/dummy/config/secrets.yml
235
+ - spec/dummy/db/migrate/20141124095718_create_models.rb
236
+ - spec/dummy/db/schema.rb
237
+ - spec/dummy/db/seeds.rb
238
+ - spec/dummy/lib/assets/.keep
239
+ - spec/dummy/lib/tasks/.keep
240
+ - spec/dummy/log/.keep
241
+ - spec/dummy/public/404.html
242
+ - spec/dummy/public/422.html
243
+ - spec/dummy/public/500.html
244
+ - spec/dummy/public/favicon.ico
245
+ - spec/dummy/public/robots.txt
246
+ - spec/dummy/vendor/assets/javascripts/.keep
247
+ - spec/dummy/vendor/assets/stylesheets/.keep
248
+ - spec/rails_helper.rb
249
+ - spec/spec_helper.rb
250
+ - spec/url_attributes_spec.rb