enju_circulation 0.2.0.beta.1 → 0.2.0.beta.2

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: 76931b397c6efb20ca7b30e45790da3176301176
4
- data.tar.gz: 6dc563892fd9c87b2a48c285e70d7147bf717e61
3
+ metadata.gz: fb81a7452f8b4d3017732b57a7a802c7ba0e6ffd
4
+ data.tar.gz: 57749c399e58ad00e38067f4bfa0ff9798d4a2e0
5
5
  SHA512:
6
- metadata.gz: 62c3010af156051a9fb7e6a6942f3d6182d39621384b17de63aa220db79e19c4eb713f17e77c10dfa8d497b9fe5cc833a5846f2a795bcf592ca0432560faaddf
7
- data.tar.gz: c9237be4e65c3921626149ed8f4b8cd2a0d3a0d1681a1fb6821b802181e84b76d44f027017e428668df53654cdac44df46e829663fc0345b5299f5376d1ef5dd
6
+ metadata.gz: 808f55934861c02b251a87902256eb672132673c6d408f8d1e1bbcc425215eee041a044e0b85779a958603d366fb8551a6d6414d1cc05281279baa25294b2576
7
+ data.tar.gz: b20e422fdfaee111343e7ea781b55d5144536ad9c8bd39c68336247efc230bb619d417985ba34587bed626330961e92e55514cdb33f7dd2f840c6607b1c10242
@@ -1,4 +1,4 @@
1
- require "enju_leaf"
1
+ require "enju_biblio"
2
2
  require "enju_event"
3
3
 
4
4
  module EnjuCirculation
@@ -1,3 +1,3 @@
1
1
  module EnjuCirculation
2
- VERSION = "0.2.0.beta.1"
2
+ VERSION = "0.2.0.beta.2"
3
3
  end
@@ -1,9 +1,8 @@
1
1
  class ApplicationController < ActionController::Base
2
2
  protect_from_forgery
3
3
 
4
- include EnjuLeaf::Controller
5
- include EnjuBiblio::Controller
6
4
  include EnjuLibrary::Controller
5
+ include EnjuBiblio::Controller
7
6
  include EnjuCirculation::Controller
8
7
  before_action :set_paper_trail_whodunnit
9
8
  after_action :verify_authorized
@@ -0,0 +1,9 @@
1
+ class AddMostRecentToMessageTransitions < ActiveRecord::Migration
2
+ def up
3
+ add_column :message_transitions, :most_recent, :boolean, null: true
4
+ end
5
+
6
+ def down
7
+ remove_column :message_transitions, :most_recent
8
+ end
9
+ end
@@ -886,11 +886,12 @@ ActiveRecord::Schema.define(version: 20160703190209) do
886
886
 
887
887
  create_table "message_transitions", force: :cascade do |t|
888
888
  t.string "to_state"
889
- t.text "metadata", default: "{}"
889
+ t.text "metadata", default: "{}"
890
890
  t.integer "sort_key"
891
891
  t.integer "message_id"
892
892
  t.datetime "created_at"
893
893
  t.datetime "updated_at"
894
+ t.boolean "most_recent"
894
895
  end
895
896
 
896
897
  add_index "message_transitions", ["message_id"], name: "index_message_transitions_on_message_id"
metadata CHANGED
@@ -1,99 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_circulation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.beta.1
4
+ version: 0.2.0.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-31 00:00:00.000000000 Z
11
+ date: 2016-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: enju_event
14
+ name: enju_biblio
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.0.beta.1
19
+ version: 0.2.0.beta.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.0.beta.1
27
- - !ruby/object:Gem::Dependency
28
- name: cocoon
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: 0.2.0.beta.2
41
27
  - !ruby/object:Gem::Dependency
42
- name: enju_leaf
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: 1.2.0.beta.1
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: 1.2.0.beta.1
55
- - !ruby/object:Gem::Dependency
56
- name: enju_library
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: 0.2.0.beta.1
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 0.2.0.beta.1
69
- - !ruby/object:Gem::Dependency
70
- name: enju_biblio
28
+ name: enju_event
71
29
  requirement: !ruby/object:Gem::Requirement
72
30
  requirements:
73
31
  - - "~>"
74
32
  - !ruby/object:Gem::Version
75
- version: 0.2.0.beta.1
76
- type: :development
33
+ version: 0.2.0.beta.2
34
+ type: :runtime
77
35
  prerelease: false
78
36
  version_requirements: !ruby/object:Gem::Requirement
79
37
  requirements:
80
38
  - - "~>"
81
39
  - !ruby/object:Gem::Version
82
- version: 0.2.0.beta.1
40
+ version: 0.2.0.beta.2
83
41
  - !ruby/object:Gem::Dependency
84
- name: enju_manifestation_viewer
42
+ name: enju_leaf
85
43
  requirement: !ruby/object:Gem::Requirement
86
44
  requirements:
87
45
  - - "~>"
88
46
  - !ruby/object:Gem::Version
89
- version: 0.2.0.beta.1
47
+ version: 1.2.0.beta.2
90
48
  type: :development
91
49
  prerelease: false
92
50
  version_requirements: !ruby/object:Gem::Requirement
93
51
  requirements:
94
52
  - - "~>"
95
53
  - !ruby/object:Gem::Version
96
- version: 0.2.0.beta.1
54
+ version: 1.2.0.beta.2
97
55
  - !ruby/object:Gem::Dependency
98
56
  name: sqlite3
99
57
  requirement: !ruby/object:Gem::Requirement
@@ -756,6 +714,7 @@ files:
756
714
  - spec/dummy/db/migrate/20150924115059_create_withdraws.rb
757
715
  - spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
758
716
  - spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb
717
+ - spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb
759
718
  - spec/dummy/db/schema.rb
760
719
  - spec/dummy/public/404.html
761
720
  - spec/dummy/public/422.html
@@ -1094,6 +1053,7 @@ test_files:
1094
1053
  - spec/dummy/db/migrate/20150924115059_create_withdraws.rb
1095
1054
  - spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
1096
1055
  - spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb
1056
+ - spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb
1097
1057
  - spec/dummy/db/schema.rb
1098
1058
  - spec/dummy/public/404.html
1099
1059
  - spec/dummy/public/422.html