phonelib 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +137 -0
- data/Rakefile +36 -0
- data/data/PhoneNumberMetaData.xml +25515 -0
- data/data/phone_data.yml +9209 -0
- data/lib/phonelib/core.rb +86 -0
- data/lib/phonelib/phone.rb +166 -0
- data/lib/phonelib/validators.rb +47 -0
- data/lib/phonelib/version.rb +3 -0
- data/lib/phonelib.rb +14 -0
- data/lib/tasks/phonelib_tasks.rake +69 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/javascripts/phones.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/assets/stylesheets/phones.css +4 -0
- data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/phones_controller.rb +83 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/phones_helper.rb +2 -0
- data/test/dummy/app/models/phone.rb +6 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/phones/_form.html.erb +25 -0
- data/test/dummy/app/views/phones/edit.html.erb +6 -0
- data/test/dummy/app/views/phones/index.html.erb +25 -0
- data/test/dummy/app/views/phones/new.html.erb +5 -0
- data/test/dummy/app/views/phones/show.html.erb +14 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +60 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20130121173847_create_phones.rb +9 -0
- data/test/dummy/db/migrate/20130122075331_add_possible_number_to_phone.rb +5 -0
- data/test/dummy/db/schema.rb +23 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +976 -0
- data/test/dummy/log/test.log +4627 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/fixtures/phones.yml +16 -0
- data/test/dummy/test/functional/phones_controller_test.rb +50 -0
- data/test/dummy/test/unit/helpers/phones_helper_test.rb +4 -0
- data/test/dummy/test/unit/phone_test.rb +47 -0
- data/test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/test/dummy/tmp/cache/assets/CF2/1D0/sprockets%2F0c27dcea623d22c007e33b8bf5301181 +0 -0
- data/test/dummy/tmp/cache/assets/D04/B50/sprockets%2F46c36c6aa77b26dddc3117542d006b94 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D46/C40/sprockets%2F9b88128dae7c1e6c7b28bcf197057c21 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D6D/E60/sprockets%2F1e022b8d5f5e26ebefd84c611bb56952 +0 -0
- data/test/dummy/tmp/cache/assets/D86/1B0/sprockets%2F5525f793871e81fb2bc8ff6dc05d7d8f +0 -0
- data/test/dummy/tmp/cache/assets/D8B/9D0/sprockets%2F017fa706d8e37400eafdda73e151d0bc +0 -0
- data/test/dummy/tmp/cache/assets/DD6/070/sprockets%2F2c9fb78e23cbc06765e705f8dfc6abe1 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E57/9D0/sprockets%2Fdc6481f3cacaff37934cae4aa8e0ecb4 +0 -0
- data/test/phonelib_test.rb +67 -0
- data/test/test_helper.rb +17 -0
- metadata +247 -0
@@ -0,0 +1,23 @@
|
|
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 to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20130122075331) do
|
15
|
+
|
16
|
+
create_table "phones", :force => true do |t|
|
17
|
+
t.string "number"
|
18
|
+
t.datetime "created_at", :null => false
|
19
|
+
t.datetime "updated_at", :null => false
|
20
|
+
t.string "possible_number"
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
Binary file
|