enju_seed 0.2.0.beta.4 → 0.2.0.beta.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/identity.rb +14 -0
- data/app/models/profile.rb +0 -2
- data/lib/enju_seed/version.rb +1 -1
- data/lib/tasks/enju_seed_tasks.rake +0 -7
- data/spec/dummy/config/application.rb +2 -0
- data/spec/dummy/db/migrate/20160813130535_add_email_to_library_group.rb +5 -0
- data/spec/dummy/db/schema.rb +2 -1
- data/spec/fixtures/profiles.yml +0 -2
- data/spec/models/profile_spec.rb +0 -2
- metadata +31 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d5599ef2caf64b9ba0d5e64f5f63da0aeaa4646
|
4
|
+
data.tar.gz: 4aac533504e3748a7c11f3e1dafa88984aac90cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7c6e2734891c5b0e6c41928662a25a3248f07dfa7463f64fe2e742df170ea0ef7c27a90e80747049b960142e4e80fbe81eb813d10a313979d31dbc22d6a80f2
|
7
|
+
data.tar.gz: f6d3e470160b9fbfbaf48a9d50480869ca6f472fa65b0193aca9dd32692ca43284a5c0e035334602358430d50517e4a684522ddf0dcaf52306789064be96d704
|
data/app/models/identity.rb
CHANGED
@@ -7,3 +7,17 @@ class Identity < ActiveRecord::Base
|
|
7
7
|
where(name: auth.uid, provider: auth.provider).first_or_create
|
8
8
|
end
|
9
9
|
end
|
10
|
+
|
11
|
+
# == Schema Information
|
12
|
+
#
|
13
|
+
# Table name: identities
|
14
|
+
#
|
15
|
+
# id :integer not null, primary key
|
16
|
+
# name :string
|
17
|
+
# email :string
|
18
|
+
# password_digest :string
|
19
|
+
# profile_id :integer
|
20
|
+
# created_at :datetime not null
|
21
|
+
# updated_at :datetime not null
|
22
|
+
# provider :string
|
23
|
+
#
|
data/app/models/profile.rb
CHANGED
@@ -94,8 +94,6 @@ end
|
|
94
94
|
# checkout_icalendar_token :string
|
95
95
|
# save_checkout_history :boolean default(FALSE), not null
|
96
96
|
# expired_at :datetime
|
97
|
-
# save_search_history :boolean
|
98
|
-
# share_bookmarks :boolean
|
99
97
|
# full_name_transcription :text
|
100
98
|
# date_of_birth :datetime
|
101
99
|
#
|
data/lib/enju_seed/version.rb
CHANGED
@@ -2,10 +2,3 @@
|
|
2
2
|
# task :enju_seed do
|
3
3
|
# # Task goes here
|
4
4
|
# end
|
5
|
-
namespace :enju_seed do
|
6
|
-
desc "upgrade enju_seed"
|
7
|
-
task :upgrade => :environment do
|
8
|
-
Rake::Task['statesman:backfill_most_recent'].invoke('UserExportFile')
|
9
|
-
Rake::Task['statesman:backfill_most_recent'].invoke('UserImportFile')
|
10
|
-
end
|
11
|
-
end
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -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:
|
14
|
+
ActiveRecord::Schema.define(version: 20160813130535) do
|
15
15
|
|
16
16
|
create_table "accepts", force: :cascade do |t|
|
17
17
|
t.integer "basket_id"
|
@@ -601,6 +601,7 @@ ActiveRecord::Schema.define(version: 20160703190209) do
|
|
601
601
|
t.string "url", default: "http://localhost:3000/"
|
602
602
|
t.text "settings"
|
603
603
|
t.text "html_snippet"
|
604
|
+
t.string "email"
|
604
605
|
end
|
605
606
|
|
606
607
|
add_index "library_groups", ["short_name"], name: "index_library_groups_on_short_name"
|
data/spec/fixtures/profiles.yml
CHANGED
@@ -96,8 +96,6 @@ user4:
|
|
96
96
|
# checkout_icalendar_token :string
|
97
97
|
# save_checkout_history :boolean default(FALSE), not null
|
98
98
|
# expired_at :datetime
|
99
|
-
# save_search_history :boolean
|
100
|
-
# share_bookmarks :boolean
|
101
99
|
# full_name_transcription :text
|
102
100
|
# date_of_birth :datetime
|
103
101
|
#
|
data/spec/models/profile_spec.rb
CHANGED
@@ -91,8 +91,6 @@ end
|
|
91
91
|
# checkout_icalendar_token :string
|
92
92
|
# save_checkout_history :boolean default(FALSE), not null
|
93
93
|
# expired_at :datetime
|
94
|
-
# save_search_history :boolean
|
95
|
-
# share_bookmarks :boolean
|
96
94
|
# full_name_transcription :text
|
97
95
|
# date_of_birth :datetime
|
98
96
|
#
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_seed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.beta.
|
4
|
+
version: 0.2.0.beta.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
@@ -276,6 +276,34 @@ dependencies:
|
|
276
276
|
- - "~>"
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: 1.2.0.beta.2
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: globalize
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: globalize-accessors
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - ">="
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '0'
|
300
|
+
type: :development
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - ">="
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0'
|
279
307
|
- !ruby/object:Gem::Dependency
|
280
308
|
name: sqlite3
|
281
309
|
requirement: !ruby/object:Gem::Requirement
|
@@ -653,6 +681,7 @@ files:
|
|
653
681
|
- spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb
|
654
682
|
- spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb
|
655
683
|
- spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb
|
684
|
+
- spec/dummy/db/migrate/20160813130535_add_email_to_library_group.rb
|
656
685
|
- spec/dummy/db/schema.rb
|
657
686
|
- spec/dummy/public/404.html
|
658
687
|
- spec/dummy/public/422.html
|
@@ -931,6 +960,7 @@ test_files:
|
|
931
960
|
- spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb
|
932
961
|
- spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb
|
933
962
|
- spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb
|
963
|
+
- spec/dummy/db/migrate/20160813130535_add_email_to_library_group.rb
|
934
964
|
- spec/dummy/db/schema.rb
|
935
965
|
- spec/dummy/public/404.html
|
936
966
|
- spec/dummy/public/422.html
|