catscope 0.1.4 → 0.1.5

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: 8dcfa94d4c2e5d36de1a3919306b6c3b2244943c
4
- data.tar.gz: 7e66469bdfc5157cd137441438db336bd55731bd
3
+ metadata.gz: 9fcd751963226020a1845d53ce1a08c70a666c97
4
+ data.tar.gz: 1ad269d5862a57abf5e364908d190abbd89d0fed
5
5
  SHA512:
6
- metadata.gz: 02c1b7797139c4b8d082fdcd1ddf8218af68df4e8e2750a8aa51ccef461cbc0019ff67becf2dabf4a370e6c2225b38520fcdcc3f84d43004ccddcfb0bdd305d4
7
- data.tar.gz: 231ad333a4fbef937c6ab2f065ed9d5a509e5b4e67cf80eb9545b1de99264aa15a70bdfffcbca27b89da479c17bf402734c57719c09c929cf237da6cf01f1552
6
+ metadata.gz: f856695493611556fdd09f6869a85194fc214f8d1ee36c9b45108b6dfa77d80dccc9a9dfa9631bfd5686cc2c1928115b4b1dad32a9146a085fce672a349be3db
7
+ data.tar.gz: 38847f81ef5479c80244bf79bd887cb89d003838410de2292a21f90498ed1513c3b7523ca99e424b541eb141d1cd51426a161a5cc0cabf62346969c12b43f91d
data/.gitignore CHANGED
@@ -1,6 +1,5 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
4
3
  /_yardoc/
5
4
  /coverage/
6
5
  /doc/
data/.travis.yml CHANGED
@@ -1,7 +1,8 @@
1
1
  language: ruby
2
2
  install:
3
3
  - sudo apt-get update
4
- - sudo apt-get install libevent-dev
4
+ - sudo apt-get install libevent-dev npm
5
+ - sudo npm install -g bower
5
6
  - bundle install
6
7
  rvm:
7
8
  - 2.0.0
data/Gemfile.lock ADDED
@@ -0,0 +1,112 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ catscope (0.1.5)
5
+ sinatra (~> 1.4)
6
+ sinatra-assetpack (~> 0.3.3)
7
+ sinatra-rocketio (~> 0.3)
8
+ thin (~> 1.6)
9
+ tilt (~> 1.4)
10
+
11
+ GEM
12
+ remote: https://rubygems.org/
13
+ specs:
14
+ backports (3.11.3)
15
+ chunky_png (1.3.10)
16
+ compass (1.0.3)
17
+ chunky_png (~> 1.2)
18
+ compass-core (~> 1.0.2)
19
+ compass-import-once (~> 1.0.5)
20
+ rb-fsevent (>= 0.9.3)
21
+ rb-inotify (>= 0.9)
22
+ sass (>= 3.3.13, < 3.5)
23
+ compass-core (1.0.3)
24
+ multi_json (~> 1.0)
25
+ sass (>= 3.3.0, < 3.5)
26
+ compass-import-once (1.0.5)
27
+ sass (>= 3.2, < 3.5)
28
+ daemons (1.2.6)
29
+ em-websocket (0.5.1)
30
+ eventmachine (>= 0.12.9)
31
+ http_parser.rb (~> 0.6.0)
32
+ event_emitter (0.2.6)
33
+ eventmachine (1.2.5)
34
+ ffi (1.9.25)
35
+ hashie (3.5.7)
36
+ http_parser.rb (0.6.0)
37
+ httparty (0.16.2)
38
+ multi_xml (>= 0.5.2)
39
+ jsmin (1.0.1)
40
+ json (2.1.0)
41
+ multi_json (1.13.1)
42
+ multi_xml (0.6.0)
43
+ rack (1.6.10)
44
+ rack-protection (1.5.5)
45
+ rack
46
+ rack-test (1.0.0)
47
+ rack (>= 1.0, < 3)
48
+ rake (12.3.1)
49
+ rb-fsevent (0.10.3)
50
+ rb-inotify (0.9.10)
51
+ ffi (>= 0.5.0, < 2)
52
+ sass (3.4.23)
53
+ sinatra (1.4.8)
54
+ rack (~> 1.5)
55
+ rack-protection (~> 1.4)
56
+ tilt (>= 1.3, < 3)
57
+ sinatra-assetpack (0.3.5)
58
+ jsmin
59
+ rack-test
60
+ sinatra
61
+ tilt (>= 1.3.0, < 2.0)
62
+ sinatra-cometio (0.6.0)
63
+ event_emitter (>= 0.2.5)
64
+ eventmachine (>= 1.0.0)
65
+ httparty
66
+ json (>= 1.7.0)
67
+ sinatra (>= 1.3.0)
68
+ sinatra-contrib (>= 1.3.2)
69
+ sinatra-contrib (1.4.7)
70
+ backports (>= 2.0)
71
+ multi_json
72
+ rack-protection
73
+ rack-test
74
+ sinatra (~> 1.4.0)
75
+ tilt (>= 1.3, < 3)
76
+ sinatra-rocketio (0.3.3)
77
+ event_emitter (>= 0.2.5)
78
+ eventmachine (>= 1.0.0)
79
+ hashie
80
+ sinatra
81
+ sinatra-cometio (>= 0.5.9)
82
+ sinatra-websocketio (>= 0.4.0)
83
+ sinatra-websocketio (0.4.1)
84
+ em-websocket (>= 0.5.0)
85
+ event_emitter (>= 0.2.4)
86
+ eventmachine (>= 1.0.0)
87
+ json (>= 1.7.0)
88
+ sinatra (>= 1.3.0)
89
+ sinatra-contrib (>= 1.3.2)
90
+ websocket-client-simple
91
+ thin (1.7.2)
92
+ daemons (~> 1.0, >= 1.0.9)
93
+ eventmachine (~> 1.0, >= 1.0.4)
94
+ rack (>= 1, < 3)
95
+ tilt (1.4.1)
96
+ websocket (1.2.5)
97
+ websocket-client-simple (0.3.0)
98
+ event_emitter
99
+ websocket
100
+
101
+ PLATFORMS
102
+ ruby
103
+
104
+ DEPENDENCIES
105
+ bundler
106
+ catscope!
107
+ compass (= 1.0.3)
108
+ rake
109
+ sass (= 3.4.23)
110
+
111
+ BUNDLED WITH
112
+ 1.16.1
data/assets/js/app.js CHANGED
@@ -243,9 +243,11 @@ PreviewWindow.prototype.focus = function() {
243
243
  this.manager.set_zindex();
244
244
  };
245
245
  PreviewWindow.prototype.resize = function() {
246
- this.width = this.div_window.width();
247
- this.height = this.div_window.height();
248
- this.div_content.height(this.div_window.height() - this.div_title.height());
246
+ this.width = this.div_window.width();
247
+ this.height = this.div_window.height();
248
+
249
+ this.div_content.height(this.div_window.height() - this.div_title.height());
250
+ this.h3_title.width(this.div_title.width() - this.btn_close.width() - this.btn_copy.width());
249
251
  };
250
252
  PreviewWindow.prototype.reload = function() {
251
253
  console.log("reload " + this.path);
data/catscope.gemspec CHANGED
@@ -29,6 +29,6 @@ Gem::Specification.new do |spec|
29
29
 
30
30
  spec.add_development_dependency "bundler"
31
31
  spec.add_development_dependency "rake"
32
- spec.add_development_dependency "sass"
33
- spec.add_development_dependency "compass"
32
+ spec.add_development_dependency "sass", "= 3.4.23"
33
+ spec.add_development_dependency "compass", "= 1.0.3"
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module Catscope
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catscope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuto Hayamizu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-31 00:00:00.000000000 Z
11
+ date: 2018-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thin
@@ -112,30 +112,30 @@ dependencies:
112
112
  name: sass
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: '0'
117
+ version: 3.4.23
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: '0'
124
+ version: 3.4.23
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: compass
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ">="
129
+ - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: '0'
131
+ version: 1.0.3
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ">="
136
+ - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: '0'
138
+ version: 1.0.3
139
139
  description: Catscope is an on-demand web-based file browser.
140
140
  email:
141
141
  - y.hayamizu@gmail.com
@@ -147,6 +147,7 @@ files:
147
147
  - ".gitignore"
148
148
  - ".travis.yml"
149
149
  - Gemfile
150
+ - Gemfile.lock
150
151
  - LICENSE.txt
151
152
  - README.md
152
153
  - Rakefile
@@ -1251,7 +1252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1251
1252
  version: '0'
1252
1253
  requirements: []
1253
1254
  rubyforge_project:
1254
- rubygems_version: 2.5.1
1255
+ rubygems_version: 2.6.11
1255
1256
  signing_key:
1256
1257
  specification_version: 4
1257
1258
  summary: On-demand web-based file browser