airplayer 0.1.0 → 1.0.0.pre

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: 3bda80dde2fcd4d17e038ba2a1fcd0822b14112d
4
- data.tar.gz: 787b2ac256b81d9a543f4576447475afd650db28
3
+ metadata.gz: 9e00f0f71103b71a986d06040bcce7ba42bd3d1e
4
+ data.tar.gz: 43b6540a420bedbdbc5a901cf355c6f82e4cfc26
5
5
  SHA512:
6
- metadata.gz: 6cf0dc1945cf024bc7da607be66496f2a3a8de958f7235593dca7d8e296424c32ec6cca70c28fdbfc45ba4eac0dad683b83933b546d7858e910f4e91c0666aac
7
- data.tar.gz: 88294ccf0627094f4c977b31b0df18657b7f87b1b571c67d499c4d52fe0134978220dbe979ed957474c971d8e46d9c0278b83844fa4d3b0a3d523e21f134d992
6
+ metadata.gz: 6aefca703f1a6b3238c0d2f29123514b04c6a2e67026cd252bd158bb20b31eb265cf7a66456fa2cba7b1201390885f1b8d46fa3ef87f6ead171be96e309c4699
7
+ data.tar.gz: 407096022eed589db9be0ebae36e5f86f8db2e7c91d2badcdd03d6b4ca0f12b60226e6d35c61a02013fac388ffa8c609bf4c5de8cd26f3d79bff80ee1d210d89
@@ -0,0 +1 @@
1
+ strategy: 'bundler'
@@ -1,8 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
- - 2.0.0
5
- - 2.1.0
4
+ - 2.1.3
6
5
  before_install:
7
6
  - 'sudo apt-get -qq update'
8
7
  - 'sudo apt-get -qq install youtube-dl rdnssd libavahi-compat-libdnssd-dev'
@@ -1,20 +1,23 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- airplayer (0.1.0)
4
+ airplayer (1.0.0.pre)
5
5
  airplay (~> 1.0.2)
6
- http (~> 0.5.0)
7
- mime-types (= 2.0)
6
+ celluloid (= 0.15.2)
7
+ celluloid-io (= 0.15.0)
8
+ cuba (= 3.1.1)
9
+ http (= 0.5.0)
10
+ mime-types (~> 2.4.0)
8
11
  rack
9
- reel (~> 0.4.0)
10
- reel-rack (~> 0.1.0)
12
+ reel (= 0.4.0)
13
+ reel-rack (= 0.1.0)
11
14
  ruby-progressbar
12
15
  thor
13
16
 
14
17
  GEM
15
18
  remote: https://rubygems.org/
16
19
  specs:
17
- CFPropertyList (2.2.7)
20
+ CFPropertyList (2.2.8)
18
21
  airplay (1.0.3)
19
22
  CFPropertyList (~> 2.2.0)
20
23
  celluloid (>= 0.15.0)
@@ -32,7 +35,7 @@ GEM
32
35
  celluloid (>= 0.15.0)
33
36
  nio4r (>= 0.5.0)
34
37
  coderay (1.1.0)
35
- coveralls (0.7.0)
38
+ coveralls (0.7.1)
36
39
  multi_json (~> 1.3)
37
40
  rest-client
38
41
  simplecov (>= 0.7)
@@ -42,47 +45,47 @@ GEM
42
45
  rack
43
46
  diff-lcs (1.2.5)
44
47
  dnssd (2.0)
45
- docile (1.1.3)
46
- fakefs (0.5.2)
47
- ffi (1.9.3)
48
- formatador (0.2.4)
48
+ docile (1.1.5)
49
+ fakefs (0.6.0)
50
+ ffi (1.9.6)
51
+ formatador (0.2.5)
49
52
  guard (2.6.1)
50
53
  formatador (>= 0.2.4)
51
54
  listen (~> 2.7)
52
55
  lumberjack (~> 1.0)
53
56
  pry (>= 0.9.12)
54
57
  thor (>= 0.18.1)
55
- guard-rspec (4.2.8)
58
+ guard-rspec (4.3.1)
56
59
  guard (~> 2.1)
57
60
  rspec (>= 2.14, < 4.0)
58
61
  http (0.5.0)
59
62
  http_parser.rb
60
63
  http_parser.rb (0.6.0)
61
- listen (2.7.4)
64
+ listen (2.7.11)
62
65
  celluloid (>= 0.15.2)
63
- celluloid-io (>= 0.15.0)
64
66
  rb-fsevent (>= 0.9.3)
65
67
  rb-inotify (>= 0.9)
66
68
  log4r (1.1.10)
67
- lumberjack (1.0.5)
69
+ lumberjack (1.0.9)
68
70
  method_source (0.8.2)
69
71
  micromachine (1.0.4)
70
- mime-types (2.0)
71
- multi_json (1.10.0)
72
+ mime-types (2.4.3)
73
+ multi_json (1.10.1)
72
74
  net-http-digest_auth (1.2.1)
73
75
  net-ptth (0.0.17)
74
76
  celluloid-io (>= 0.15.0)
75
77
  http_parser.rb (>= 0.6.0.beta.2)
76
78
  rack (>= 1.4.5)
77
- nio4r (1.0.0)
78
- pry (0.9.12.6)
79
- coderay (~> 1.0)
80
- method_source (~> 0.8)
79
+ netrc (0.8.0)
80
+ nio4r (1.0.1)
81
+ pry (0.10.1)
82
+ coderay (~> 1.1.0)
83
+ method_source (~> 0.8.1)
81
84
  slop (~> 3.4)
82
85
  rack (1.5.2)
83
- rake (10.3.1)
86
+ rake (10.3.2)
84
87
  rb-fsevent (0.9.4)
85
- rb-inotify (0.9.4)
88
+ rb-inotify (0.9.5)
86
89
  ffi (>= 0.5.0)
87
90
  reel (0.4.0)
88
91
  celluloid (>= 0.15.1)
@@ -93,28 +96,33 @@ GEM
93
96
  reel-rack (0.1.0)
94
97
  rack (>= 1.4.0)
95
98
  reel (>= 0.4.0)
96
- rest-client (1.6.7)
97
- mime-types (>= 1.16)
98
- rspec (2.14.1)
99
- rspec-core (~> 2.14.0)
100
- rspec-expectations (~> 2.14.0)
101
- rspec-mocks (~> 2.14.0)
102
- rspec-core (2.14.8)
103
- rspec-expectations (2.14.5)
104
- diff-lcs (>= 1.1.3, < 2.0)
105
- rspec-mocks (2.14.6)
106
- ruby-progressbar (1.4.2)
107
- simplecov (0.8.2)
99
+ rest-client (1.7.2)
100
+ mime-types (>= 1.16, < 3.0)
101
+ netrc (~> 0.7)
102
+ rspec (3.1.0)
103
+ rspec-core (~> 3.1.0)
104
+ rspec-expectations (~> 3.1.0)
105
+ rspec-mocks (~> 3.1.0)
106
+ rspec-core (3.1.7)
107
+ rspec-support (~> 3.1.0)
108
+ rspec-expectations (3.1.2)
109
+ diff-lcs (>= 1.2.0, < 2.0)
110
+ rspec-support (~> 3.1.0)
111
+ rspec-mocks (3.1.3)
112
+ rspec-support (~> 3.1.0)
113
+ rspec-support (3.1.2)
114
+ ruby-progressbar (1.6.0)
115
+ simplecov (0.9.1)
108
116
  docile (~> 1.1.0)
109
- multi_json
117
+ multi_json (~> 1.0)
110
118
  simplecov-html (~> 0.8.0)
111
119
  simplecov-html (0.8.0)
112
- slop (3.5.0)
120
+ slop (3.6.0)
113
121
  term-ansicolor (1.3.0)
114
122
  tins (~> 1.0)
115
123
  thor (0.19.1)
116
124
  timers (1.1.0)
117
- tins (1.1.0)
125
+ tins (1.3.3)
118
126
  websocket_parser (0.1.6)
119
127
 
120
128
  PLATFORMS
data/README.md CHANGED
@@ -18,7 +18,7 @@ Requirements
18
18
  -------------------------------------------------------------------------------
19
19
 
20
20
  - OS X or Ubuntu
21
- - Ruby 1.9.3, 2.0.0 or later
21
+ - Ruby 1.9.3, 2.1.3 or later
22
22
  - AppleTV 2G or later
23
23
  - [youtube-dl](http://rg3.github.com/youtube-dl/) (If you want to watch YouTube)
24
24
 
@@ -163,9 +163,9 @@ Supported MIME types
163
163
 
164
164
  File extension | MIME type | Ruby `mime-types`
165
165
  -------------- | --------------- | -----------------------------
166
- .ts | video/MP2T | video/MP2T
166
+ .ts | video/MP2T | video/mp2t
167
167
  .mov | video/quicktime | video/quicktime
168
- .m4v | video/mpeg4 | video/vnd.objectvideo
168
+ .m4v | video/mpeg4 | video/m4v
169
169
  .mp4 | video/mpeg4 | application/mp4, video/mp4
170
170
 
171
171
 
@@ -20,11 +20,14 @@ Gem::Specification.new do |spec|
20
20
  spec.add_runtime_dependency 'thor'
21
21
  spec.add_runtime_dependency 'ruby-progressbar'
22
22
  spec.add_runtime_dependency 'rack'
23
- spec.add_runtime_dependency 'http', '~> 0.5.0'
24
- spec.add_runtime_dependency 'reel', '~> 0.4.0'
25
- spec.add_runtime_dependency 'reel-rack', '~> 0.1.0'
23
+ spec.add_runtime_dependency 'http', '= 0.5.0'
24
+ spec.add_runtime_dependency 'reel', '= 0.4.0'
25
+ spec.add_runtime_dependency 'reel-rack', '= 0.1.0'
26
+ spec.add_runtime_dependency 'celluloid', '= 0.15.2'
27
+ spec.add_runtime_dependency 'celluloid-io', '= 0.15.0'
28
+ spec.add_runtime_dependency 'cuba', '= 3.1.1'
26
29
  spec.add_runtime_dependency 'airplay', '~> 1.0.2'
27
- spec.add_runtime_dependency 'mime-types', '= 2.0'
30
+ spec.add_runtime_dependency 'mime-types', '~> 2.4.0'
28
31
 
29
32
  spec.add_development_dependency 'bundler'
30
33
  spec.add_development_dependency 'rake'
@@ -6,15 +6,15 @@ module AirPlayer
6
6
  #
7
7
  # File Extension | MIME type | Ruby `mime-types`
8
8
  # -------------- | --------------- | -----------------------------
9
- # .ts | video/MP2T | video/MP2T
9
+ # .ts | video/MP2T | video/mp2t
10
10
  # .mov | video/quicktime | video/quicktime
11
- # .m4v | video/mpeg4 | video/vnd.objectvideo
11
+ # .m4v | video/mpeg4 | video/m4v
12
12
  # .mp4 | video/mpeg4 | application/mp4, video/mp4
13
13
  SUPPORTED_MIME_TYPES = %w(
14
14
  application/mp4
15
15
  video/mp4
16
- video/vnd.objectvideo
17
- video/MP2T
16
+ video/m4v
17
+ video/mp2t
18
18
  video/quicktime
19
19
  video/mpeg4
20
20
  )
@@ -43,7 +43,7 @@ module AirPlayer
43
43
  end
44
44
 
45
45
  def self.playable?(path)
46
- MIME::Types.type_for(path).each do |mimetype|
46
+ MIME::Types.of(path).map(&:simplified).each do |mimetype|
47
47
  return SUPPORTED_MIME_TYPES.include?(mimetype)
48
48
  end
49
49
 
@@ -1,3 +1,3 @@
1
1
  module AirPlayer
2
- VERSION = '0.1.0'
2
+ VERSION = '1.0.0.pre'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airplayer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomohiro TAIRA
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-09 00:00:00.000000000 Z
11
+ date: 2014-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -56,44 +56,86 @@ dependencies:
56
56
  name: http
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - '='
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.5.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - '='
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.5.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: reel
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - '='
74
74
  - !ruby/object:Gem::Version
75
75
  version: 0.4.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - '='
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.4.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: reel-rack
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - '='
88
88
  - !ruby/object:Gem::Version
89
89
  version: 0.1.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - '='
95
95
  - !ruby/object:Gem::Version
96
96
  version: 0.1.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: celluloid
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '='
102
+ - !ruby/object:Gem::Version
103
+ version: 0.15.2
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 0.15.2
111
+ - !ruby/object:Gem::Dependency
112
+ name: celluloid-io
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
117
+ version: 0.15.0
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '='
123
+ - !ruby/object:Gem::Version
124
+ version: 0.15.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: cuba
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '='
130
+ - !ruby/object:Gem::Version
131
+ version: 3.1.1
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '='
137
+ - !ruby/object:Gem::Version
138
+ version: 3.1.1
97
139
  - !ruby/object:Gem::Dependency
98
140
  name: airplay
99
141
  requirement: !ruby/object:Gem::Requirement
@@ -112,16 +154,16 @@ dependencies:
112
154
  name: mime-types
113
155
  requirement: !ruby/object:Gem::Requirement
114
156
  requirements:
115
- - - '='
157
+ - - "~>"
116
158
  - !ruby/object:Gem::Version
117
- version: '2.0'
159
+ version: 2.4.0
118
160
  type: :runtime
119
161
  prerelease: false
120
162
  version_requirements: !ruby/object:Gem::Requirement
121
163
  requirements:
122
- - - '='
164
+ - - "~>"
123
165
  - !ruby/object:Gem::Version
124
- version: '2.0'
166
+ version: 2.4.0
125
167
  - !ruby/object:Gem::Dependency
126
168
  name: bundler
127
169
  requirement: !ruby/object:Gem::Requirement
@@ -216,6 +258,7 @@ extra_rdoc_files: []
216
258
  files:
217
259
  - ".gitignore"
218
260
  - ".rspec"
261
+ - ".tachikoma.yml"
219
262
  - ".travis.yml"
220
263
  - Gemfile
221
264
  - Gemfile.lock
@@ -252,9 +295,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
252
295
  version: '0'
253
296
  required_rubygems_version: !ruby/object:Gem::Requirement
254
297
  requirements:
255
- - - ">="
298
+ - - ">"
256
299
  - !ruby/object:Gem::Version
257
- version: '0'
300
+ version: 1.3.1
258
301
  requirements: []
259
302
  rubyforge_project:
260
303
  rubygems_version: 2.2.2