ajax_validator 0.0.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ea11a9a26ae42ec77a8b1513400c90c09299e53
4
- data.tar.gz: 39a0f8bb6725c27919e8eba0534585c816bddc1e
3
+ metadata.gz: 868822c268e34d53eb77a3f71303601f3ebc831d
4
+ data.tar.gz: c3f3f823c2349429a69070db413eb7d5d7ced794
5
5
  SHA512:
6
- metadata.gz: 6bf4253121c5c57cd0590f7f7a9c3d6c767195a1831523d9e7615224d456e186c768ff9063e1396e3d93f0069be3b4cb4c156d8b238ab7eb58dec90f43661349
7
- data.tar.gz: dc01803395572d253fd2e0d86b52fd38f59d5530759c84222271e78d520bccf40b102d1f976f2a968774f45d89cc0b6235828be57788a7214c691109d5b415e1
6
+ metadata.gz: 109560f79aa816742c66ae2bd2f5b156e0c3dc7a31383499f272f67af6cd152651bd8696be67430c5da306ae0db3574f2bd618fbb3f2af7c27f965b4570b45db
7
+ data.tar.gz: 13bf2c0eacc4cc6d3394ffb74349942c73e1027d34bb0e599ab45917319ab9369de4cb473d235fb19f70a958967a7546b807889ffeb57e0ef0f729d96d1075ec
data/README.md CHANGED
@@ -1,6 +1,12 @@
1
- # Ajax Validator [![Build Status](https://travis-ci.org/efigence/ajax_validator.svg?branch=master)](http://travis-ci.org/efigence/ajax_validator)
1
+ # Ajax Validator
2
2
 
3
- ### Ajax Live Form Validation Rails Engine
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
 
@@ -1,3 +1,3 @@
1
1
  module AjaxValidator
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -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
   (6.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
714
714
   (0.5ms) SELECT version FROM "schema_migrations"
715
715
   (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
716
+  (0.4ms) DROP DATABASE IF EXISTS "ajax_validator_test"
717
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
718
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
719
+  (120.8ms) DROP DATABASE IF EXISTS "ajax_validator_test"
720
+  (814.1ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
721
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
722
+  (6.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
723
+  (6.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
724
+  (0.5ms) SELECT version FROM "schema_migrations"
725
+  (5.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
726
+  (118.1ms) DROP DATABASE IF EXISTS "ajax_validator_test"
727
+  (361.2ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
728
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
729
+  (11.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
730
+  (5.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
731
+  (0.7ms) SELECT version FROM "schema_migrations"
732
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
733
+  (116.7ms) DROP DATABASE IF EXISTS "ajax_validator_test"
734
+  (314.7ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
735
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
736
+  (12.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
737
+  (11.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
738
+  (0.6ms) SELECT version FROM "schema_migrations"
739
+  (5.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
740
+  (118.2ms) DROP DATABASE IF EXISTS "ajax_validator_test"
741
+  (339.8ms) CREATE DATABASE "ajax_validator_test" ENCODING = 'unicode'
742
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
743
+  (11.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
744
+  (9.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
745
+  (0.6ms) SELECT version FROM "schema_migrations"
746
+  (2.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
747
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
748
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
749
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
750
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
751
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
752
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
753
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
754
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
755
+ PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations
756
+ : SELECT "schema_migrations".* FROM "schema_migrations"
757
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
758
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
759
+ PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations
760
+ : SELECT "schema_migrations".* FROM "schema_migrations"
761
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -292,3 +292,18 @@ LINE 5: WHERE a.attrelid = '"ajax_validator_validator...
292
292
  ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
293
293
  ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
294
294
  ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
295
+ ActiveRecord::SchemaMigration Load (2.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
296
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
297
+  (0.7ms) SELECT version FROM "schema_migrations"
298
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
299
+  (0.5ms) SELECT version FROM "schema_migrations"
300
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
301
+  (0.4ms) SELECT version FROM "schema_migrations"
302
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
303
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
304
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
305
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
306
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
307
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
308
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
309
+ ActiveRecord::SchemaMigration Load (0.3ms) 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.1
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.4.5
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