we_bridge_rails_engine_orgs 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb35709684f5ec87c992adc48f770df73f9134ce
4
- data.tar.gz: 8960cfd168c44207dc5a9546d697ec38e405ff4d
3
+ metadata.gz: 1b776cc74377da7ae7d813f539840fb1a7f5fa55
4
+ data.tar.gz: bb48620a819f8bd5568a8f3cb5f3fc073998a9d3
5
5
  SHA512:
6
- metadata.gz: 3507084bffa0e03517c01ef9aefad93e869545853978e1cfc0e0f77470a99f0e8ba0a48ec20aebbef303270a9cfd826478b9d171de3786c893dfa6860c493ba6
7
- data.tar.gz: b36bf6df0eb6dfec57e02600a005d167ec51867a88de6d47760cfe107b724091cf3ba4a549ecab3cc8cc0d2519a61fd4e1b2dae52fb2b31602b7c27f6301dde9
6
+ metadata.gz: ecff8ec03513af7b0aea0681a8abca7b9a712a280a4316862e2b1f5bd9081398afd59940f5532cceaff91308a139d110433655c38e138877f8f95e40a7f22529
7
+ data.tar.gz: 39b95d11e3878347798bc50833ead1bc31f8747208e323a13fc550f0969efda8c513cc041968b88d1686c60e21c825e55e97c70149a73c0c575e0a57d44f5b1d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- we_bridge_rails_engine_orgs (0.1.11)
4
+ we_bridge_rails_engine_orgs (0.1.12)
5
5
  actionview-helpers-auto_tag_helper
6
6
  activerecord-mlang
7
7
  we_bridge-auto_view_helper
@@ -91,7 +91,7 @@ GEM
91
91
  multi_json (1.11.2)
92
92
  multi_xml (0.5.5)
93
93
  multipart-post (2.0.0)
94
- nokogiri (1.6.7)
94
+ nokogiri (1.6.7.1)
95
95
  mini_portile2 (~> 2.0.0.rc2)
96
96
  oauth (0.4.7)
97
97
  oauth2 (1.0.0)
@@ -100,9 +100,9 @@ GEM
100
100
  multi_json (~> 1.3)
101
101
  multi_xml (~> 0.5)
102
102
  rack (~> 1.2)
103
- omniauth (1.2.2)
103
+ omniauth (1.3.0)
104
104
  hashie (>= 1.2, < 4)
105
- rack (~> 1.0)
105
+ rack (>= 1.0, < 2.0)
106
106
  omniauth-dropbox (0.2.0)
107
107
  omniauth-oauth (~> 1.0)
108
108
  omniauth-facebook (3.0.0)
@@ -189,10 +189,10 @@ GEM
189
189
  sprockets (3.5.2)
190
190
  concurrent-ruby (~> 1.0)
191
191
  rack (> 1, < 3)
192
- sprockets-rails (2.3.3)
193
- actionpack (>= 3.0)
194
- activesupport (>= 3.0)
195
- sprockets (>= 2.8, < 4.0)
192
+ sprockets-rails (3.0.0)
193
+ actionpack (>= 4.0)
194
+ activesupport (>= 4.0)
195
+ sprockets (>= 3.0.0)
196
196
  sqlite3 (1.3.11)
197
197
  thor (0.19.1)
198
198
  thread_safe (0.3.5)
@@ -0,0 +1,5 @@
1
+ class AddPhoneNumberToOrgMember < ActiveRecord::Migration
2
+ def change
3
+ add_column :org_members, :phone_number, :string, null: true
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module WeBridgeRailsEngineOrgs
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
Binary file
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20151216145424) do
14
+ ActiveRecord::Schema.define(version: 20151220104955) do
15
15
 
16
16
  create_table "lang_texts", force: :cascade do |t|
17
17
  t.integer "parent_id", null: false
@@ -239,6 +239,7 @@ ActiveRecord::Schema.define(version: 20151216145424) do
239
239
  t.string "handle_name", default: "", null: false
240
240
  t.boolean "private", default: false, null: false
241
241
  t.string "uuid", limit: 40, default: "", null: false
242
+ t.string "phone_number"
242
243
  end
243
244
 
244
245
  create_table "org_texts", force: :cascade do |t|
@@ -34553,3 +34553,218 @@ Migrating to AddSecretColumnToOrgMember (20151216145030)
34553
34553
  FROM sqlite_temp_master
34554
34554
  WHERE name='index_user_texts_on_lang_id_and_parent_id' AND type='index'
34555
34555
 
34556
+ OrgDirectorType Load (5.5ms) SELECT "org_director_types".* FROM "org_director_types"
34557
+ OrgDirectorType Load (0.2ms) SELECT "org_director_types".* FROM "org_director_types" ORDER BY "org_director_types"."id" ASC LIMIT 1
34558
+ OrgDirectorType Load (0.2ms) SELECT "org_director_types".* FROM "org_director_types" ORDER BY "org_director_types"."id" ASC LIMIT 1
34559
+ OrgDirectorType Load (0.3ms) SELECT "org_director_types".* FROM "org_director_types" ORDER BY "org_director_types"."id" ASC LIMIT 1
34560
+ OrgDirectorType Load (0.3ms) SELECT "org_director_types".* FROM "org_director_types" ORDER BY "org_director_types"."id" ASC LIMIT 1
34561
+ OrgDirectorType Load (1.1ms) SELECT "org_director_types".* FROM "org_director_types" ORDER BY "org_director_types"."id" ASC LIMIT 1
34562
+ OrgDirectorType Load (0.2ms) SELECT "org_director_types".* FROM "org_director_types" ORDER BY "org_director_types"."id" ASC LIMIT 1
34563
+ Org Load (0.6ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
34564
+ Org Load (0.3ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
34565
+ Org Load (0.3ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
34566
+  (0.3ms) SELECT MIN("org_director_types"."position") FROM "org_director_types" WHERE "org_director_types"."org_id" = ? [["org_id", 1]]
34567
+ OrgMember Load (2.0ms) SELECT DISTINCT "org_members".* FROM "org_members" INNER JOIN "org_director_types" "org_director_types_org_members" ON "org_director_types_org_members"."id" = "org_members"."org_director_type_id" INNER JOIN "org_director_types" ON "org_members"."org_director_type_id" = "org_director_types"."id" WHERE "org_members"."retired_on" IS NULL AND "org_director_types"."org_id" = ? AND "org_director_types"."position" = 0 ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
34568
+ Org Load (2.0ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
34569
+ Org Load (1.8ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
34570
+ ActiveRecord::Mlang::Lang Load (0.7ms) SELECT "langs".* FROM "langs" WHERE "langs"."code" = ? LIMIT 1 [["code", "en"]]
34571
+ OrgText Load (1.0ms) SELECT "org_texts".* FROM "org_texts" WHERE "org_texts"."parent_id" = ? AND "org_texts"."lang_id" = ? LIMIT 1 [["parent_id", 1], ["lang_id", 2]]
34572
+ Org Load (2.1ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
34573
+ ActiveRecord::Mlang::Lang Load (0.2ms) SELECT "langs".* FROM "langs" WHERE "langs"."code" = ? LIMIT 1 [["code", "en"]]
34574
+ OrgText Load (0.2ms) SELECT "org_texts".* FROM "org_texts" WHERE "org_texts"."parent_id" = ? AND "org_texts"."lang_id" = ? LIMIT 1 [["parent_id", 1], ["lang_id", 2]]
34575
+ Org Load (1.9ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
34576
+ ActiveRecord::Mlang::Lang Load (0.2ms) SELECT "langs".* FROM "langs" WHERE "langs"."code" = ? LIMIT 1 [["code", "en"]]
34577
+ OrgText Load (0.2ms) SELECT "org_texts".* FROM "org_texts" WHERE "org_texts"."parent_id" = ? AND "org_texts"."lang_id" = ? LIMIT 1 [["parent_id", 1], ["lang_id", 2]]
34578
+ Org Load (2.1ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
34579
+ ActiveRecord::Mlang::Lang Load (0.2ms) SELECT "langs".* FROM "langs" WHERE "langs"."code" = ? LIMIT 1 [["code", "en"]]
34580
+ OrgText Load (0.2ms) SELECT "org_texts".* FROM "org_texts" WHERE "org_texts"."parent_id" = ? AND "org_texts"."lang_id" = ? LIMIT 1 [["parent_id", 1], ["lang_id", 2]]
34581
+ Org Load (2.2ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
34582
+ ActiveRecord::Mlang::Lang Load (0.1ms) SELECT "langs".* FROM "langs" WHERE "langs"."code" = ? LIMIT 1 [["code", "en"]]
34583
+ OrgText Load (0.1ms) SELECT "org_texts".* FROM "org_texts" WHERE "org_texts"."parent_id" = ? AND "org_texts"."lang_id" = ? LIMIT 1 [["parent_id", 1], ["lang_id", 2]]
34584
+ Org Load (0.6ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
34585
+ Org Load (0.2ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
34586
+ OrgMemberType Load (0.7ms) SELECT "org_member_types".* FROM "org_member_types" WHERE "org_member_types"."org_id" = ? [["org_id", 1]]
34587
+ Org Load (2.1ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
34588
+ OrgMemberType Load (0.3ms) SELECT "org_member_types".* FROM "org_member_types" WHERE "org_member_types"."org_id" = ? ORDER BY "org_member_types"."id" ASC LIMIT 1 [["org_id", 1]]
34589
+ Org Load (2.1ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
34590
+ OrgActivity Load (0.7ms) SELECT "org_activities".* FROM "org_activities" WHERE "org_activities"."org_id" = ? [["org_id", 1]]
34591
+  (9.0ms) SELECT COUNT(*) FROM "org_member_types"
34592
+ OrgMember Load (4.7ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."retired_on" IS NULL ORDER BY "org_members"."id" ASC LIMIT 1
34593
+ OrgMember Load (1.3ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."retired_on" IS NULL ORDER BY "org_members"."id" ASC LIMIT 1
34594
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
34595
+ Migrating to AddSecretColumnToOrgMembers (20151216145030)
34596
+  (0.1ms) begin transaction
34597
+  (0.8ms) ALTER TABLE "org_members" ADD "private" boolean DEFAULT 'f' NOT NULL
34598
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151216145030"]]
34599
+  (0.9ms) commit transaction
34600
+ Migrating to AddUuidColumnToOrgMembers (20151216145424)
34601
+  (0.1ms) begin transaction
34602
+  (0.7ms) ALTER TABLE "org_members" ADD "uuid" varchar(40) DEFAULT '' NOT NULL
34603
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151216145424"]]
34604
+  (1.0ms) commit transaction
34605
+ Migrating to AddPhoneNumberToOrgMember (20151220104955)
34606
+  (0.2ms) begin transaction
34607
+  (0.5ms) ALTER TABLE "org_members" ADD "phone_number" varchar
34608
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151220104955"]]
34609
+  (1.0ms) commit transaction
34610
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
34611
+  (0.2ms)  SELECT sql
34612
+ FROM sqlite_master
34613
+ WHERE name='index_lang_texts_on_parent_id_and_lang_id' AND type='index'
34614
+ UNION ALL
34615
+ SELECT sql
34616
+ FROM sqlite_temp_master
34617
+ WHERE name='index_lang_texts_on_parent_id_and_lang_id' AND type='index'
34618
+ 
34619
+  (0.1ms) SELECT sql
34620
+ FROM sqlite_master
34621
+ WHERE name='index_langs_on_code' AND type='index'
34622
+ UNION ALL
34623
+ SELECT sql
34624
+ FROM sqlite_temp_master
34625
+ WHERE name='index_langs_on_code' AND type='index'
34626
+
34627
+  (0.1ms)  SELECT sql
34628
+ FROM sqlite_master
34629
+ WHERE name='index_org_activity_texts_on_lang_id_and_parent_id' AND type='index'
34630
+ UNION ALL
34631
+ SELECT sql
34632
+ FROM sqlite_temp_master
34633
+ WHERE name='index_org_activity_texts_on_lang_id_and_parent_id' AND type='index'
34634
+ 
34635
+  (0.2ms) SELECT sql
34636
+ FROM sqlite_master
34637
+ WHERE name='index_org_branch_member_mappings' AND type='index'
34638
+ UNION ALL
34639
+ SELECT sql
34640
+ FROM sqlite_temp_master
34641
+ WHERE name='index_org_branch_member_mappings' AND type='index'
34642
+
34643
+  (0.2ms)  SELECT sql
34644
+ FROM sqlite_master
34645
+ WHERE name='index_org_branch_texts' AND type='index'
34646
+ UNION ALL
34647
+ SELECT sql
34648
+ FROM sqlite_temp_master
34649
+ WHERE name='index_org_branch_texts' AND type='index'
34650
+ 
34651
+  (0.1ms) SELECT sql
34652
+ FROM sqlite_master
34653
+ WHERE name='index_org_branch_type_texts' AND type='index'
34654
+ UNION ALL
34655
+ SELECT sql
34656
+ FROM sqlite_temp_master
34657
+ WHERE name='index_org_branch_type_texts' AND type='index'
34658
+
34659
+  (0.3ms)  SELECT sql
34660
+ FROM sqlite_master
34661
+ WHERE name='index_org_department_position_member_mappings' AND type='index'
34662
+ UNION ALL
34663
+ SELECT sql
34664
+ FROM sqlite_temp_master
34665
+ WHERE name='index_org_department_position_member_mappings' AND type='index'
34666
+ 
34667
+  (0.1ms) SELECT sql
34668
+ FROM sqlite_master
34669
+ WHERE name='index_org_department_position_texts' AND type='index'
34670
+ UNION ALL
34671
+ SELECT sql
34672
+ FROM sqlite_temp_master
34673
+ WHERE name='index_org_department_position_texts' AND type='index'
34674
+
34675
+  (0.1ms)  SELECT sql
34676
+ FROM sqlite_master
34677
+ WHERE name='index_org_department_texts' AND type='index'
34678
+ UNION ALL
34679
+ SELECT sql
34680
+ FROM sqlite_temp_master
34681
+ WHERE name='index_org_department_texts' AND type='index'
34682
+ 
34683
+  (0.1ms) SELECT sql
34684
+ FROM sqlite_master
34685
+ WHERE name='index_org_director_type_texts_on_parent_id_and_lang_id' AND type='index'
34686
+ UNION ALL
34687
+ SELECT sql
34688
+ FROM sqlite_temp_master
34689
+ WHERE name='index_org_director_type_texts_on_parent_id_and_lang_id' AND type='index'
34690
+
34691
+  (0.1ms)  SELECT sql
34692
+ FROM sqlite_master
34693
+ WHERE name='index_org_member_tag_mappings' AND type='index'
34694
+ UNION ALL
34695
+ SELECT sql
34696
+ FROM sqlite_temp_master
34697
+ WHERE name='index_org_member_tag_mappings' AND type='index'
34698
+ 
34699
+  (0.2ms) SELECT sql
34700
+ FROM sqlite_master
34701
+ WHERE name='index_org_member_tag_texts_on_lang_id_and_parent_id' AND type='index'
34702
+ UNION ALL
34703
+ SELECT sql
34704
+ FROM sqlite_temp_master
34705
+ WHERE name='index_org_member_tag_texts_on_lang_id_and_parent_id' AND type='index'
34706
+
34707
+  (0.1ms)  SELECT sql
34708
+ FROM sqlite_master
34709
+ WHERE name='index_org_member_texts_on_lang_id_and_parent_id' AND type='index'
34710
+ UNION ALL
34711
+ SELECT sql
34712
+ FROM sqlite_temp_master
34713
+ WHERE name='index_org_member_texts_on_lang_id_and_parent_id' AND type='index'
34714
+ 
34715
+  (0.1ms) SELECT sql
34716
+ FROM sqlite_master
34717
+ WHERE name='index_org_member_type_texts_on_lang_id_and_parent_id' AND type='index'
34718
+ UNION ALL
34719
+ SELECT sql
34720
+ FROM sqlite_temp_master
34721
+ WHERE name='index_org_member_type_texts_on_lang_id_and_parent_id' AND type='index'
34722
+
34723
+  (0.1ms)  SELECT sql
34724
+ FROM sqlite_master
34725
+ WHERE name='index_org_texts' AND type='index'
34726
+ UNION ALL
34727
+ SELECT sql
34728
+ FROM sqlite_temp_master
34729
+ WHERE name='index_org_texts' AND type='index'
34730
+ 
34731
+  (0.1ms) SELECT sql
34732
+ FROM sqlite_master
34733
+ WHERE name='idx_person_name_texts' AND type='index'
34734
+ UNION ALL
34735
+ SELECT sql
34736
+ FROM sqlite_temp_master
34737
+ WHERE name='idx_person_name_texts' AND type='index'
34738
+
34739
+  (0.1ms)  SELECT sql
34740
+ FROM sqlite_master
34741
+ WHERE name='index_person_names_on_person_id_and_revision' AND type='index'
34742
+ UNION ALL
34743
+ SELECT sql
34744
+ FROM sqlite_temp_master
34745
+ WHERE name='index_person_names_on_person_id_and_revision' AND type='index'
34746
+ 
34747
+  (0.1ms) SELECT sql
34748
+ FROM sqlite_master
34749
+ WHERE name='index_person_texts_on_parent_id_and_lang_id' AND type='index'
34750
+ UNION ALL
34751
+ SELECT sql
34752
+ FROM sqlite_temp_master
34753
+ WHERE name='index_person_texts_on_parent_id_and_lang_id' AND type='index'
34754
+
34755
+  (0.1ms)  SELECT sql
34756
+ FROM sqlite_master
34757
+ WHERE name='index_user_accounts_on_uid' AND type='index'
34758
+ UNION ALL
34759
+ SELECT sql
34760
+ FROM sqlite_temp_master
34761
+ WHERE name='index_user_accounts_on_uid' AND type='index'
34762
+ 
34763
+  (0.1ms) SELECT sql
34764
+ FROM sqlite_master
34765
+ WHERE name='index_user_texts_on_lang_id_and_parent_id' AND type='index'
34766
+ UNION ALL
34767
+ SELECT sql
34768
+ FROM sqlite_temp_master
34769
+ WHERE name='index_user_texts_on_lang_id_and_parent_id' AND type='index'
34770
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: we_bridge_rails_engine_orgs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shinjiro Itagaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-16 00:00:00.000000000 Z
11
+ date: 2015-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-mlang
@@ -329,6 +329,7 @@ files:
329
329
  - db/migrate/20151204183612_create_org_department_positions.rb
330
330
  - db/migrate/20151216145030_add_secret_column_to_org_members.rb
331
331
  - db/migrate/20151216145424_add_uuid_column_to_org_members.rb
332
+ - db/migrate/20151220104955_add_phone_number_to_org_member.rb
332
333
  - lib/tasks/we_bridge_rails_engine_orgs_tasks.rake
333
334
  - lib/we_bridge_rails_engine_orgs.rb
334
335
  - lib/we_bridge_rails_engine_orgs/engine.rb