Skip to content

Commit

Permalink
Merge branch 'master' into detect-authtype2
Browse files Browse the repository at this point in the history
Conflicts:
	lib/tdiary/version.rb
  • Loading branch information
machu committed Mar 15, 2015
2 parents 9f9285a + 8eaa26e commit 132698f
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -5,9 +5,9 @@ sudo: false
services: memcache

rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- ruby-head

cache:
Expand Down
16 changes: 8 additions & 8 deletions Gemfile.lock
Expand Up @@ -20,7 +20,7 @@ GEM
execjs
coffee-script-source (1.9.1)
columnize (0.9.0)
coveralls (0.7.10)
coveralls (0.7.11)
multi_json (~> 1.10)
rest-client (>= 1.6.8, < 2)
simplecov (~> 0.9.1)
Expand All @@ -30,7 +30,7 @@ GEM
diff-lcs (1.2.5)
docile (1.1.5)
execjs (2.3.0)
fastimage (1.6.6)
fastimage (1.6.7)
addressable (~> 2.3, >= 2.3.5)
ffi (1.9.6)
gemoji (2.1.0)
Expand All @@ -51,12 +51,12 @@ GEM
mime-types (2.4.3)
mini_portile (0.6.2)
multi_json (1.10.1)
netrc (0.10.2)
netrc (0.10.3)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
phantomjs (1.9.8.0)
pit (0.0.7)
power_assert (0.2.2)
power_assert (0.2.3)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
Expand All @@ -80,17 +80,17 @@ GEM
rspec-core (~> 3.2.0)
rspec-expectations (~> 3.2.0)
rspec-mocks (~> 3.2.0)
rspec-core (3.2.0)
rspec-core (3.2.1)
rspec-support (~> 3.2.0)
rspec-expectations (3.2.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-mocks (3.2.0)
rspec-mocks (3.2.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-support (3.2.1)
rspec-support (3.2.2)
rubyzip (1.1.7)
selenium-webdriver (2.44.0)
selenium-webdriver (2.45.0)
childprocess (~> 0.5)
multi_json (~> 1.0)
rubyzip (~> 1.0)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -20,7 +20,7 @@ tDiaryには以下のような特徴があります。

### レンタルサーバーユーザにやさしい

必要なのはRuby(1.9.2ないしは2.0.0以降に対応)だけ。単独でCGIとして動作し、基本機能はデータベースや追加のライブラリを必要としません。
必要なのはRuby(2.0.0以降に対応)だけ。単独でCGIとして動作し、基本機能はデータベースや追加のライブラリを必要としません。

### プラグインで拡張できます

Expand All @@ -32,4 +32,4 @@ tDiaryには以下のような特徴があります。

### その他

インストールにはドキュメント(doc/INSTALL.html)を参照して下さい。動作にはruby(1.9.2以降または2.0.0以降)と、CGIをサポートするWebサーバが必要です
インストールにはドキュメント(doc/INSTALL.html)を参照して下さい。動作にはruby(2.0.0以降)と、CGIもしくはRackをサポートするWebサーバが必要です
2 changes: 1 addition & 1 deletion doc/HOWTO-testing-tDiary.md
Expand Up @@ -18,7 +18,7 @@ tDiary-3.0.1.20101011 以降のバージョンでは tDiary を test するた

tDiary でテストを実行するためには以下の環境を用意する必要があります。

- Ruby 1.9.3 または Ruby 2.0.0
- Ruby 2.0.0 以降
- Bundler 1.3.5 以降

動かし方
Expand Down
2 changes: 1 addition & 1 deletion doc/INSTALL-paas.md
Expand Up @@ -32,7 +32,7 @@ Heroku の New App ページになったら、下記の情報を入力して、D
tDiary を sqale で動作させるためには以下のツールが必要となります。

- [git](http://git-scm.com)
- Ruby 1.9.2 以降
- Ruby 2.0.0 以降
- RubyGems 1.3.7 以降
- Bundler 1.0.0 以降

Expand Down
2 changes: 1 addition & 1 deletion doc/README.en.md
Expand Up @@ -36,7 +36,7 @@ You can choice a grammar of writing your diary by 'Style' feature. Some style fi

### Written in Ruby

Important :-). tDiary requires Ruby-1.9.2 or later.
Important :-). tDiary requires Ruby-2.0.0 or later.

### Others

Expand Down
2 changes: 1 addition & 1 deletion doc/README.md
Expand Up @@ -36,7 +36,7 @@ iモードに限らず、ほとんどの携帯電話やPalm・ザウルスなど

### Rubyで書かれている

重要なポイントでしょう:-)??実行にはruby 1.9.2またはruby 2.0.0以上が必要です。
重要なポイントでしょう:-)??ruby 2.0.0以上が必要です。

セクション(段落)アンカーや過去の日記の参照など、一般的なWeb日記システムの持つ機能は基本的にサポートしています。

Expand Down
2 changes: 1 addition & 1 deletion lib/tdiary/plugin/00default.rb
Expand Up @@ -1002,7 +1002,7 @@ def saveconf_recommendfilter
# old ruby alert
#
def old_ruby_alert
if RUBY_VERSION < '1.9' and !@conf['old_ruby_alert.hide']
if RUBY_VERSION < '2.0.0' and !@conf['old_ruby_alert.hide']
%Q|<div class="alert-warn">
<a href="#" class="action-button" id="alert-old-ruby">&times;</a>
#{old_ruby_alert_message}
Expand Down
12 changes: 6 additions & 6 deletions lib/tdiary/tasks/release.rake
Expand Up @@ -50,19 +50,19 @@ def make_tarball( repo, version = nil )
Dir.chdir '.bundle/ruby' do
v = `ls`.chomp
case v
when '2.2.0'
FileUtils.cp_r '2.2.0', '2.0.0'
FileUtils.cp_r '2.2.0', '2.1.0'
when '2.1.0'
FileUtils.cp_r '2.1.0', '1.9.1'
FileUtils.cp_r '2.1.0', '2.0.0'
FileUtils.cp_r '2.1.0', '2.2.0'
when '2.0.0'
FileUtils.cp_r '2.0.0', '1.9.1'
FileUtils.cp_r '2.0.0', '2.1.0'
when '1.9.1'
FileUtils.cp_r '1.9.1', '2.0.0'
FileUtils.cp_r '1.9.1', '2.1.0'
FileUtils.cp_r '2.0.0', '2.2.0'
else
FileUtils.cp_r v, '2.2.0'
FileUtils.cp_r v, '2.1.0'
FileUtils.cp_r v, '2.0.0'
FileUtils.cp_r v, '1.9.1'
FileUtils.rm_rf v
end
end
Expand Down

0 comments on commit 132698f

Please sign in to comment.