Commit 97fc4079 by Tấn Trần Thanh

gemfile, gemfile.lock and unloadable

parent 4ba9727d
Pipeline #1575 failed with stages
in 0 seconds
......@@ -14,7 +14,7 @@ gem "protected_attributes"
gem "actionpack-xml_parser"
gem "roadie-rails", "~> 1.1.1"
gem "roadie", "~> 3.2.1"
gem "mimemagic"
gem 'mimemagic', '~> 0.4.3'
gem "nokogiri", (RUBY_VERSION >= "2.1" ? "~> 1.7.2" : "~> 1.6.8")
gem "i18n", "~> 0.7.0"
......
......@@ -40,6 +40,7 @@ GEM
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
arel (6.0.4)
ast (2.4.2)
builder (3.2.3)
byebug (9.1.0)
capybara (1.1.4)
......@@ -56,17 +57,30 @@ GEM
crass (1.0.3)
css_parser (1.6.0)
addressable
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
docile (1.1.5)
erubis (2.7.0)
faraday (0.17.6)
multipart-post (>= 1.2, < 3)
ffi (1.9.18)
github_api (0.19.0)
addressable (~> 2.4)
descendants_tracker (~> 0.0.4)
faraday (>= 0.8, < 2)
hashie (~> 3.5, >= 3.5.2)
oauth2 (~> 1.0)
globalid (0.4.1)
activesupport (>= 4.2.0)
hashie (3.6.0)
htmlentities (4.3.4)
httpclient (2.8.3)
i18n (0.7.0)
jaro_winkler (1.5.4)
jquery-rails (3.1.4)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jwt (2.3.0)
liquid (2.6.3)
loofah (2.1.1)
crass (~> 1.0.2)
......@@ -77,17 +91,30 @@ GEM
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mimemagic (0.3.2)
mimemagic (0.4.3)
nokogiri (~> 1)
rake
mini_mime (1.0.0)
mini_portile2 (2.1.0)
minitest (5.11.1)
mocha (1.3.0)
metaclass (~> 0.0.1)
multi_json (1.13.0)
multi_xml (0.6.0)
multipart-post (2.3.0)
mysql2 (0.4.10)
net-ldap (0.12.1)
nokogiri (1.7.2)
mini_portile2 (~> 2.1.0)
oauth2 (1.4.11)
faraday (>= 0.17.3, < 3.0)
jwt (>= 1.0, < 3.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 4)
parallel (1.19.2)
parser (3.2.2.0)
ast (~> 2.4.1)
protected_attributes (1.1.4)
activemodel (>= 4.0.1, < 5.0)
public_suffix (3.0.1)
......@@ -121,6 +148,7 @@ GEM
activesupport (= 4.2.8)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rainbow (3.1.1)
rake (12.3.0)
rbpdf (1.19.3)
htmlentities
......@@ -135,6 +163,7 @@ GEM
actionpack (>= 4.2, < 6)
rails (>= 4.2, < 6)
request_store (1.0.5)
rexml (3.2.5)
rmagick (2.16.0)
roadie (3.2.2)
css_parser (~> 1.4)
......@@ -142,7 +171,18 @@ GEM
roadie-rails (1.1.1)
railties (>= 3.0, < 5.1)
roadie (~> 3.1)
rubocop (0.81.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.7.0.1)
rainbow (>= 2.2.2, < 4.0)
rexml
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 2.0)
rubocop-performance (1.5.2)
rubocop (>= 0.71.0)
ruby-openid (2.3.0)
ruby-progressbar (1.13.0)
rubyzip (1.2.1)
selenium-webdriver (2.53.4)
childprocess (~> 0.5)
......@@ -153,6 +193,13 @@ GEM
multi_json (~> 1.0)
simplecov-html (~> 0.9.0)
simplecov-html (0.9.0)
slim (4.1.0)
temple (>= 0.7.6, < 0.9)
tilt (>= 2.0.6, < 2.1)
slim-rails (3.6.2)
actionpack (>= 3.1)
railties (>= 3.1)
slim (>= 3.0, < 6.0, != 5.0.0)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
......@@ -160,12 +207,18 @@ GEM
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
temple (0.8.2)
test_after_commit (0.4.2)
activerecord (>= 3.2)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.11)
tzinfo (1.2.4)
thread_safe (~> 0.1)
unicode-display_width (1.8.0)
validate_url (1.0.15)
activemodel (>= 3.0.0)
public_suffix
websocket (1.2.5)
xpath (0.1.4)
nokogiri (~> 1.3)
......@@ -176,19 +229,25 @@ PLATFORMS
DEPENDENCIES
actionpack-xml_parser
addressable (~> 2.5, >= 2.5.2)
byebug (~> 9.0, >= 9.0.6)
capybara
coderay (~> 1.1.1)
descendants_tracker (~> 0.0.4)
faraday (~> 0.17.6)
github_api (~> 0.19.0)
hashie (~> 3.5, >= 3.5.7)
httpclient
i18n (~> 0.7.0)
jquery-rails (~> 3.1.4)
mime-types (~> 3.0)
mimemagic
mimemagic (~> 0.4.3)
minitest
mocha
mysql2 (~> 0.4.6)
net-ldap (~> 0.12.0)
nokogiri (~> 1.7.2)
oauth2 (~> 1.2)
protected_attributes
rack-openid
rails (= 4.2.8)
......@@ -203,11 +262,15 @@ DEPENDENCIES
rmagick (>= 2.14.0)
roadie (~> 3.2.1)
roadie-rails (~> 1.1.1)
rubocop
rubocop-performance
ruby-openid (~> 2.3.0)
selenium-webdriver (~> 2.53.4)
simplecov (~> 0.9.1)
slim-rails
test_after_commit (~> 0.4.2)
tzinfo-data
validate_url
yard
BUNDLED WITH
......
# Sample plugin controller
class ExampleController < ApplicationController
unloadable
# unloadable
layout 'base'
before_action :find_project, :authorize
......
class <%= @controller_class %>Controller < ApplicationController
unloadable
# unloadable
<% actions.each do |action| -%>
......
class <%= @model_class %> < ActiveRecord::Base
unloadable
# unloadable
end
......@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileBoardsController < ApplicationController
unloadable
# unloadable
menu_item :agile
......
......@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileChartsController < ApplicationController
unloadable
# unloadable
menu_item :agile
......
......@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileJournalDetailsController < ApplicationController
unloadable
# unloadable
before_filter :find_issue
......
......@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileVersionsController < ApplicationController
unloadable
# unloadable
menu_item :agile
......
......@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileChartsQuery < AgileQuery
unloadable
# unloadable
validate :validate_query_dates
......
......@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileData < ActiveRecord::Base
unloadable
# unloadable
belongs_to :issue
validates :story_points, :numericality => {:only_integer => true, :greater_than_or_equal_to => 0, :allow_nil => true, :message => :invalid}
end
......@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileQuery < Query
unloadable
# unloadable
attr_reader :truncated
......
# This file is a part of Redmin Agile (redmine_agile) plugin,
# Agile board plugin for redmine
#
# Copyright (C) 2011-2017 RedmineUP
# http://www.redmineup.com/
#
# redmine_agile is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# redmine_agile is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
# This file is a part of Redmin Agile (redmine_agile) plugin,
# Agile board plugin for redmine
#
# Copyright (C) 2011-2017 RedmineUP
# http://www.redmineup.com/
#
# redmine_agile is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# redmine_agile is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileQuery < Query
unloadable
# unloadable
VISIBILITY_PRIVATE = 0
VISIBILITY_ROLES = 1
......
......@@ -27,7 +27,7 @@ module RedmineAgile
def self.included(base)
base.send(:include, InstanceMethods)
base.class_eval do
unloadable
# unloadable
has_one :agile_data, :dependent => :destroy
delegate :position, :to => :agile_data, :allow_nil => true
scope :sorted_by_rank, lambda {eager_load(:agile_data).
......
......@@ -23,7 +23,7 @@ module RedmineAgile
module ProjectPatch
def self.included(base)
base.class_eval do
unloadable
# unloadable
acts_as_colored
safe_attributes 'agile_color_attributes',
:if => lambda {|project, user| user.allowed_to?(:edit_project, project) && user.allowed_to?(:view_agile_queries, project) && RedmineAgile.use_colors?}
......
......@@ -23,7 +23,7 @@ module RedmineAgile
module UserPatch
def self.included(base)
base.class_eval do
unloadable
# unloadable
acts_as_colored
safe_attributes 'agile_color_attributes',
:if => lambda {|user, current_user| (current_user.admin? || (user.new_record? && current_user.anonymous? && Setting.self_registration?)) && RedmineAgile.use_colors? }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment