rrrspec-web 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f579a525eba34e58ddf6e71d06a7c1604981bcf8
4
- data.tar.gz: 6dc99a7b6151a45466597a3dcba1a919dce6b01d
3
+ metadata.gz: 6589c34cfa31e8bdd097262525bdb1b53d3843b0
4
+ data.tar.gz: b15cd9653873cf073166ff4e22e5f05b30217b41
5
5
  SHA512:
6
- metadata.gz: 2e0ffe5262dc4c9e112adfe12e07b7ad772f3166940e6c899b3823683e6182d19b3378f79f9d20f7ba86128a62860cd4139545bc57d79abcdfc5bd8e5a12e542
7
- data.tar.gz: 0b82b7ffe58e7b0f43d0dcc9515ca6d929eb550c6942ec3611b4d157d1215c39ec3a2f3b1ab3e912c6e414f4977a979bd95bc091f4dafa4b19759212e01f994b
6
+ metadata.gz: bfb19948a81854668eccfeb31e6c3cc9003b9f4959bb7542078bc6e2d484eaad5e4af65581d54476d6a59101b689c74f84204b84f759976233b474afe33bcc76
7
+ data.tar.gz: c44920966183296b17cb63a2d74077d93ecc9cf68053386f99b3abb5734d7accdba089c341fdf07485e04e5b21294656119181b3e0e16f1f507e0ca91f6937b2
@@ -24,7 +24,7 @@ dl
24
24
  width: 7em
25
25
  text-transform: uppercase
26
26
  .username
27
- width: 8em
27
+ width: 12em
28
28
  padding-right: 2em
29
29
 
30
30
  .taskset
@@ -75,7 +75,14 @@ module RRRSpec
75
75
  # For Index
76
76
 
77
77
  get '/tasksets/actives' do
78
- ActiveTaskset.list
78
+ ActiveTaskset.list.map do |taskset|
79
+ {
80
+ key: taskset.key,
81
+ status: taskset.status,
82
+ rsync_name: taskset.rsync_name,
83
+ created_at: taskset.created_at.iso8601,
84
+ }
85
+ end
79
86
  end
80
87
 
81
88
  get '/tasksets/recents' do
@@ -9,7 +9,7 @@ module RRRSpec
9
9
  class App < Sinatra::Base
10
10
  set :assets_precompile, %w(application.css tasksets.js index.js)
11
11
  set :assets_prefix, [
12
- "#{Gem::Specification.find_by_name('bootstrap-sass').gem_dir}/vendor/assets",
12
+ "#{Gem::Specification.find_by_name('bootstrap-sass').gem_dir}/assets",
13
13
  File.expand_path('../../../../assets', __FILE__),
14
14
  ]
15
15
 
@@ -1,5 +1,5 @@
1
1
  module RRRSpec
2
2
  module Web
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
data/rrrspec-web.gemspec CHANGED
@@ -32,14 +32,14 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency "rake"
33
33
  spec.add_development_dependency "rspec"
34
34
  spec.add_development_dependency "sqlite3"
35
- spec.add_dependency "activerecord", "~> 4.0.2"
35
+ spec.add_dependency "activerecord", ">= 4.0", "< 4.2"
36
36
  spec.add_dependency "activesupport"
37
37
  spec.add_dependency "api-pagination"
38
- spec.add_dependency "bootstrap-sass"
38
+ spec.add_dependency "bootstrap-sass", ">= 3.2"
39
39
  spec.add_dependency "coffee-script", "~> 2.2.0"
40
- spec.add_dependency "grape"
40
+ spec.add_dependency "grape", '~> 0.9.0'
41
41
  spec.add_dependency "haml", "~> 4.0.3"
42
- spec.add_dependency "kaminari", "~> 0.15.0"
42
+ spec.add_dependency "kaminari", "~> 0.16.0"
43
43
  spec.add_dependency "oj"
44
44
  spec.add_dependency "rrrspec-client"
45
45
  spec.add_dependency "rrrspec-server"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rrrspec-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaya Suzuki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-11 00:00:00.000000000 Z
11
+ date: 2015-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -140,16 +140,22 @@ dependencies:
140
140
  name: activerecord
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: 4.0.2
145
+ version: '4.0'
146
+ - - "<"
147
+ - !ruby/object:Gem::Version
148
+ version: '4.2'
146
149
  type: :runtime
147
150
  prerelease: false
148
151
  version_requirements: !ruby/object:Gem::Requirement
149
152
  requirements:
150
- - - "~>"
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: '4.0'
156
+ - - "<"
151
157
  - !ruby/object:Gem::Version
152
- version: 4.0.2
158
+ version: '4.2'
153
159
  - !ruby/object:Gem::Dependency
154
160
  name: activesupport
155
161
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +190,14 @@ dependencies:
184
190
  requirements:
185
191
  - - ">="
186
192
  - !ruby/object:Gem::Version
187
- version: '0'
193
+ version: '3.2'
188
194
  type: :runtime
189
195
  prerelease: false
190
196
  version_requirements: !ruby/object:Gem::Requirement
191
197
  requirements:
192
198
  - - ">="
193
199
  - !ruby/object:Gem::Version
194
- version: '0'
200
+ version: '3.2'
195
201
  - !ruby/object:Gem::Dependency
196
202
  name: coffee-script
197
203
  requirement: !ruby/object:Gem::Requirement
@@ -210,16 +216,16 @@ dependencies:
210
216
  name: grape
211
217
  requirement: !ruby/object:Gem::Requirement
212
218
  requirements:
213
- - - ">="
219
+ - - "~>"
214
220
  - !ruby/object:Gem::Version
215
- version: '0'
221
+ version: 0.9.0
216
222
  type: :runtime
217
223
  prerelease: false
218
224
  version_requirements: !ruby/object:Gem::Requirement
219
225
  requirements:
220
- - - ">="
226
+ - - "~>"
221
227
  - !ruby/object:Gem::Version
222
- version: '0'
228
+ version: 0.9.0
223
229
  - !ruby/object:Gem::Dependency
224
230
  name: haml
225
231
  requirement: !ruby/object:Gem::Requirement
@@ -240,14 +246,14 @@ dependencies:
240
246
  requirements:
241
247
  - - "~>"
242
248
  - !ruby/object:Gem::Version
243
- version: 0.15.0
249
+ version: 0.16.0
244
250
  type: :runtime
245
251
  prerelease: false
246
252
  version_requirements: !ruby/object:Gem::Requirement
247
253
  requirements:
248
254
  - - "~>"
249
255
  - !ruby/object:Gem::Version
250
- version: 0.15.0
256
+ version: 0.16.0
251
257
  - !ruby/object:Gem::Dependency
252
258
  name: oj
253
259
  requirement: !ruby/object:Gem::Requirement