redmine_extensions 0.1.03 → 0.1.04

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: ffb4e16f5925947a87057aacf2786a5cd4ac2b98
4
- data.tar.gz: 75267b72cbedc5aa0ee3e3697e89563829f77f50
3
+ metadata.gz: 91db9f8871e2bd980dcfd0ade7540b9506ba2f63
4
+ data.tar.gz: 8941936776dc0c4bdfafa8017fdd48685f2d3e8c
5
5
  SHA512:
6
- metadata.gz: ed94dc338cef9cfc372bd735f7429d2e355e7c6366b4d10342a9b7e73cbc1d0cf3f205e2083c108b73011ebc202f3cde990d513f0a96fdee5e32bf279d7aee83
7
- data.tar.gz: 4e27aa88aae933f293114ecf95017ffe289ef8a9d8cf2dad47091fd89509d0fec0dc0744ec18f0e2a510a5741c6f5d2ca57739939afa160809b7c6c45cfdc0b3
6
+ metadata.gz: 6a6d4453f052613fa10c42059d40b3c41913915811cdcc5f251c25e0779b2073ec48e4f2d9a2124d83f2cfa508063ee87d6574bf5d18386c6c13ef2773ad24f1
7
+ data.tar.gz: 5e9f37b10d63761c6e68538eb51823e0223d833929fc1b8e7da187797eef8c9414e2cacd4b48df8d090e97b2644a02aa1e8e33dc3fb817549b3a2eb12f1feda9
@@ -26,7 +26,7 @@ class EasyQueryAdapterPresenter < RedmineExtensions::BasePresenter
26
26
  end
27
27
 
28
28
  def available_outputs
29
- outputs.available_outputs
29
+ outputs.available_output_names
30
30
  end
31
31
 
32
32
  def outputs
@@ -40,7 +40,6 @@ module RedmineExtensions
40
40
  def copy_templates
41
41
  template '_form.html.erb.erb', "#{plugin_path}/app/views/#{model_name_pluralize_underscored}/_form.html.erb"
42
42
  template '_sidebar.html.erb.erb', "#{plugin_path}/app/views/#{model_name_pluralize_underscored}/_sidebar.html.erb"
43
- template '_view_custom_fields_form_custom_field.html.erb.erb', "#{plugin_path}/app/views/custom_fields/_view_custom_fields_form_#{model_name_underscored}_custom_field.html.erb"
44
43
  template 'context_menu.html.erb.erb', "#{plugin_path}/app/views/#{model_name_pluralize_underscored}/context_menu.html.erb"
45
44
  template 'controller.rb.erb', "#{plugin_path}/app/controllers/#{model_name_pluralize_underscored}_controller.rb"
46
45
  template('custom_field.rb.erb', "#{plugin_path}/app/models/#{model_name_underscored}_custom_field.rb") if acts_as_customizable?
@@ -1,7 +1,5 @@
1
1
  module <%= plugin_title %>
2
2
  class <%= model_name %>Hooks < Redmine::Hook::ViewListener
3
3
 
4
- render_on :view_custom_fields_form_<%= model_name_underscored %>_custom_field, partial: 'custom_fields/view_custom_fields_form_<%= model_name_underscored %>_custom_field'
5
-
6
4
  end
7
5
  end
@@ -9,7 +9,7 @@ module RedmineExtensions
9
9
  end
10
10
 
11
11
  def self.registered_outputs
12
- @registered_outputs ||= {}
12
+ @@registered_outputs ||= {}
13
13
  end
14
14
 
15
15
  def self.available_outputs_for(query)
@@ -1,3 +1,3 @@
1
1
  module RedmineExtensions
2
- VERSION = '0.1.03'
2
+ VERSION = '0.1.04'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redmine_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.03
4
+ version: 0.1.04
5
5
  platform: ruby
6
6
  authors:
7
7
  - Easy Software Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-24 00:00:00.000000000 Z
11
+ date: 2016-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -133,7 +133,6 @@ files:
133
133
  - lib/generators/redmine_extensions/entity/entity_generator.rb
134
134
  - lib/generators/redmine_extensions/entity/templates/_form.html.erb.erb
135
135
  - lib/generators/redmine_extensions/entity/templates/_sidebar.html.erb.erb
136
- - lib/generators/redmine_extensions/entity/templates/_view_custom_fields_form_custom_field.html.erb.erb
137
136
  - lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb
138
137
  - lib/generators/redmine_extensions/entity/templates/controller.rb.erb
139
138
  - lib/generators/redmine_extensions/entity/templates/custom_field.rb.erb
@@ -1 +0,0 @@
1
- <p><%%= form.check_box :is_filter %></p>