urbix 0.0.2
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.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +32 -0
- data/lib/tasks/urbix_tasks.rake +4 -0
- data/lib/urbix.rb +8 -0
- data/lib/urbix/acts_as_view.rb +125 -0
- data/lib/urbix/logger.rb +5 -0
- data/lib/urbix/version.rb +3 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/address.rb +8 -0
- data/test/dummy/app/models/city.rb +2 -0
- data/test/dummy/app/models/country.rb +2 -0
- data/test/dummy/app/models/locality.rb +4 -0
- data/test/dummy/app/models/mail.rb +10 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20140207164655_create_cities.rb +9 -0
- data/test/dummy/db/migrate/20140207165236_create_countries.rb +13 -0
- data/test/dummy/db/migrate/20140207165538_create_localities.rb +12 -0
- data/test/dummy/db/migrate/20140207165937_create_addresses.rb +10 -0
- data/test/dummy/db/migrate/20140212170008_create_mails.rb +11 -0
- data/test/dummy/db/schema.rb +64 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +196 -0
- data/test/dummy/log/test.log +680 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/fixtures/addresses.yml +9 -0
- data/test/dummy/test/fixtures/cities.yml +7 -0
- data/test/dummy/test/fixtures/countries.yml +15 -0
- data/test/dummy/test/fixtures/localities.yml +13 -0
- data/test/dummy/test/fixtures/mails.yml +11 -0
- data/test/dummy/test/models/address_test.rb +7 -0
- data/test/dummy/test/models/city_test.rb +7 -0
- data/test/dummy/test/models/country_test.rb +7 -0
- data/test/dummy/test/models/locality_test.rb +7 -0
- data/test/dummy/test/models/mail_test.rb +7 -0
- data/test/lib/urbix/acts_as_view_test.rb +48 -0
- data/test/lib/urbix/urbix_test.rb +8 -0
- data/test/test_helper.rb +15 -0
- metadata +215 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
background-color: #EFEFEF;
|
|
8
|
+
color: #2E2F30;
|
|
9
|
+
text-align: center;
|
|
10
|
+
font-family: arial, sans-serif;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
div.dialog {
|
|
14
|
+
width: 25em;
|
|
15
|
+
margin: 4em auto 0 auto;
|
|
16
|
+
border: 1px solid #CCC;
|
|
17
|
+
border-right-color: #999;
|
|
18
|
+
border-left-color: #999;
|
|
19
|
+
border-bottom-color: #BBB;
|
|
20
|
+
border-top: #B00100 solid 4px;
|
|
21
|
+
border-top-left-radius: 9px;
|
|
22
|
+
border-top-right-radius: 9px;
|
|
23
|
+
background-color: white;
|
|
24
|
+
padding: 7px 4em 0 4em;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
h1 {
|
|
28
|
+
font-size: 100%;
|
|
29
|
+
color: #730E15;
|
|
30
|
+
line-height: 1.5em;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
body > p {
|
|
34
|
+
width: 33em;
|
|
35
|
+
margin: 0 auto 1em;
|
|
36
|
+
padding: 1em 0;
|
|
37
|
+
background-color: #F7F7F7;
|
|
38
|
+
border: 1px solid #CCC;
|
|
39
|
+
border-right-color: #999;
|
|
40
|
+
border-bottom-color: #999;
|
|
41
|
+
border-bottom-left-radius: 4px;
|
|
42
|
+
border-bottom-right-radius: 4px;
|
|
43
|
+
border-top-color: #DADADA;
|
|
44
|
+
color: #666;
|
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
48
|
+
</head>
|
|
49
|
+
|
|
50
|
+
<body>
|
|
51
|
+
<!-- This file lives in public/404.html -->
|
|
52
|
+
<div class="dialog">
|
|
53
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
|
54
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
|
55
|
+
</div>
|
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
57
|
+
</body>
|
|
58
|
+
</html>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
background-color: #EFEFEF;
|
|
8
|
+
color: #2E2F30;
|
|
9
|
+
text-align: center;
|
|
10
|
+
font-family: arial, sans-serif;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
div.dialog {
|
|
14
|
+
width: 25em;
|
|
15
|
+
margin: 4em auto 0 auto;
|
|
16
|
+
border: 1px solid #CCC;
|
|
17
|
+
border-right-color: #999;
|
|
18
|
+
border-left-color: #999;
|
|
19
|
+
border-bottom-color: #BBB;
|
|
20
|
+
border-top: #B00100 solid 4px;
|
|
21
|
+
border-top-left-radius: 9px;
|
|
22
|
+
border-top-right-radius: 9px;
|
|
23
|
+
background-color: white;
|
|
24
|
+
padding: 7px 4em 0 4em;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
h1 {
|
|
28
|
+
font-size: 100%;
|
|
29
|
+
color: #730E15;
|
|
30
|
+
line-height: 1.5em;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
body > p {
|
|
34
|
+
width: 33em;
|
|
35
|
+
margin: 0 auto 1em;
|
|
36
|
+
padding: 1em 0;
|
|
37
|
+
background-color: #F7F7F7;
|
|
38
|
+
border: 1px solid #CCC;
|
|
39
|
+
border-right-color: #999;
|
|
40
|
+
border-bottom-color: #999;
|
|
41
|
+
border-bottom-left-radius: 4px;
|
|
42
|
+
border-bottom-right-radius: 4px;
|
|
43
|
+
border-top-color: #DADADA;
|
|
44
|
+
color: #666;
|
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
48
|
+
</head>
|
|
49
|
+
|
|
50
|
+
<body>
|
|
51
|
+
<!-- This file lives in public/422.html -->
|
|
52
|
+
<div class="dialog">
|
|
53
|
+
<h1>The change you wanted was rejected.</h1>
|
|
54
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
|
55
|
+
</div>
|
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
57
|
+
</body>
|
|
58
|
+
</html>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
background-color: #EFEFEF;
|
|
8
|
+
color: #2E2F30;
|
|
9
|
+
text-align: center;
|
|
10
|
+
font-family: arial, sans-serif;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
div.dialog {
|
|
14
|
+
width: 25em;
|
|
15
|
+
margin: 4em auto 0 auto;
|
|
16
|
+
border: 1px solid #CCC;
|
|
17
|
+
border-right-color: #999;
|
|
18
|
+
border-left-color: #999;
|
|
19
|
+
border-bottom-color: #BBB;
|
|
20
|
+
border-top: #B00100 solid 4px;
|
|
21
|
+
border-top-left-radius: 9px;
|
|
22
|
+
border-top-right-radius: 9px;
|
|
23
|
+
background-color: white;
|
|
24
|
+
padding: 7px 4em 0 4em;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
h1 {
|
|
28
|
+
font-size: 100%;
|
|
29
|
+
color: #730E15;
|
|
30
|
+
line-height: 1.5em;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
body > p {
|
|
34
|
+
width: 33em;
|
|
35
|
+
margin: 0 auto 1em;
|
|
36
|
+
padding: 1em 0;
|
|
37
|
+
background-color: #F7F7F7;
|
|
38
|
+
border: 1px solid #CCC;
|
|
39
|
+
border-right-color: #999;
|
|
40
|
+
border-bottom-color: #999;
|
|
41
|
+
border-bottom-left-radius: 4px;
|
|
42
|
+
border-bottom-right-radius: 4px;
|
|
43
|
+
border-top-color: #DADADA;
|
|
44
|
+
color: #666;
|
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
48
|
+
</head>
|
|
49
|
+
|
|
50
|
+
<body>
|
|
51
|
+
<!-- This file lives in public/500.html -->
|
|
52
|
+
<div class="dialog">
|
|
53
|
+
<h1>We're sorry, but something went wrong.</h1>
|
|
54
|
+
</div>
|
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
56
|
+
</body>
|
|
57
|
+
</html>
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
|
2
|
+
|
|
3
|
+
testing_land:
|
|
4
|
+
name: Testingland
|
|
5
|
+
a2code: TL
|
|
6
|
+
a3code: TST
|
|
7
|
+
num_code: 999
|
|
8
|
+
dial_code: 77
|
|
9
|
+
|
|
10
|
+
other_country:
|
|
11
|
+
name: Othercountry
|
|
12
|
+
a2code: OC
|
|
13
|
+
a3code: OTC
|
|
14
|
+
num_code: 777
|
|
15
|
+
dial_code: 99
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
|
2
|
+
|
|
3
|
+
ville:
|
|
4
|
+
name: Ville du Centre
|
|
5
|
+
zip: 99000
|
|
6
|
+
city: ville_du_centre
|
|
7
|
+
country: testing_land
|
|
8
|
+
|
|
9
|
+
cedex:
|
|
10
|
+
name: Ville CEDEX
|
|
11
|
+
zip: 99321
|
|
12
|
+
city: ville_du_centre
|
|
13
|
+
country: testing_land
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# urbix/test/acts_as_view_test.rb
|
|
2
|
+
|
|
3
|
+
require 'test_helper'
|
|
4
|
+
|
|
5
|
+
class ActsAsViewTest < ActiveSupport::TestCase
|
|
6
|
+
fixtures :all
|
|
7
|
+
|
|
8
|
+
test "Address respond to view" do
|
|
9
|
+
assert_respond_to Address,:view
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
test "View Relations Class on Mail and Address model" do
|
|
13
|
+
vr = Urbix::ActsAsView::ViewRelations.new(Mail)
|
|
14
|
+
vr.add(:exp_city,[:exp, :locality,:city,:name])
|
|
15
|
+
vr.add(:exp_country,[:exp, :locality,:country,:name])
|
|
16
|
+
vr.add(:dst_city,[:dst, :locality,:city,:name])
|
|
17
|
+
vr.add(:dst_country,[:dst, :locality,:country,:name])
|
|
18
|
+
assert_equal ["cities.name as exp_city", "countries.name as exp_country", "cities_1.name as dst_city",
|
|
19
|
+
"countries_1.name as dst_country"].sort,vr.select_clause.split(', ').sort
|
|
20
|
+
assert_equal ["addresses", "addresses addresses_1", "cities", "cities cities_1", "countries",
|
|
21
|
+
"countries countries_1", "localities", "localities localities_1", "mails"].sort,vr.from_clause.split(', ').sort
|
|
22
|
+
assert_equal ["addresses.locality_id=localities.id", "addresses_1.locality_id=localities_1.id",
|
|
23
|
+
"localities.city_id=cities.id", "localities.country_id=countries.id",
|
|
24
|
+
"localities_1.city_id=cities_1.id", "localities_1.country_id=countries_1.id", "mails.dst_id=addresses_1.id",
|
|
25
|
+
"mails.exp_id=addresses.id"].sort, vr.join_clause.split(' and ').sort
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
test "Mail View method" do
|
|
29
|
+
# view should return same record
|
|
30
|
+
assert_equal Mail.all.collect{|m| m.content}.sort,Mail.view.collect{|m| m.content}.sort
|
|
31
|
+
# Check view attributes
|
|
32
|
+
assert_equal Mail.view.first.attributes.keys, ["id", "content", "exp_id",
|
|
33
|
+
"dst_id", "created_at", "updated_at", "exp_city", "exp_country", "dst_city",
|
|
34
|
+
"dst_country"]
|
|
35
|
+
assert_equal Mail.view.collect{|m|
|
|
36
|
+
[m.exp_city,m.exp_country,m.dst_city,m.dst_country]
|
|
37
|
+
}.sort , Mail.all.collect{|m|
|
|
38
|
+
[ m.exp.locality.city.name,m.exp.locality.country.name,
|
|
39
|
+
m.dst.locality.city.name,m.dst.locality.country.name]
|
|
40
|
+
}.sort
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
test "Address View Method" do
|
|
44
|
+
assert_equal Address.view.first.attributes.keys.sort, ["id", "address", "locality_id",
|
|
45
|
+
"city", "country", "created_at", "updated_at"].sort
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
data/test/test_helper.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Configure Rails Environment
|
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
|
3
|
+
|
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
|
5
|
+
require "rails/test_help"
|
|
6
|
+
|
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
|
8
|
+
|
|
9
|
+
# Load support files
|
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
|
11
|
+
|
|
12
|
+
# Load fixtures from the engine
|
|
13
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
|
14
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
|
15
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: urbix
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.2
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Bernard Rodier
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2014-05-09 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'
|
|
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'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: log4r
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '1.0'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '1.0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: sqlite3
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '1.0'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '1.0'
|
|
55
|
+
description: "Urbix provide act_as_view methods that will provide extention attribute
|
|
56
|
+
\n on model with all its belongs_to relation. It also provide helper for building
|
|
57
|
+
form with \n input helper based on these relation, query filters and other usefull
|
|
58
|
+
methods"
|
|
59
|
+
email:
|
|
60
|
+
- bernard.rodier@gmail.com
|
|
61
|
+
executables: []
|
|
62
|
+
extensions: []
|
|
63
|
+
extra_rdoc_files: []
|
|
64
|
+
files:
|
|
65
|
+
- MIT-LICENSE
|
|
66
|
+
- README.rdoc
|
|
67
|
+
- Rakefile
|
|
68
|
+
- lib/tasks/urbix_tasks.rake
|
|
69
|
+
- lib/urbix.rb
|
|
70
|
+
- lib/urbix/acts_as_view.rb
|
|
71
|
+
- lib/urbix/logger.rb
|
|
72
|
+
- lib/urbix/version.rb
|
|
73
|
+
- test/dummy/README.rdoc
|
|
74
|
+
- test/dummy/Rakefile
|
|
75
|
+
- test/dummy/app/assets/javascripts/application.js
|
|
76
|
+
- test/dummy/app/assets/stylesheets/application.css
|
|
77
|
+
- test/dummy/app/controllers/application_controller.rb
|
|
78
|
+
- test/dummy/app/helpers/application_helper.rb
|
|
79
|
+
- test/dummy/app/models/address.rb
|
|
80
|
+
- test/dummy/app/models/city.rb
|
|
81
|
+
- test/dummy/app/models/country.rb
|
|
82
|
+
- test/dummy/app/models/locality.rb
|
|
83
|
+
- test/dummy/app/models/mail.rb
|
|
84
|
+
- test/dummy/app/views/layouts/application.html.erb
|
|
85
|
+
- test/dummy/bin/bundle
|
|
86
|
+
- test/dummy/bin/rails
|
|
87
|
+
- test/dummy/bin/rake
|
|
88
|
+
- test/dummy/config.ru
|
|
89
|
+
- test/dummy/config/application.rb
|
|
90
|
+
- test/dummy/config/boot.rb
|
|
91
|
+
- test/dummy/config/database.yml
|
|
92
|
+
- test/dummy/config/environment.rb
|
|
93
|
+
- test/dummy/config/environments/development.rb
|
|
94
|
+
- test/dummy/config/environments/production.rb
|
|
95
|
+
- test/dummy/config/environments/test.rb
|
|
96
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
97
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
98
|
+
- test/dummy/config/initializers/inflections.rb
|
|
99
|
+
- test/dummy/config/initializers/mime_types.rb
|
|
100
|
+
- test/dummy/config/initializers/secret_token.rb
|
|
101
|
+
- test/dummy/config/initializers/session_store.rb
|
|
102
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
|
103
|
+
- test/dummy/config/locales/en.yml
|
|
104
|
+
- test/dummy/config/routes.rb
|
|
105
|
+
- test/dummy/db/development.sqlite3
|
|
106
|
+
- test/dummy/db/migrate/20140207164655_create_cities.rb
|
|
107
|
+
- test/dummy/db/migrate/20140207165236_create_countries.rb
|
|
108
|
+
- test/dummy/db/migrate/20140207165538_create_localities.rb
|
|
109
|
+
- test/dummy/db/migrate/20140207165937_create_addresses.rb
|
|
110
|
+
- test/dummy/db/migrate/20140212170008_create_mails.rb
|
|
111
|
+
- test/dummy/db/schema.rb
|
|
112
|
+
- test/dummy/db/test.sqlite3
|
|
113
|
+
- test/dummy/log/development.log
|
|
114
|
+
- test/dummy/log/test.log
|
|
115
|
+
- test/dummy/public/404.html
|
|
116
|
+
- test/dummy/public/422.html
|
|
117
|
+
- test/dummy/public/500.html
|
|
118
|
+
- test/dummy/public/favicon.ico
|
|
119
|
+
- test/dummy/test/fixtures/addresses.yml
|
|
120
|
+
- test/dummy/test/fixtures/cities.yml
|
|
121
|
+
- test/dummy/test/fixtures/countries.yml
|
|
122
|
+
- test/dummy/test/fixtures/localities.yml
|
|
123
|
+
- test/dummy/test/fixtures/mails.yml
|
|
124
|
+
- test/dummy/test/models/address_test.rb
|
|
125
|
+
- test/dummy/test/models/city_test.rb
|
|
126
|
+
- test/dummy/test/models/country_test.rb
|
|
127
|
+
- test/dummy/test/models/locality_test.rb
|
|
128
|
+
- test/dummy/test/models/mail_test.rb
|
|
129
|
+
- test/lib/urbix/acts_as_view_test.rb
|
|
130
|
+
- test/lib/urbix/urbix_test.rb
|
|
131
|
+
- test/test_helper.rb
|
|
132
|
+
homepage: http://github.com/brodier/urbix.git
|
|
133
|
+
licenses:
|
|
134
|
+
- MIT
|
|
135
|
+
metadata: {}
|
|
136
|
+
post_install_message:
|
|
137
|
+
rdoc_options: []
|
|
138
|
+
require_paths:
|
|
139
|
+
- lib
|
|
140
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
|
+
requirements:
|
|
142
|
+
- - ">="
|
|
143
|
+
- !ruby/object:Gem::Version
|
|
144
|
+
version: '0'
|
|
145
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
|
+
requirements:
|
|
147
|
+
- - ">="
|
|
148
|
+
- !ruby/object:Gem::Version
|
|
149
|
+
version: '0'
|
|
150
|
+
requirements: []
|
|
151
|
+
rubyforge_project:
|
|
152
|
+
rubygems_version: 2.2.2
|
|
153
|
+
signing_key:
|
|
154
|
+
specification_version: 4
|
|
155
|
+
summary: Rails extention to provide usefull tools to manipulate model belong_to others
|
|
156
|
+
test_files:
|
|
157
|
+
- test/lib/urbix/urbix_test.rb
|
|
158
|
+
- test/lib/urbix/acts_as_view_test.rb
|
|
159
|
+
- test/dummy/config.ru
|
|
160
|
+
- test/dummy/bin/bundle
|
|
161
|
+
- test/dummy/bin/rails
|
|
162
|
+
- test/dummy/bin/rake
|
|
163
|
+
- test/dummy/config/application.rb
|
|
164
|
+
- test/dummy/config/initializers/mime_types.rb
|
|
165
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
166
|
+
- test/dummy/config/initializers/inflections.rb
|
|
167
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
|
168
|
+
- test/dummy/config/initializers/secret_token.rb
|
|
169
|
+
- test/dummy/config/initializers/session_store.rb
|
|
170
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
171
|
+
- test/dummy/config/locales/en.yml
|
|
172
|
+
- test/dummy/config/database.yml
|
|
173
|
+
- test/dummy/config/routes.rb
|
|
174
|
+
- test/dummy/config/environment.rb
|
|
175
|
+
- test/dummy/config/environments/production.rb
|
|
176
|
+
- test/dummy/config/environments/test.rb
|
|
177
|
+
- test/dummy/config/environments/development.rb
|
|
178
|
+
- test/dummy/config/boot.rb
|
|
179
|
+
- test/dummy/app/controllers/application_controller.rb
|
|
180
|
+
- test/dummy/app/views/layouts/application.html.erb
|
|
181
|
+
- test/dummy/app/models/locality.rb
|
|
182
|
+
- test/dummy/app/models/address.rb
|
|
183
|
+
- test/dummy/app/models/city.rb
|
|
184
|
+
- test/dummy/app/models/country.rb
|
|
185
|
+
- test/dummy/app/models/mail.rb
|
|
186
|
+
- test/dummy/app/assets/javascripts/application.js
|
|
187
|
+
- test/dummy/app/assets/stylesheets/application.css
|
|
188
|
+
- test/dummy/app/helpers/application_helper.rb
|
|
189
|
+
- test/dummy/README.rdoc
|
|
190
|
+
- test/dummy/public/422.html
|
|
191
|
+
- test/dummy/public/favicon.ico
|
|
192
|
+
- test/dummy/public/500.html
|
|
193
|
+
- test/dummy/public/404.html
|
|
194
|
+
- test/dummy/Rakefile
|
|
195
|
+
- test/dummy/log/test.log
|
|
196
|
+
- test/dummy/log/development.log
|
|
197
|
+
- test/dummy/test/fixtures/mails.yml
|
|
198
|
+
- test/dummy/test/fixtures/countries.yml
|
|
199
|
+
- test/dummy/test/fixtures/cities.yml
|
|
200
|
+
- test/dummy/test/fixtures/localities.yml
|
|
201
|
+
- test/dummy/test/fixtures/addresses.yml
|
|
202
|
+
- test/dummy/test/models/country_test.rb
|
|
203
|
+
- test/dummy/test/models/locality_test.rb
|
|
204
|
+
- test/dummy/test/models/mail_test.rb
|
|
205
|
+
- test/dummy/test/models/address_test.rb
|
|
206
|
+
- test/dummy/test/models/city_test.rb
|
|
207
|
+
- test/dummy/db/migrate/20140212170008_create_mails.rb
|
|
208
|
+
- test/dummy/db/migrate/20140207165538_create_localities.rb
|
|
209
|
+
- test/dummy/db/migrate/20140207165236_create_countries.rb
|
|
210
|
+
- test/dummy/db/migrate/20140207164655_create_cities.rb
|
|
211
|
+
- test/dummy/db/migrate/20140207165937_create_addresses.rb
|
|
212
|
+
- test/dummy/db/schema.rb
|
|
213
|
+
- test/dummy/db/test.sqlite3
|
|
214
|
+
- test/dummy/db/development.sqlite3
|
|
215
|
+
- test/test_helper.rb
|