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" ...@@ -14,7 +14,7 @@ gem "protected_attributes"
gem "actionpack-xml_parser" gem "actionpack-xml_parser"
gem "roadie-rails", "~> 1.1.1" gem "roadie-rails", "~> 1.1.1"
gem "roadie", "~> 3.2.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 "nokogiri", (RUBY_VERSION >= "2.1" ? "~> 1.7.2" : "~> 1.6.8")
gem "i18n", "~> 0.7.0" gem "i18n", "~> 0.7.0"
......
...@@ -40,6 +40,7 @@ GEM ...@@ -40,6 +40,7 @@ GEM
addressable (2.5.2) addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0) public_suffix (>= 2.0.2, < 4.0)
arel (6.0.4) arel (6.0.4)
ast (2.4.2)
builder (3.2.3) builder (3.2.3)
byebug (9.1.0) byebug (9.1.0)
capybara (1.1.4) capybara (1.1.4)
...@@ -56,17 +57,30 @@ GEM ...@@ -56,17 +57,30 @@ GEM
crass (1.0.3) crass (1.0.3)
css_parser (1.6.0) css_parser (1.6.0)
addressable addressable
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
docile (1.1.5) docile (1.1.5)
erubis (2.7.0) erubis (2.7.0)
faraday (0.17.6)
multipart-post (>= 1.2, < 3)
ffi (1.9.18) 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) globalid (0.4.1)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
hashie (3.6.0)
htmlentities (4.3.4) htmlentities (4.3.4)
httpclient (2.8.3) httpclient (2.8.3)
i18n (0.7.0) i18n (0.7.0)
jaro_winkler (1.5.4)
jquery-rails (3.1.4) jquery-rails (3.1.4)
railties (>= 3.0, < 5.0) railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0) thor (>= 0.14, < 2.0)
jwt (2.3.0)
liquid (2.6.3) liquid (2.6.3)
loofah (2.1.1) loofah (2.1.1)
crass (~> 1.0.2) crass (~> 1.0.2)
...@@ -77,17 +91,30 @@ GEM ...@@ -77,17 +91,30 @@ GEM
mime-types (3.1) mime-types (3.1)
mime-types-data (~> 3.2015) mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521) mime-types-data (3.2016.0521)
mimemagic (0.3.2) mimemagic (0.4.3)
nokogiri (~> 1)
rake
mini_mime (1.0.0) mini_mime (1.0.0)
mini_portile2 (2.1.0) mini_portile2 (2.1.0)
minitest (5.11.1) minitest (5.11.1)
mocha (1.3.0) mocha (1.3.0)
metaclass (~> 0.0.1) metaclass (~> 0.0.1)
multi_json (1.13.0) multi_json (1.13.0)
multi_xml (0.6.0)
multipart-post (2.3.0)
mysql2 (0.4.10) mysql2 (0.4.10)
net-ldap (0.12.1) net-ldap (0.12.1)
nokogiri (1.7.2) nokogiri (1.7.2)
mini_portile2 (~> 2.1.0) 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) protected_attributes (1.1.4)
activemodel (>= 4.0.1, < 5.0) activemodel (>= 4.0.1, < 5.0)
public_suffix (3.0.1) public_suffix (3.0.1)
...@@ -121,6 +148,7 @@ GEM ...@@ -121,6 +148,7 @@ GEM
activesupport (= 4.2.8) activesupport (= 4.2.8)
rake (>= 0.8.7) rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0) thor (>= 0.18.1, < 2.0)
rainbow (3.1.1)
rake (12.3.0) rake (12.3.0)
rbpdf (1.19.3) rbpdf (1.19.3)
htmlentities htmlentities
...@@ -135,6 +163,7 @@ GEM ...@@ -135,6 +163,7 @@ GEM
actionpack (>= 4.2, < 6) actionpack (>= 4.2, < 6)
rails (>= 4.2, < 6) rails (>= 4.2, < 6)
request_store (1.0.5) request_store (1.0.5)
rexml (3.2.5)
rmagick (2.16.0) rmagick (2.16.0)
roadie (3.2.2) roadie (3.2.2)
css_parser (~> 1.4) css_parser (~> 1.4)
...@@ -142,7 +171,18 @@ GEM ...@@ -142,7 +171,18 @@ GEM
roadie-rails (1.1.1) roadie-rails (1.1.1)
railties (>= 3.0, < 5.1) railties (>= 3.0, < 5.1)
roadie (~> 3.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-openid (2.3.0)
ruby-progressbar (1.13.0)
rubyzip (1.2.1) rubyzip (1.2.1)
selenium-webdriver (2.53.4) selenium-webdriver (2.53.4)
childprocess (~> 0.5) childprocess (~> 0.5)
...@@ -153,6 +193,13 @@ GEM ...@@ -153,6 +193,13 @@ GEM
multi_json (~> 1.0) multi_json (~> 1.0)
simplecov-html (~> 0.9.0) simplecov-html (~> 0.9.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) sprockets (3.7.1)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
rack (> 1, < 3) rack (> 1, < 3)
...@@ -160,12 +207,18 @@ GEM ...@@ -160,12 +207,18 @@ GEM
actionpack (>= 4.0) actionpack (>= 4.0)
activesupport (>= 4.0) activesupport (>= 4.0)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
temple (0.8.2)
test_after_commit (0.4.2) test_after_commit (0.4.2)
activerecord (>= 3.2) activerecord (>= 3.2)
thor (0.20.0) thor (0.20.0)
thread_safe (0.3.6) thread_safe (0.3.6)
tilt (2.0.11)
tzinfo (1.2.4) tzinfo (1.2.4)
thread_safe (~> 0.1) 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) websocket (1.2.5)
xpath (0.1.4) xpath (0.1.4)
nokogiri (~> 1.3) nokogiri (~> 1.3)
...@@ -176,19 +229,25 @@ PLATFORMS ...@@ -176,19 +229,25 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
actionpack-xml_parser actionpack-xml_parser
addressable (~> 2.5, >= 2.5.2)
byebug (~> 9.0, >= 9.0.6) byebug (~> 9.0, >= 9.0.6)
capybara capybara
coderay (~> 1.1.1) 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 httpclient
i18n (~> 0.7.0) i18n (~> 0.7.0)
jquery-rails (~> 3.1.4) jquery-rails (~> 3.1.4)
mime-types (~> 3.0) mime-types (~> 3.0)
mimemagic mimemagic (~> 0.4.3)
minitest minitest
mocha mocha
mysql2 (~> 0.4.6) mysql2 (~> 0.4.6)
net-ldap (~> 0.12.0) net-ldap (~> 0.12.0)
nokogiri (~> 1.7.2) nokogiri (~> 1.7.2)
oauth2 (~> 1.2)
protected_attributes protected_attributes
rack-openid rack-openid
rails (= 4.2.8) rails (= 4.2.8)
...@@ -203,11 +262,15 @@ DEPENDENCIES ...@@ -203,11 +262,15 @@ DEPENDENCIES
rmagick (>= 2.14.0) rmagick (>= 2.14.0)
roadie (~> 3.2.1) roadie (~> 3.2.1)
roadie-rails (~> 1.1.1) roadie-rails (~> 1.1.1)
rubocop
rubocop-performance
ruby-openid (~> 2.3.0) ruby-openid (~> 2.3.0)
selenium-webdriver (~> 2.53.4) selenium-webdriver (~> 2.53.4)
simplecov (~> 0.9.1) simplecov (~> 0.9.1)
slim-rails
test_after_commit (~> 0.4.2) test_after_commit (~> 0.4.2)
tzinfo-data tzinfo-data
validate_url
yard yard
BUNDLED WITH BUNDLED WITH
......
# Sample plugin controller # Sample plugin controller
class ExampleController < ApplicationController class ExampleController < ApplicationController
unloadable # unloadable
layout 'base' layout 'base'
before_action :find_project, :authorize before_action :find_project, :authorize
......
class <%= @controller_class %>Controller < ApplicationController class <%= @controller_class %>Controller < ApplicationController
unloadable # unloadable
<% actions.each do |action| -%> <% actions.each do |action| -%>
......
class <%= @model_class %> < ActiveRecord::Base class <%= @model_class %> < ActiveRecord::Base
unloadable # unloadable
end end
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>. # along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileBoardsController < ApplicationController class AgileBoardsController < ApplicationController
unloadable # unloadable
menu_item :agile menu_item :agile
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>. # along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileChartsController < ApplicationController class AgileChartsController < ApplicationController
unloadable # unloadable
menu_item :agile menu_item :agile
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>. # along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileJournalDetailsController < ApplicationController class AgileJournalDetailsController < ApplicationController
unloadable # unloadable
before_filter :find_issue before_filter :find_issue
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>. # along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileVersionsController < ApplicationController class AgileVersionsController < ApplicationController
unloadable # unloadable
menu_item :agile menu_item :agile
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>. # along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileChartsQuery < AgileQuery class AgileChartsQuery < AgileQuery
unloadable # unloadable
validate :validate_query_dates validate :validate_query_dates
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>. # along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileData < ActiveRecord::Base class AgileData < ActiveRecord::Base
unloadable # unloadable
belongs_to :issue belongs_to :issue
validates :story_points, :numericality => {:only_integer => true, :greater_than_or_equal_to => 0, :allow_nil => true, :message => :invalid} validates :story_points, :numericality => {:only_integer => true, :greater_than_or_equal_to => 0, :allow_nil => true, :message => :invalid}
end end
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>. # along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileQuery < Query class AgileQuery < Query
unloadable # unloadable
attr_reader :truncated attr_reader :truncated
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# along with redmine_agile. If not, see <http://www.gnu.org/licenses/>. # along with redmine_agile. If not, see <http://www.gnu.org/licenses/>.
class AgileQuery < Query class AgileQuery < Query
unloadable # unloadable
VISIBILITY_PRIVATE = 0 VISIBILITY_PRIVATE = 0
VISIBILITY_ROLES = 1 VISIBILITY_ROLES = 1
......
...@@ -27,7 +27,7 @@ module RedmineAgile ...@@ -27,7 +27,7 @@ module RedmineAgile
def self.included(base) def self.included(base)
base.send(:include, InstanceMethods) base.send(:include, InstanceMethods)
base.class_eval do base.class_eval do
unloadable # unloadable
has_one :agile_data, :dependent => :destroy has_one :agile_data, :dependent => :destroy
delegate :position, :to => :agile_data, :allow_nil => true delegate :position, :to => :agile_data, :allow_nil => true
scope :sorted_by_rank, lambda {eager_load(:agile_data). scope :sorted_by_rank, lambda {eager_load(:agile_data).
......
...@@ -23,7 +23,7 @@ module RedmineAgile ...@@ -23,7 +23,7 @@ module RedmineAgile
module ProjectPatch module ProjectPatch
def self.included(base) def self.included(base)
base.class_eval do base.class_eval do
unloadable # unloadable
acts_as_colored acts_as_colored
safe_attributes 'agile_color_attributes', 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?} :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 ...@@ -23,7 +23,7 @@ module RedmineAgile
module UserPatch module UserPatch
def self.included(base) def self.included(base)
base.class_eval do base.class_eval do
unloadable # unloadable
acts_as_colored acts_as_colored
safe_attributes 'agile_color_attributes', 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? } :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