multi_deckjs 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in multi_deckjs.gemspec
4
+ gemspec
data/README.md ADDED
@@ -0,0 +1,24 @@
1
+ #multi_deck.js
2
+
3
+ Need to keep everyone looking at an online HTML presentation in sync? Use this.
4
+
5
+ ## Getting Started (with this hacky prototype)
6
+
7
+ Start the sync server:
8
+
9
+ $ ruby -I lib bin/multi_deckjs
10
+
11
+ Visit the test presentation in a few browsers:
12
+
13
+ $ open lib/multi_deckjs/introduction/index.html
14
+
15
+ Hit the arrow keys to move around and watch the browsers stay in sync.
16
+
17
+ ## Dependencies
18
+
19
+ Faye
20
+
21
+ ## Things to hack in
22
+
23
+ * Nice packaging and easy building of presentations
24
+ * Syncing your slide when you join late and haven't touched anything (hint: use the $.deck('currentIndex') method I added to deck.js)
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/bin/multi_deckjs ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ begin
4
+ require 'rubygems'
5
+ gem 'multi_deckjs'
6
+ rescue LoadError
7
+ end
8
+
9
+ require "multi_deckjs"
10
+
11
+ MultiDeckjs::Server.run
@@ -0,0 +1,11 @@
1
+ require "multi_deckjs/version"
2
+ require 'faye'
3
+
4
+ module MultiDeckjs
5
+ class Server
6
+ def self.run
7
+ bayeux = Faye::RackAdapter.new(:mount => '/faye', :timeout => 25)
8
+ bayeux.listen(8000)
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ module MultiDeckjs
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,22 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "multi_deckjs/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "multi_deckjs"
7
+ s.version = MultiDeckjs::VERSION
8
+ s.authors = ["Edward Ocampo-Gooding"]
9
+ s.email = ["edward@edwardog.net"]
10
+ s.homepage = ""
11
+ s.summary = %q{Need to keep everyone looking at an online HTML presentation in sync? Use this.}
12
+ s.description = %q{Need to keep everyone looking at an online HTML presentation in sync? Use this.}
13
+
14
+ s.rubyforge_project = "multi_deckjs"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+
21
+ s.add_runtime_dependency "faye"
22
+ end
metadata ADDED
@@ -0,0 +1,72 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: multi_deckjs
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.1
6
+ platform: ruby
7
+ authors:
8
+ - Edward Ocampo-Gooding
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-08-25 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: faye
17
+ prerelease: false
18
+ requirement: &id001 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ type: :runtime
25
+ version_requirements: *id001
26
+ description: Need to keep everyone looking at an online HTML presentation in sync? Use this.
27
+ email:
28
+ - edward@edwardog.net
29
+ executables:
30
+ - multi_deckjs
31
+ extensions: []
32
+
33
+ extra_rdoc_files: []
34
+
35
+ files:
36
+ - .gitignore
37
+ - Gemfile
38
+ - README.md
39
+ - Rakefile
40
+ - bin/multi_deckjs
41
+ - lib/multi_deckjs.rb
42
+ - lib/multi_deckjs/version.rb
43
+ - multi_deckjs.gemspec
44
+ homepage: ""
45
+ licenses: []
46
+
47
+ post_install_message:
48
+ rdoc_options: []
49
+
50
+ require_paths:
51
+ - lib
52
+ required_ruby_version: !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: "0"
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: "0"
64
+ requirements: []
65
+
66
+ rubyforge_project: multi_deckjs
67
+ rubygems_version: 1.8.5
68
+ signing_key:
69
+ specification_version: 3
70
+ summary: Need to keep everyone looking at an online HTML presentation in sync? Use this.
71
+ test_files: []
72
+