active_scaffold 3.4.25 → 3.4.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ee6cc12616f927c3500f0da84efc6ccbf7f60bf
4
- data.tar.gz: c4f7d12b9993f732eab7632b61b37fa36b1ac5c0
3
+ metadata.gz: 6e391ff964c183c36df4416f85b6c0d1466a44a9
4
+ data.tar.gz: a5b83b15499bb227ecb459381ca02b421261b383
5
5
  SHA512:
6
- metadata.gz: 6b1177b6f0c4875ef0353058e0187313f390420f940a2471b8139ad46e244f0f0daeae6fce320dc5e1e9b82abd9056fc7c7b6088606836a28603db76b98fcf34
7
- data.tar.gz: ef249a6e53a32b40d7dbaa807d5611bf576e3950c76f0ee50d3465fd30e78d1c19f23c7fbd97f179a64ccfa4074d4c04a070efe9f2f932193d1c0da3d0098c53
6
+ metadata.gz: f85596592ba07b109e8d645c124a409e610b94df3b47495411e0ff2419a80fbcb617668b1c8029ef8e30f74b224c3a94de684bd390d171ea4848f4e698fdec15
7
+ data.tar.gz: a8645b27cd94fed33c84d8ffd5ef5073f5ea9e99e8cf27430a1bd6ea798e6679b1444f9cc3fd8e5f2f1c51d7a0ef8a11907c723ba31a813a8cbc3d2d1595c4c1
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ = 3.4.26
2
+ - fix padding for dynamic action_group inside action_group
3
+ - fix using gem with symlink in BUNDLE_PATH option of config/bundle file
4
+
5
+ = 3.4.25
1
6
  - call focus_first_element after highlight and trigger element_created
2
7
  - fix restoring focus to element which triggers update column
3
8
 
File without changes
@@ -79,7 +79,7 @@ padding: 5px 5px;
79
79
  margin-left: 0px;
80
80
  }
81
81
 
82
- .active-scaffold .active-scaffold .active-scaffold-header div.actions .action_group > a,
82
+ .active-scaffold .active-scaffold .active-scaffold-header div.actions > .action_group > a,
83
83
  .active-scaffold .active-scaffold .active-scaffold-header div.actions > a {
84
84
  padding: 1px 5px;
85
85
  }
@@ -135,7 +135,7 @@ module ActiveScaffold
135
135
  end
136
136
 
137
137
  def add_active_scaffold_path(path)
138
- as_path = File.join(ActiveScaffold::Config::Core.plugin_directory, 'app', 'views')
138
+ as_path = File.realpath File.join(ActiveScaffold::Config::Core.plugin_directory, 'app', 'views')
139
139
  index = view_paths.find_index { |p| p.to_s == as_path }
140
140
  if index
141
141
  self.view_paths = view_paths[0..index - 1] + Array(path) + view_paths[index..-1]
@@ -112,4 +112,4 @@ end
112
112
 
113
113
  ActiveRecord::Reflection::AssociationReflection.send :include, ActiveScaffold::ReverseAssociation::AssociationReflection
114
114
  ActiveRecord::Reflection::ThroughReflection.send :include, ActiveScaffold::ReverseAssociation::ThroughReflection
115
- ActiveRecord::Associations::ThroughAssociation.send :include, ActiveScaffold::ReverseAssociation::ThroughAssociation
115
+ ActiveRecord::Associations::ThroughAssociation.send :include, ActiveScaffold::ReverseAssociation::ThroughAssociation
@@ -26,12 +26,12 @@ module ActiveScaffold
26
26
  end
27
27
 
28
28
  def active_scaffold_show_horizontal(record, column)
29
- raise ":horizontal show_ui must be used on association column" unless column.association
29
+ raise ':horizontal show_ui must be used on association column' unless column.association
30
30
  render :partial => 'show_association', :locals => {:column => column, :parent_record => record, :show_partial => :horizontal}
31
31
  end
32
32
 
33
33
  def active_scaffold_show_vertical(record, column)
34
- raise ":vertical show_ui must be used on association column" unless column.association
34
+ raise ':vertical show_ui must be used on association column' unless column.association
35
35
  render :partial => 'show_association', :locals => {:column => column, :parent_record => record, :show_partial => :vertical}
36
36
  end
37
37
 
@@ -2,7 +2,7 @@ module ActiveScaffold
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 4
5
- PATCH = 25
5
+ PATCH = 26
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
data/test/company.rb CHANGED
@@ -82,6 +82,7 @@ class Company < ActiveRecord::Base
82
82
  def name_before_type_cast
83
83
  name.to_s
84
84
  end
85
+
85
86
  def name_came_from_user?; end
86
87
 
87
88
  def date
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.25
4
+ version: 3.4.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Many, see README
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-05 00:00:00.000000000 Z
11
+ date: 2015-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: brakeman
@@ -97,7 +97,7 @@ extra_rdoc_files:
97
97
  - README.md
98
98
  files:
99
99
  - CHANGELOG
100
- - MIT-LICENSE
100
+ - LICENSE
101
101
  - README.md
102
102
  - app/assets/images/active_scaffold/add.png
103
103
  - app/assets/images/active_scaffold/arrow_down.png