infopark_fiona_connector 7.0.1.5.2.3.rc8 → 7.0.1.5.2.7.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -73,6 +73,11 @@ module RailsConnector
73
73
  end
74
74
  end
75
75
 
76
+ def self.reinitialize_attributes
77
+ reset_obj_class_def
78
+ initialize_attributes
79
+ end
80
+
76
81
  def self.delegate_attributes
77
82
  PREDEFINED_ATTRIBUTES.each do |attribute|
78
83
  delegate attribute, to: :attr_dict
@@ -502,18 +507,6 @@ module RailsConnector
502
507
  @mime_type ||= compute_mime_type
503
508
  end
504
509
 
505
- def respond_to?(method_id, include_private = false)
506
- if super
507
- true
508
- elsif %w(_attr_dict _attr_defs _attr_values).include?(method_id.to_s)
509
- # prevent infinite recursion when calling "attr_*" below,
510
- # since rails checks the absence of an "_attr_*" method internally
511
- false
512
- else
513
- attr_dict.respond_to?(method_id)
514
- end
515
- end
516
-
517
510
  private
518
511
 
519
512
  def fiona_fields
@@ -2,8 +2,6 @@ require "rails"
2
2
  require "active_record/railtie"
3
3
  require "action_view"
4
4
 
5
- require "jquery-rails"
6
-
7
5
  require "rails_connector/configuration"
8
6
 
9
7
  module ::RailsConnector
@@ -133,6 +133,10 @@ module RailsConnector
133
133
  end
134
134
  alias_method :obj_class_def, :obj_class_definition
135
135
 
136
+ def reset_obj_class_def
137
+ @obj_class_definition = nil
138
+ end
139
+
136
140
  # RailsConnector::AbstractObj returns false, everything else true.
137
141
  # TODO: RailsConnector::AbstractObj does not exist here
138
142
  def is_custom_ruby_class?
data/lib/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module RailsConnector
2
2
  module Version
3
3
  def self.get
4
- "7.0.1.5.2.3.rc8"
4
+ "7.0.1.5.2.7.rc1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_fiona_connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.1.5.2.3.rc8
4
+ version: 7.0.1.5.2.7.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Infopark AG
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-21 00:00:00.000000000 Z
11
+ date: 2022-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -80,20 +80,6 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.7'
83
- - !ruby/object:Gem::Dependency
84
- name: jquery-rails
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '4.3'
90
- type: :runtime
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '4.3'
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: mime-types
99
85
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +100,14 @@ dependencies:
114
100
  requirements:
115
101
  - - "~>"
116
102
  - !ruby/object:Gem::Version
117
- version: '2.3'
103
+ version: '2.5'
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
108
  - - "~>"
123
109
  - !ruby/object:Gem::Version
124
- version: '2.3'
110
+ version: '2.5'
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: rsolr
127
113
  requirement: !ruby/object:Gem::Requirement
@@ -255,7 +241,7 @@ homepage: http://www.infopark.de
255
241
  licenses:
256
242
  - LGPL-3.0
257
243
  metadata: {}
258
- post_install_message:
244
+ post_install_message:
259
245
  rdoc_options: []
260
246
  require_paths:
261
247
  - lib
@@ -270,8 +256,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
256
  - !ruby/object:Gem::Version
271
257
  version: 1.3.5
272
258
  requirements: []
273
- rubygems_version: 3.0.3
274
- signing_key:
259
+ rubygems_version: 3.1.6
260
+ signing_key:
275
261
  specification_version: 4
276
262
  summary: Infopark Fiona Connector
277
263
  test_files: []