tdiary 3.2.2.20130614 → 3.2.2.20130617
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -4
- data/Gemfile.cgi +5 -0
- data/Gemfile.cgi.lock +14 -0
- data/Gemfile.lock +2 -34
- data/index.rb +2 -0
- data/spec/core/rack/static_spec.rb +5 -0
- data/tdiary/cli.rb +17 -2
- data/tdiary/rack/static.rb +1 -1
- data/tdiary/version.rb +1 -1
- data/update.rb +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a6bd345a66f7d2db907e1625749a750ed236392
|
4
|
+
data.tar.gz: 32a98bf9b15d6ea973669a09fd20b903a2ba1f75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f393adf1156f339c0920be89f52c72f0f7ab5c5415c11367e2aefbd6a7f229e31d9783607d777520ba5fbcbfd13255cf0b158ed21484e1792aaf09b77d27a8f6
|
7
|
+
data.tar.gz: 1edfe539d32b123e32b14f8fa69c05a0190fa07ca95b6bb8da509dae4c1b5f1a49f67321a5d809e5895889a61a24bdb407de741a9ec3586ad2cf17dcfae93c20
|
data/Gemfile
CHANGED
data/Gemfile.cgi
ADDED
data/Gemfile.cgi.lock
ADDED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
tdiary (3.2.2.
|
4
|
+
tdiary (3.2.2.20130617)
|
5
5
|
bundler (~> 1.3)
|
6
6
|
hikidoc (>= 0.0.6)
|
7
7
|
imagesize (>= 0.1.0)
|
@@ -41,13 +41,9 @@ GEM
|
|
41
41
|
eventmachine (1.0.3)
|
42
42
|
execjs (1.4.0)
|
43
43
|
multi_json (~> 1.0)
|
44
|
-
faraday (0.8.7)
|
45
|
-
multipart-post (~> 1.1)
|
46
44
|
ffi (1.9.0)
|
47
|
-
hashie (2.0.5)
|
48
45
|
hike (1.2.3)
|
49
46
|
hikidoc (0.0.6)
|
50
|
-
httpauth (0.2.0)
|
51
47
|
imagesize (0.1.1)
|
52
48
|
jasmine (1.3.2)
|
53
49
|
jasmine-core (~> 1.3.1)
|
@@ -55,39 +51,14 @@ GEM
|
|
55
51
|
rspec (>= 1.3.1)
|
56
52
|
selenium-webdriver (>= 0.1.3)
|
57
53
|
jasmine-core (1.3.1)
|
58
|
-
jwt (0.1.8)
|
59
|
-
multi_json (>= 1.5)
|
60
54
|
launchy (2.3.0)
|
61
55
|
addressable (~> 2.3)
|
62
56
|
method_source (0.8.1)
|
63
57
|
mime-types (1.23)
|
64
58
|
mini_portile (0.5.0)
|
65
|
-
multi_json (1.7.
|
66
|
-
multipart-post (1.2.0)
|
59
|
+
multi_json (1.7.7)
|
67
60
|
nokogiri (1.6.0)
|
68
61
|
mini_portile (~> 0.5.0)
|
69
|
-
oauth (0.4.7)
|
70
|
-
oauth2 (0.8.1)
|
71
|
-
faraday (~> 0.8)
|
72
|
-
httpauth (~> 0.1)
|
73
|
-
jwt (~> 0.1.4)
|
74
|
-
multi_json (~> 1.0)
|
75
|
-
rack (~> 1.2)
|
76
|
-
omniauth (1.1.4)
|
77
|
-
hashie (>= 1.2, < 3)
|
78
|
-
rack
|
79
|
-
omniauth-github (1.1.0)
|
80
|
-
omniauth (~> 1.0)
|
81
|
-
omniauth-oauth2 (~> 1.1)
|
82
|
-
omniauth-oauth (1.0.1)
|
83
|
-
oauth
|
84
|
-
omniauth (~> 1.0)
|
85
|
-
omniauth-oauth2 (1.1.1)
|
86
|
-
oauth2 (~> 0.8.0)
|
87
|
-
omniauth (~> 1.0)
|
88
|
-
omniauth-twitter (0.0.16)
|
89
|
-
multi_json (~> 1.3)
|
90
|
-
omniauth-oauth (~> 1.0)
|
91
62
|
pit (0.0.7)
|
92
63
|
posix-spawn (0.3.6)
|
93
64
|
pry (0.9.12.2)
|
@@ -166,9 +137,6 @@ DEPENDENCIES
|
|
166
137
|
dalli
|
167
138
|
jasmine
|
168
139
|
launchy
|
169
|
-
omniauth
|
170
|
-
omniauth-github
|
171
|
-
omniauth-twitter
|
172
140
|
pit
|
173
141
|
pry
|
174
142
|
pygments.rb
|
data/index.rb
CHANGED
data/tdiary/cli.rb
CHANGED
@@ -55,6 +55,21 @@ module TDiary
|
|
55
55
|
say 'update finished', :green
|
56
56
|
end
|
57
57
|
|
58
|
+
desc "assets_copy", "copy assets files"
|
59
|
+
def assets_copy
|
60
|
+
require 'tdiary/environment'
|
61
|
+
assets_path = File.join(TDiary.server_root, 'public/assets')
|
62
|
+
TDiary::Application.config.assets_paths.each do |path|
|
63
|
+
Dir.glob(File.join(path, '*')).each do |entity|
|
64
|
+
if File.directory?(entity)
|
65
|
+
directory entity, File.join(assets_path, File.basename(entity))
|
66
|
+
else
|
67
|
+
copy_file entity, File.join(assets_path, File.basename(entity))
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
58
73
|
desc "test", "Create test server and run tDiary test"
|
59
74
|
def test
|
60
75
|
target = File.join(Dir.pwd, 'tmp/test')
|
@@ -81,7 +96,7 @@ module TDiary
|
|
81
96
|
method_option "port", :aliases => "p", :type => :numeric, :default => 19292, :banner =>
|
82
97
|
"use PORT"
|
83
98
|
def server
|
84
|
-
require 'tdiary'
|
99
|
+
require 'tdiary/environment'
|
85
100
|
|
86
101
|
if options[:cgi]
|
87
102
|
opts = {
|
@@ -105,7 +120,7 @@ module TDiary
|
|
105
120
|
:AccessLog => $stderr,
|
106
121
|
:config => File.expand_path("config.ru")
|
107
122
|
}
|
108
|
-
Rack::Server.start( opts )
|
123
|
+
::Rack::Server.start( opts )
|
109
124
|
end
|
110
125
|
end
|
111
126
|
|
data/tdiary/rack/static.rb
CHANGED
data/tdiary/version.rb
CHANGED
data/update.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tdiary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.2.
|
4
|
+
version: 3.2.2.20130617
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TADA Tadashi
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-06-
|
13
|
+
date: 2013-06-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|
@@ -137,6 +137,8 @@ files:
|
|
137
137
|
- .travis.yml
|
138
138
|
- ChangeLog
|
139
139
|
- Gemfile
|
140
|
+
- Gemfile.cgi
|
141
|
+
- Gemfile.cgi.lock
|
140
142
|
- Gemfile.lock
|
141
143
|
- LICENSE
|
142
144
|
- Procfile
|