ajax_validator 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -2
- data/lib/ajax_validator/version.rb +1 -1
- data/spec/dummy/db/schema.rb +19 -0
- data/spec/dummy/log/development.log +46 -0
- data/spec/dummy/log/test.log +15 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 868822c268e34d53eb77a3f71303601f3ebc831d
|
4
|
+
data.tar.gz: c3f3f823c2349429a69070db413eb7d5d7ced794
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 109560f79aa816742c66ae2bd2f5b156e0c3dc7a31383499f272f67af6cd152651bd8696be67430c5da306ae0db3574f2bd618fbb3f2af7c27f965b4570b45db
|
7
|
+
data.tar.gz: 13bf2c0eacc4cc6d3394ffb74349942c73e1027d34bb0e599ab45917319ab9369de4cb473d235fb19f70a958967a7546b807889ffeb57e0ef0f729d96d1075ec
|
data/README.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
|
-
# Ajax Validator
|
1
|
+
# Ajax Validator
|
2
2
|
|
3
|
-
|
3
|
+
> Ajax Live Form Validation Rails Engine
|
4
|
+
|
5
|
+
[![Build Status](https://travis-ci.org/efigence/ajax_validator.svg?branch=master)](http://travis-ci.org/efigence/ajax_validator)
|
6
|
+
|
7
|
+
## Demo
|
8
|
+
|
9
|
+
![](https://cloud.githubusercontent.com/assets/34706/13599661/79374eba-e524-11e5-8e1b-e6f77891958d.gif)
|
4
10
|
|
5
11
|
## How to install
|
6
12
|
|
@@ -69,9 +75,12 @@ Include the needed javascript file in your application.js or application.js.coff
|
|
69
75
|
|
70
76
|
### How to test
|
71
77
|
cd vendor/engines/ajax_validator/
|
78
|
+
bundle exec appraisal
|
79
|
+
|
72
80
|
export DATABASE_URL='postgres://localhost:5432' AJAX_VALIDATOR_DATABASE_USERNAME=postgres AJAX_VALIDATOR_DATABASE_PASSWORD=p
|
73
81
|
|
74
82
|
bundle exec appraisal rails-4.1 rake db:create db:migrate db:seed
|
83
|
+
bundle exec appraisal rake spec
|
75
84
|
---
|
76
85
|
- Optional:
|
77
86
|
|
@@ -0,0 +1,19 @@
|
|
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() do
|
15
|
+
|
16
|
+
# These are extensions that must be enabled in order to support this database
|
17
|
+
enable_extension "plpgsql"
|
18
|
+
|
19
|
+
end
|
@@ -713,3 +713,49 @@ PG::InsufficientPrivilege: ERROR: must be owner of database dummy_test
|
|
713
713
|
[1m[36m (6.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
714
714
|
[1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
|
715
715
|
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
716
|
+
[1m[36m (0.4ms)[0m [1mDROP DATABASE IF EXISTS "ajax_validator_test"[0m
|
717
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
718
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
719
|
+
[1m[36m (120.8ms)[0m [1mDROP DATABASE IF EXISTS "ajax_validator_test"[0m
|
720
|
+
[1m[35m (814.1ms)[0m CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
|
721
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
722
|
+
[1m[35m (6.1ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
723
|
+
[1m[36m (6.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
724
|
+
[1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
|
725
|
+
[1m[36m (5.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
726
|
+
[1m[36m (118.1ms)[0m [1mDROP DATABASE IF EXISTS "ajax_validator_test"[0m
|
727
|
+
[1m[35m (361.2ms)[0m CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
|
728
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
729
|
+
[1m[35m (11.1ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
730
|
+
[1m[36m (5.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
731
|
+
[1m[35m (0.7ms)[0m SELECT version FROM "schema_migrations"
|
732
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
733
|
+
[1m[36m (116.7ms)[0m [1mDROP DATABASE IF EXISTS "ajax_validator_test"[0m
|
734
|
+
[1m[35m (314.7ms)[0m CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
|
735
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
736
|
+
[1m[35m (12.7ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
737
|
+
[1m[36m (11.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
738
|
+
[1m[35m (0.6ms)[0m SELECT version FROM "schema_migrations"
|
739
|
+
[1m[36m (5.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
740
|
+
[1m[36m (118.2ms)[0m [1mDROP DATABASE IF EXISTS "ajax_validator_test"[0m
|
741
|
+
[1m[35m (339.8ms)[0m CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
|
742
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
743
|
+
[1m[35m (11.7ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
744
|
+
[1m[36m (9.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
745
|
+
[1m[35m (0.6ms)[0m SELECT version FROM "schema_migrations"
|
746
|
+
[1m[36m (2.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
747
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
748
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
749
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
750
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
751
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
752
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
753
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
754
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
755
|
+
PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations
|
756
|
+
: SELECT "schema_migrations".* FROM "schema_migrations"
|
757
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
758
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
759
|
+
PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations
|
760
|
+
: SELECT "schema_migrations".* FROM "schema_migrations"
|
761
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -292,3 +292,18 @@ LINE 5: WHERE a.attrelid = '"ajax_validator_validator...
|
|
292
292
|
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
293
293
|
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
294
294
|
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
295
|
+
[1m[36mActiveRecord::SchemaMigration Load (2.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
296
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
297
|
+
[1m[35m (0.7ms)[0m SELECT version FROM "schema_migrations"
|
298
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
299
|
+
[1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
|
300
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
301
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
302
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
303
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
304
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
305
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
306
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
307
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
308
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
309
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ajax_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcin Kalita
|
@@ -320,6 +320,7 @@ files:
|
|
320
320
|
- spec/dummy/config/routes.rb
|
321
321
|
- spec/dummy/config/secrets.yml
|
322
322
|
- spec/dummy/db/development.sqlite3
|
323
|
+
- spec/dummy/db/schema.rb
|
323
324
|
- spec/dummy/db/test.sqlite3
|
324
325
|
- spec/dummy/log/development.log
|
325
326
|
- spec/dummy/log/test.log
|
@@ -355,7 +356,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
355
356
|
version: '0'
|
356
357
|
requirements: []
|
357
358
|
rubyforge_project:
|
358
|
-
rubygems_version: 2.
|
359
|
+
rubygems_version: 2.5.1
|
359
360
|
signing_key:
|
360
361
|
specification_version: 4
|
361
362
|
summary: Ajax Live Form Validation Rails Engine
|
@@ -374,6 +375,7 @@ test_files:
|
|
374
375
|
- spec/dummy/log/development.log
|
375
376
|
- spec/dummy/log/test.log
|
376
377
|
- spec/dummy/db/test.sqlite3
|
378
|
+
- spec/dummy/db/schema.rb
|
377
379
|
- spec/dummy/db/development.sqlite3
|
378
380
|
- spec/dummy/Rakefile
|
379
381
|
- spec/dummy/config/database.yml
|