we_bridge_rails_engine_users 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/seeds.rb +1 -0
- data/lib/we_bridge_rails_engine_users/engine.rb +11 -0
- data/lib/we_bridge_rails_engine_users/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1858 -0
- metadata +3 -4
- data/spec/dummy/db/migrate/20150803101150_create_langs.rb +0 -20
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: we_bridge_rails_engine_users
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shinjiro Itagaki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -352,6 +352,7 @@ files:
|
|
352
352
|
- db/migrate/20150611132719_add_sessions_table.rb
|
353
353
|
- db/migrate/20150612005752_create_people.rb
|
354
354
|
- db/migrate/20150712132226_add_users.rb
|
355
|
+
- db/seeds.rb
|
355
356
|
- lib/tasks/we_bridge_rails_engine_langs_tasks.rake
|
356
357
|
- lib/we_bridge_rails_engine_users.rb
|
357
358
|
- lib/we_bridge_rails_engine_users/application_controller.rb
|
@@ -394,7 +395,6 @@ files:
|
|
394
395
|
- spec/dummy/config/routes.rb
|
395
396
|
- spec/dummy/config/secrets.yml
|
396
397
|
- spec/dummy/db/development.sqlite3
|
397
|
-
- spec/dummy/db/migrate/20150803101150_create_langs.rb
|
398
398
|
- spec/dummy/db/schema.rb
|
399
399
|
- spec/dummy/db/test.sqlite3
|
400
400
|
- spec/dummy/log/development.log
|
@@ -499,7 +499,6 @@ test_files:
|
|
499
499
|
- spec/dummy/config/secrets.yml
|
500
500
|
- spec/dummy/config.ru
|
501
501
|
- spec/dummy/db/development.sqlite3
|
502
|
-
- spec/dummy/db/migrate/20150803101150_create_langs.rb
|
503
502
|
- spec/dummy/db/schema.rb
|
504
503
|
- spec/dummy/db/test.sqlite3
|
505
504
|
- spec/dummy/log/development.log
|
@@ -1,20 +0,0 @@
|
|
1
|
-
class CreateLangs < ActiveRecord::Migration
|
2
|
-
def change
|
3
|
-
create_table :langs do |t|
|
4
|
-
t.string :code, null: false, limit: 5
|
5
|
-
t.boolean :east, null: false, default: false
|
6
|
-
t.integer :position , default: 1 , null: false
|
7
|
-
t.boolean :enable, null: false, default: true
|
8
|
-
t.timestamps null: false
|
9
|
-
end
|
10
|
-
add_index :langs, [:code], unique: true
|
11
|
-
|
12
|
-
create_table :lang_texts do |t|
|
13
|
-
t.integer :parent_id, null: false
|
14
|
-
t.integer :lang_id, null: false
|
15
|
-
t.string :label
|
16
|
-
t.timestamps null: false
|
17
|
-
end
|
18
|
-
add_index :lang_texts, [:parent_id,:lang_id], unique: true
|
19
|
-
end
|
20
|
-
end
|