We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f9802f commit 03c7157Copy full SHA for 03c7157
lib/redmine_git_hosting/patches/user_patch.rb
@@ -29,7 +29,7 @@ def gitolite_identifier
29
end
30
31
def gitolite_projects
32
- projects.uniq.select { |p| p.gitolite_repos.any? }
+ projects.select { |p| p.gitolite_repos.any? }
33
34
35
# Syntaxic sugar
lib/redmine_git_hosting/redmine_plugin_loader.rb
@@ -103,7 +103,7 @@ def load_plugin!
103
def load_setting_file(file)
104
return {} unless File.exist? file
105
106
- data = YAML.safe_load(ERB.new(IO.read(file)).result) || {}
+ data = YAML.safe_load(ERB.new(File.read(file)).result) || {}
107
data.symbolize_keys
108
109
0 commit comments