Go MAEDA
1481c721a2
Use require_relative instead of require File.expand_path(..., __FILE__) ( #38093 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +00:00
Go MAEDA
92bd67c279
Update copyright year to 2023 ( #38141 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Go MAEDA
3686b77eb6
Update copyright year in source files to 2022 ( #36379 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
3e36b5c452
Update copyright year in source files to 2021 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Toshi MARUYAMA
133d141a7b
fix source indent of test/unit/repository_git_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-02 13:31:38 +00:00
Toshi MARUYAMA
36856acb3a
fix source indent of RepositoryGitTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-27 15:18:57 +00:00
Go MAEDA
78dfef0978
Replace gsub with tr, delete, or squeeze ( #34161 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 06:46:50 +00:00
Toshi MARUYAMA
7f5463b24a
remove spaces inside {} of RepositoryGitTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-21 13:40:19 +00:00
Go MAEDA
0e9c9fbe93
Fix a RuboCop offense Style/ColonMethodCall due to r19699 ( #24030 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-18 04:59:51 +00:00
Toshi MARUYAMA
6d6f765e03
scm: git: replace test repository text file content meaningfully ( #24030 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19701 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-14 12:04:58 +00:00
Toshi MARUYAMA
7ac8a8695c
fix source indent of previous commit ( #24030 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19700 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-14 08:47:03 +00:00
Toshi MARUYAMA
f6f136871a
scm: git: add test of UTF-8 Emoji committer and comments ( #24030 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-14 08:20:52 +00:00
Go MAEDA
907e0173e4
Update copyright year in source files to 2020 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Toshi MARUYAMA
78089bf053
cleanup: rubocop: fix Layout/IndentFirstArrayElement in RepositoryGitTest#test_fetch_changesets_incremental
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 12:46:52 +00:00
Toshi MARUYAMA
4e941906c4
cleanup: rubocop: fix Layout/IndentFirstArrayElement in RepositoryGitTest#test_fetch_changesets_history_editing
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19140 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 12:46:41 +00:00
Toshi MARUYAMA
0217f6266a
cleanup: rubocop: fix Layout/IndentFirstArrayElement in RepositoryGitTest#test_db_consistent_ordering_before_1_2
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 12:46:30 +00:00
Toshi MARUYAMA
f50db779fb
cleanup: rubocop: fix Layout/IndentFirstArrayElement in RepositoryGitTest#test_latest_changesets
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19138 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 12:46:19 +00:00
Toshi MARUYAMA
abe627bb9c
code cleanup: rubocop: fix Style/UnneededSort in test/unit/repository_git_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18797 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 11:31:05 +00:00
Jean-Philippe Lang
62e13f7913
Remove code related to JRuby and unsupported Ruby versions ( #29441 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18294 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 13:47:00 +00:00
Go MAEDA
4082069c75
Update copyright year.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Toshi MARUYAMA
5d2c03a196
scm: git: add new two latin1 branches to test repository ( #16881 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-05 05:30:18 +00:00
Toshi MARUYAMA
e5972392ce
code clean up RepositoryGitTest for test repository update
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18036 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-04 07:15:21 +00:00
Go MAEDA
b900ae6107
Support frozen_string_literal in test/**/*.rb ( #26561 ).
...
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 03:27:53 +00:00
Go MAEDA
26509e7f4c
Decode hexadecimal-encoded literals in order to be frozen string literals friendly ( #31004 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-19 15:43:55 +00:00
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files ( #26561 ).
...
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Jean-Philippe Lang
2576292959
Set User.current to nil before unit tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 17:23:31 +00:00
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
bf5dade8df
Use assert_nil instead of assert_equal.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-11 15:26:41 +00:00
Jean-Philippe Lang
46044b48a3
Adds accessors for report_last_commit.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-04 16:40:24 +00:00
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
8c6e5513a1
Fixed tests failures ( #19400 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-12 06:53:04 +00:00
Jean-Philippe Lang
9ea438720f
Fixed that non-default identifier-less git repositories are undeletable ( #19260 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@14050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-07 16:02:56 +00:00
Jean-Philippe Lang
000124f44f
Copyright update.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-11 09:09:50 +00:00
Jean-Philippe Lang
2a6692248b
Replaced "can't" with "cannot" in error messages.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 12:39:48 +00:00
Jean-Philippe Lang
2d1866d966
Merged rails-4.1 branch ( #14534 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-22 17:37:16 +00:00
Toshi MARUYAMA
50ab5ec1b6
Rails4: fix time related git unit test failure
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-15 23:13:44 +00:00
Toshi MARUYAMA
35cc911192
update copyright year ( #15977 )
...
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-29 22:45:39 +00:00
Jean-Philippe Lang
e396a0eebe
Copyright for 2013 ( #12788 ).
...
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 09:29:31 +00:00
Toshi MARUYAMA
921ad01bde
scm: git: change extra_report_last_commit type at unit test to string ( #12409 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-21 23:34:27 +00:00
Toshi MARUYAMA
5d8d38aa60
scm: git: fix changesets aren't read after clear_changesets call ( #12409 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-21 07:44:29 +00:00
Jean-Philippe Lang
2311f80c5d
Fix: Unable to run unit and functional tests if git binary is not available.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-18 18:33:33 +00:00
Jean-Philippe Lang
9b60214b3a
Fixed that Repository#entries returns an Array.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-10 17:01:33 +00:00
Jean-Philippe Lang
2cbf9c9cc4
Renamed #changes association to #filechanges (clash with AR::Base.changes that triggers errors with Rails 3.2.5).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-03 11:46:58 +00:00
Toshi MARUYAMA
ba25d27e3a
scm: git: skip Latin-1 path tests on Git for Windows above 1.7.10
...
Git for Windows (msysGit) changed internal API from ANSI to Unicode in 1.7.10.
http://code.google.com/p/msysgit/issues/detail?id=80
So, Latin-1 path tests fail on Japanese Windows
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-02 18:36:23 +00:00
Jean-Philippe Lang
ba5a052c8c
Copyright update.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 12:56:53 +00:00
Toshi MARUYAMA
cdb7ea8b91
scm: git: add test of from_path at unit model test_fetch_changesets_from_scratch
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-29 21:37:10 +00:00
Toshi MARUYAMA
d2c80656f1
scm: git: fix test revision value of unit app test
...
Hash range is from 0 to 9 and a to f
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-28 17:18:33 +00:00
Toshi MARUYAMA
9b333e1c87
scm: git: process new git revisions all at once rather than per branch ( #10470 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-28 17:18:04 +00:00
Toshi MARUYAMA
f0987e4b8f
scm: git: backout r8839 ( #8857 )
...
call "git log" only once instead of per branch in fetching revisions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-07 05:57:44 +00:00
Toshi MARUYAMA
c5ed7bbce5
scm: git: remove unnecessary log_encoding from overriding human_attribute_name test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 12:38:35 +00:00