catscope 0.1.3 → 0.1.4

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: 2604186aa4dcc9ec5b1f526800edcdfcfaf27843
4
- data.tar.gz: 180c34d1c278023ca9365c35e05fd1df6aae3d13
3
+ metadata.gz: 8dcfa94d4c2e5d36de1a3919306b6c3b2244943c
4
+ data.tar.gz: 7e66469bdfc5157cd137441438db336bd55731bd
5
5
  SHA512:
6
- metadata.gz: c1b0669ef39d80f4cad0a95eae27e3707a520ff80d6f2da69f52e93531c5ff2da64da509669c60c4a2051dddd738bf6bd3f356bdcf50457d1761a09dc0f853d2
7
- data.tar.gz: 6c6f82e547052ecd8e8f727721d4a7272f4bd3a0c19a7239d80dc0a23231c9f21ed6e19357f1fc6150dd67b89b0faeae28631acf403851c02d4fe81744220ab1
6
+ metadata.gz: 02c1b7797139c4b8d082fdcd1ddf8218af68df4e8e2750a8aa51ccef461cbc0019ff67becf2dabf4a370e6c2225b38520fcdcc3f84d43004ccddcfb0bdd305d4
7
+ data.tar.gz: 231ad333a4fbef937c6ab2f065ed9d5a509e5b4e67cf80eb9545b1de99264aa15a70bdfffcbca27b89da479c17bf402734c57719c09c929cf237da6cf01f1552
data/.travis.yml ADDED
@@ -0,0 +1,14 @@
1
+ language: ruby
2
+ install:
3
+ - sudo apt-get update
4
+ - sudo apt-get install libevent-dev
5
+ - bundle install
6
+ rvm:
7
+ - 2.0.0
8
+ - 2.1.5
9
+ - 2.2.0
10
+ script:
11
+ - rake build
12
+ notifications:
13
+ slack:
14
+ secure: fH8tRyxWHL60OV6QuJlzig9lCLbjfpHx8E6D2EzgQz7+/wqAxtoTUyiN7mbpEJa4hyQeZfpmMpDTnl2tHD6eI8yqjAsY4Q+jt21tCKyrKMegq9Pypd4eMP4o+DupT2mXm0K3cZ2Kgb+yP8AuJPoTy20j3kpmnDFWdqRnhgpBLC8=
data/catscope.gemspec CHANGED
@@ -25,6 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_dependency "sinatra", "~> 1.4"
26
26
  spec.add_dependency "sinatra-rocketio", "~> 0.3"
27
27
  spec.add_dependency "sinatra-assetpack", "~> 0.3.3"
28
+ spec.add_dependency "tilt", "~> 1.4"
28
29
 
29
30
  spec.add_development_dependency "bundler"
30
31
  spec.add_development_dependency "rake"
data/lib/catscope/app.rb CHANGED
@@ -65,6 +65,8 @@ class App < Sinatra::Base
65
65
  return "image/png"
66
66
  when /^(eps|svg)$/i # will be converted to png
67
67
  return "image/png"
68
+ when /^pdf/i
69
+ return "application/pdf"
68
70
  else
69
71
  return "text/plain"
70
72
  end
@@ -1,3 +1,3 @@
1
1
  module Catscope
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuto Hayamizu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-23 00:00:00.000000000 Z
11
+ date: 2017-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thin
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.3.3
69
+ - !ruby/object:Gem::Dependency
70
+ name: tilt
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.4'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.4'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: bundler
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -131,6 +145,7 @@ extensions: []
131
145
  extra_rdoc_files: []
132
146
  files:
133
147
  - ".gitignore"
148
+ - ".travis.yml"
134
149
  - Gemfile
135
150
  - LICENSE.txt
136
151
  - README.md