enju_search_log 0.1.0.pre11 → 0.1.0.pre12

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: 67ad23b0845731641f40fe61bd33e3ceae7974a4
4
- data.tar.gz: 51af32dda15f829f25f9e468aae5e3142ad5a8ed
3
+ metadata.gz: 1a040a927d747fda53024fecd65258c4d2a24d4a
4
+ data.tar.gz: 3e8d42cfee6d03c394409c99baf1fcb07ba423a0
5
5
  SHA512:
6
- metadata.gz: 46d6d040dca2b014999e8980bc26f2beff2225499c04402a1d6c55fa05e35cc7c620e7c53678baf5e7f3bd77090aecac19ce7cea5bda83464aba18761065c550
7
- data.tar.gz: c4adee1969902b21f73c1b5fc8d88bfe8e63839ee0f0e3bec8800f1d56de629864a372de679e67695c40bb96fc9f1d1f87028637d89f70f718c79726ba6d4e0c
6
+ metadata.gz: 721d00dee283b34e335c7652a3a94b538c3c2ce3de65d0633291f6313107908e12e6659f16cfd8cf05b3963fe40a8fd1c8eecc6cc686ec0c947a08ef2a14fd08
7
+ data.tar.gz: 256afbba531cd6b6f36e69b30f75b0b0c623cb018b22147729776179982f805ab7ac02091bcc2bd176a628f15c6a4294e42d921f77a63996bb948fbcaacd65a0
@@ -14,7 +14,7 @@ module EnjuSearchLog
14
14
  module InstanceMethods
15
15
  def save_history(query, offset = 0, total = 0, format = nil)
16
16
  return nil unless self.save_search_history
17
- if Setting.write_search_log_to_file
17
+ if LibraryGroup.site_config.settings[:write_search_log_to_file]
18
18
  write_search_log(query, total, username, format)
19
19
  else
20
20
  history = SearchHistory.new(query: query, start_record: offset + 1, maximum_records: nil, number_of_records: total)
@@ -1,3 +1,3 @@
1
1
  module EnjuSearchLog
2
- VERSION = "0.1.0.pre11"
2
+ VERSION = "0.1.0.pre12"
3
3
  end
@@ -1,9 +1,13 @@
1
- // This is a manifest file that'll be compiled into including all the files listed below.
2
- // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
- // be included in the compiled file accessible from http://example.com/assets/application.js
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
+ //
4
7
  // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
- // the compiled file.
8
+ // compiled file.
9
+ //
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
6
12
  //
7
- //= require jquery
8
- //= require jquery_ujs
9
13
  //= require_tree .
@@ -0,0 +1,5 @@
1
+ class AddSettingsToLibraryGroup < ActiveRecord::Migration
2
+ def change
3
+ add_column :library_groups, :settings, :text
4
+ end
5
+ end
@@ -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: 20141003182825) do
14
+ ActiveRecord::Schema.define(version: 20150221063719) do
15
15
 
16
16
  create_table "accepts", force: true do |t|
17
17
  t.integer "basket_id"
@@ -111,6 +111,7 @@ ActiveRecord::Schema.define(version: 20141003182825) do
111
111
  t.datetime "updated_at"
112
112
  t.text "admin_networks"
113
113
  t.string "url", default: "http://localhost:3000/"
114
+ t.text "settings"
114
115
  end
115
116
 
116
117
  add_index "library_groups", ["short_name"], name: "index_library_groups_on_short_name"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_search_log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre11
4
+ version: 0.1.0.pre12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-12 00:00:00.000000000 Z
11
+ date: 2015-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_biblio
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.0.pre64
19
+ version: 0.1.0.pre71
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.1.0.pre64
26
+ version: 0.1.0.pre71
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sqlite3
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: mysql2
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 0.3.20
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: 0.3.20
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pg
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.2'
75
+ version: '3.3'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '3.2'
82
+ version: '3.3'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: factory_girl_rails
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.1.0.rc17
103
+ version: 1.1.0.rc22
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.1.0.rc17
110
+ version: 1.1.0.rc22
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: annotate
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -150,6 +150,20 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: appraisal
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
153
167
  description: Search log management for Next-L Enju
154
168
  email:
155
169
  - nabeta@fastmail.fm
@@ -190,7 +204,6 @@ files:
190
204
  - spec/dummy/app/controllers/application_controller.rb
191
205
  - spec/dummy/app/helpers/application_helper.rb
192
206
  - spec/dummy/app/models/ability.rb
193
- - spec/dummy/app/models/setting.rb
194
207
  - spec/dummy/app/models/user.rb
195
208
  - spec/dummy/app/views/layouts/application.html.erb
196
209
  - spec/dummy/bin/bundle
@@ -254,6 +267,7 @@ files:
254
267
  - spec/dummy/db/migrate/20140821151023_create_colors.rb
255
268
  - spec/dummy/db/migrate/20141003181336_add_full_name_transcription_to_profile.rb
256
269
  - spec/dummy/db/migrate/20141003182825_add_date_of_birth_to_profile.rb
270
+ - spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
257
271
  - spec/dummy/db/schema.rb
258
272
  - spec/dummy/public/404.html
259
273
  - spec/dummy/public/422.html
@@ -288,7 +302,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
302
  version: 1.3.1
289
303
  requirements: []
290
304
  rubyforge_project:
291
- rubygems_version: 2.4.5
305
+ rubygems_version: 2.4.5.1
292
306
  signing_key:
293
307
  specification_version: 4
294
308
  summary: enju_search_log plugin
@@ -299,7 +313,6 @@ test_files:
299
313
  - spec/dummy/app/controllers/application_controller.rb
300
314
  - spec/dummy/app/helpers/application_helper.rb
301
315
  - spec/dummy/app/models/ability.rb
302
- - spec/dummy/app/models/setting.rb
303
316
  - spec/dummy/app/models/user.rb
304
317
  - spec/dummy/app/views/layouts/application.html.erb
305
318
  - spec/dummy/bin/bundle
@@ -363,6 +376,7 @@ test_files:
363
376
  - spec/dummy/db/migrate/20140821151023_create_colors.rb
364
377
  - spec/dummy/db/migrate/20141003181336_add_full_name_transcription_to_profile.rb
365
378
  - spec/dummy/db/migrate/20141003182825_add_date_of_birth_to_profile.rb
379
+ - spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
366
380
  - spec/dummy/db/schema.rb
367
381
  - spec/dummy/public/404.html
368
382
  - spec/dummy/public/422.html
@@ -1,4 +0,0 @@
1
- class Setting < Settingslogic
2
- source "#{Rails.root}/config/application.yml"
3
- namespace Rails.env
4
- end