celluloid_pubsub 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +2 -0
  3. data/.gitignore +16 -0
  4. data/.rspec +1 -0
  5. data/.rubocop.yml +68 -0
  6. data/.travis.yml +12 -0
  7. data/CONTRIBUTING.md +44 -0
  8. data/Gemfile +3 -0
  9. data/Guardfile +12 -0
  10. data/LICENSE +20 -0
  11. data/README.rdoc +96 -0
  12. data/Rakefile +42 -0
  13. data/bin/appraisal +16 -0
  14. data/bin/autospec +16 -0
  15. data/bin/bundler +16 -0
  16. data/bin/cdiff +16 -0
  17. data/bin/coderay +16 -0
  18. data/bin/colortab +16 -0
  19. data/bin/coveralls +16 -0
  20. data/bin/decolor +16 -0
  21. data/bin/erubis +16 -0
  22. data/bin/guard +16 -0
  23. data/bin/htmldiff +16 -0
  24. data/bin/ldiff +16 -0
  25. data/bin/listen +16 -0
  26. data/bin/nokogiri +16 -0
  27. data/bin/phare +16 -0
  28. data/bin/pry +16 -0
  29. data/bin/rackup +16 -0
  30. data/bin/rails +16 -0
  31. data/bin/rake +16 -0
  32. data/bin/restclient +16 -0
  33. data/bin/rspec +16 -0
  34. data/bin/rubocop +16 -0
  35. data/bin/ruby-parse +16 -0
  36. data/bin/ruby-rewrite +16 -0
  37. data/bin/sass +16 -0
  38. data/bin/sass-convert +16 -0
  39. data/bin/scss +16 -0
  40. data/bin/scss-lint +16 -0
  41. data/bin/term_display +16 -0
  42. data/bin/term_mandel +16 -0
  43. data/bin/thor +16 -0
  44. data/bin/yard +16 -0
  45. data/bin/yardoc +16 -0
  46. data/bin/yardstick +16 -0
  47. data/bin/yri +16 -0
  48. data/celluloid_pubsub.gemspec +39 -0
  49. data/init.rb +1 -0
  50. data/lib/celluloid_pubsub/client_pubsub.rb +71 -0
  51. data/lib/celluloid_pubsub/reactor.rb +114 -0
  52. data/lib/celluloid_pubsub/registry.rb +9 -0
  53. data/lib/celluloid_pubsub/version.rb +14 -0
  54. data/lib/celluloid_pubsub/web_server.rb +92 -0
  55. data/lib/celluloid_pubsub.rb +6 -0
  56. data/spec/lib/celluloid_pubsub/client_pubsub_spec.rb +9 -0
  57. data/spec/lib/celluloid_pubsub/reactor_spec.rb +6 -0
  58. data/spec/lib/celluloid_pubsub/registry_spec.rb +6 -0
  59. data/spec/lib/celluloid_pubsub/web_server_spec.rb +6 -0
  60. data/spec/spec_helper.rb +48 -0
  61. metadata +459 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c30c56c0a1b8d29d6441a0f3eadd8beeabec8b89
4
+ data.tar.gz: 53b0601eacf606849369cd643236c8cede7c4155
5
+ SHA512:
6
+ metadata.gz: 6ccc1fbb62ee36a2dc73d19d11cdfdd4ceacf4348381c861bb7cb46a8314353ca43bfe8827c2eab68e1d93405f0061be5164c228c6c53f33ba14ce6c4ca3041e
7
+ data.tar.gz: a9896b940e618b9d4ad25550f3e3dbc819c56040b16357467ed68a2415405166edd04c79738d03807b916ab61b0d07d17cdc6f32038915edb97ce464bb3c50b8
data/.coveralls.yml ADDED
@@ -0,0 +1,2 @@
1
+ service_name: travis-ci
2
+ repo_token:
data/.gitignore ADDED
@@ -0,0 +1,16 @@
1
+ s.rbx/
2
+ .bundle/
3
+ *.gem
4
+ .idea/
5
+ .rvmrc
6
+ *.swp
7
+ log/*.log
8
+ pkg/
9
+ spec/dummy/db/*.sqlite3
10
+ spec/dummy/log/*.log
11
+ spec/dummy/tmp/
12
+ coverage
13
+ tags
14
+ Gemfile.lock
15
+ /nbproject/
16
+ /.git-rewrite/
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --colour
data/.rubocop.yml ADDED
@@ -0,0 +1,68 @@
1
+ AllCops:
2
+ Exclude:
3
+ - washout_builder.gemspec
4
+ - bin/**/*
5
+ - Guardfile
6
+
7
+ Documentation:
8
+ Enabled: false
9
+
10
+ Encoding:
11
+ Enabled: false
12
+
13
+ LineLength:
14
+ Max: 200
15
+
16
+ AccessModifierIndentation:
17
+ EnforcedStyle: outdent
18
+
19
+ IfUnlessModifier:
20
+ Enabled: false
21
+
22
+ CaseIndentation:
23
+ IndentWhenRelativeTo: case
24
+ IndentOneStep: true
25
+
26
+ MethodLength:
27
+ CountComments: false
28
+ Max: 20
29
+
30
+ SignalException:
31
+ Enabled: false
32
+
33
+ ColonMethodCall:
34
+ Enabled: false
35
+
36
+ AsciiComments:
37
+ Enabled: false
38
+
39
+ RegexpLiteral:
40
+ Enabled: false
41
+
42
+ AssignmentInCondition:
43
+ Enabled: false
44
+
45
+ ParameterLists:
46
+ CountKeywordArgs: false
47
+
48
+ SingleLineBlockParams:
49
+ Methods:
50
+ - reduce:
51
+ - memo
52
+ - item
53
+
54
+ Metrics/AbcSize:
55
+ Enabled: false
56
+
57
+ Style/CollectionMethods:
58
+ Enabled: true
59
+
60
+ Style/SymbolArray:
61
+ Enabled: true
62
+
63
+ Style/ExtraSpacing:
64
+ Enabled: true
65
+
66
+ Style/FileName:
67
+ Enabled: false
68
+
data/.travis.yml ADDED
@@ -0,0 +1,12 @@
1
+ language: ruby
2
+ before_install:
3
+ - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
4
+ - gem install bundler
5
+ rvm:
6
+ - 1.9.3
7
+ - jruby-19mode
8
+ - 2.0.0
9
+ env:
10
+ - RAILS_ENV=test RACK_ENV=test
11
+ notifications:
12
+ email: false
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,44 @@
1
+ # Contributing
2
+
3
+ We love pull requests. Here's a quick guide.
4
+
5
+ Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
6
+
7
+ Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
8
+
9
+ Fork, then clone the repo:
10
+
11
+ git clone git@github.com:your-username/celluloid_pubsub.git
12
+
13
+ Start a feature/bugfix branch.
14
+
15
+ Set up your machine:
16
+
17
+ bundle install
18
+
19
+ Make sure the tests pass:
20
+
21
+ bundle exec rake
22
+
23
+ Make your change. Add tests for your change. Make the tests pass:
24
+
25
+ bundle exec rake
26
+
27
+ Push to your fork and [submit a pull request][pr].
28
+
29
+ [pr]: https://github.com/bogdanRada/celluloid_pubsub/compare
30
+
31
+ At this point you're waiting on us. We like to at least comment on pull requests
32
+ within three business days (and, typically, one business day). We may suggest
33
+ some changes or improvements or alternatives.
34
+
35
+ Some things that will increase the chance that your pull request is accepted:
36
+
37
+ * Write tests.
38
+ * Try to follow this [style guide][style].
39
+ * Write a [good commit message][commit].
40
+
41
+ [style]: https://github.com/thoughtbot/guides/tree/master/style
42
+ [commit]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
43
+
44
+ Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,12 @@
1
+ # More info at https://github.com/guard/guard#readme
2
+
3
+ # Could be changed to whatever you want.
4
+ # See: https://github.com/guard/guard#notification
5
+ notification :off
6
+
7
+ guard 'rspec' do
8
+ watch %r{^spec/.+_spec\.rb$}
9
+ watch %r{lib/} do 'spec' end
10
+ end
11
+
12
+ # vim:ft=ruby
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2013 bogdanRada
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,96 @@
1
+ = celluloid_pubsub
2
+
3
+ = Overview
4
+ CelluloidPubsub is a simple ruby implementation of publish subscribe design patterns using celluloid actors and websockets, using Celluloid::Reel server
5
+
6
+ = Requirements
7
+
8
+ 1. {Ruby 1.9.x or Ruby 2.x.x}[http://www.ruby-lang.org]
9
+ 3. {Celluloid >= 0.16.0}[https://github.com/celluloid/celluloid]
10
+ 3. {Celluloid-IO >= 0.16.2}[https://github.com/celluloid/celluloid-io]
11
+ 4. {Reel >= 0.5.0}[https://github.com/celluloid/reel]
12
+ 5. {Celluloid-websocket-client = 0.0.1}[https://github.com/jeremyd/celluloid-websocket-client]
13
+ 6. {ActiveSuport = 0.0.1}[https://rubygems.org/gems/activesupport]
14
+
15
+ = Compatibility
16
+
17
+ Rails >3.0 only. MRI 1.9.x, 2.x, JRuby (--1.9).
18
+
19
+ Ruby 1.8 is not officially supported. We will accept further compatibilty pull-requests but no upcoming versions will be tested against it.
20
+
21
+ Rubinius support temporarily dropped due to Rails 4 incompatibility.
22
+
23
+ = Setup
24
+
25
+ Add the following to your Gemfile:
26
+
27
+ gem "celluloid_pubsub"
28
+
29
+ Please read {release details}[https://github.com/bogdanRada/celluloid_pubsub/releases] if you are upgrading. We break backward compatibility between large ticks but you can expect it to be specified at release notes.
30
+
31
+ = Usage Examples:
32
+
33
+ class Subscriber
34
+ include Celluloid
35
+ include Celluloid::Logger
36
+
37
+ def initialize
38
+ CelluloidPubsub::Client.connect(actor: Actor.current) do |ws|
39
+ ws.subscribe('test_channel') # this will execute after the connection is opened
40
+ end
41
+ end
42
+
43
+ def on_message(message)
44
+ puts "got #{message.inspect}"
45
+ end
46
+
47
+ def on_close(code, reason)
48
+ puts "websocket connection closed: #{code.inspect}, #{reason.inspect}"
49
+ terminate
50
+ end
51
+
52
+ end
53
+
54
+ class Publisher
55
+ include Celluloid
56
+ include Celluloid::Logger
57
+
58
+ def initialize
59
+ CelluloidPubsub::Client.connect(actor: Actor.current) do |ws|
60
+ ws.publish('test_channel', {'data' => "my_message" }) # the message needs to be a Hash
61
+ end
62
+ end
63
+
64
+ end
65
+
66
+ CelluloidPubsub::Webser.supervise_as(:web_server)
67
+ Subscriber.supervise_as(:subscriber)
68
+ Publisher.supervise_as(:pubilsher)
69
+
70
+
71
+ = Testing
72
+
73
+ To test, do the following:
74
+
75
+ 1. cd to the gem root.
76
+ 2. bundle install
77
+ 3. bundle exec rake
78
+
79
+ = Contributions
80
+
81
+ Please log all feedback/issues via {GitHub Issues}[http://github.com/bogdanRada/celluloid_pubsub/issues]. Thanks.
82
+
83
+ == Contributing to celluloid_pubsub
84
+
85
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
86
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
87
+ * Fork the project.
88
+ * Start a feature/bugfix branch.
89
+ * Commit and push until you are happy with your contribution.
90
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
91
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
92
+
93
+ == Copyright
94
+
95
+ Copyright (c) 2015 bogdanRada. See LICENSE.txt for
96
+ further details.
data/Rakefile ADDED
@@ -0,0 +1,42 @@
1
+ require 'bundler/setup'
2
+ require 'bundler/gem_tasks'
3
+ require 'rspec/core/rake_task'
4
+ require 'coveralls/rake/task'
5
+ Coveralls::RakeTask.new
6
+
7
+ RSpec::Core::RakeTask.new(:spec) do |spec|
8
+ spec.rspec_opts = ['--backtrace '] if ENV['DEBUG']
9
+ end
10
+
11
+ # desc "Prepare dummy application"
12
+ # task :prepare do
13
+ # ENV["RAILS_ENV"] ||= 'test'
14
+ # require File.expand_path("./spec/dummy/config/environment", File.dirname(__FILE__))
15
+ # Dummy::Application.load_tasks
16
+ # Rake::Task["db:test:prepare"].invoke
17
+ # end
18
+
19
+ unless ENV['TRAVIS']
20
+ require 'rvm-tester'
21
+ RVM::Tester::TesterTask.new(:suite) do |t|
22
+ t.rubies = %w(1.9.3 2.0.0 2.1.0) # which versions to test (required!)
23
+ t.bundle_install = true # updates Gemfile.lock, default is true
24
+ t.use_travis = true # looks for Rubies in .travis.yml (on by default)
25
+ t.command = 'bundle exec rake' # runs plain "rake" by default
26
+ t.env = { 'VERBOSE' => '1', 'RAILS_ENV' => 'test', 'RACK_ENV' => 'test' } # set any ENV vars
27
+ t.num_workers = 5 # defaults to 3
28
+ t.verbose = true # shows more output, off by default
29
+ end
30
+ end
31
+
32
+ desc 'Default: run the unit tests.'
33
+ task default: [:all]
34
+
35
+ desc 'Test the plugin under all supported Rails versions.'
36
+ task :all do |_t|
37
+ if ENV['TRAVIS']
38
+ exec(' bundle exec phare && bundle exec rake spec && bundle exec rake coveralls:push')
39
+ else
40
+ exec(' bundle exec phare && bundle exec rake spec')
41
+ end
42
+ end
data/bin/appraisal ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'appraisal' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('appraisal', 'appraisal')
data/bin/autospec ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'autospec' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('rspec-core', 'autospec')
data/bin/bundler ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'bundler' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('bundler', 'bundler')
data/bin/cdiff ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'cdiff' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('term-ansicolor', 'cdiff')
data/bin/coderay ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'coderay' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('coderay', 'coderay')
data/bin/colortab ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'colortab' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('term-ansicolor', 'colortab')
data/bin/coveralls ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'coveralls' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('coveralls', 'coveralls')
data/bin/decolor ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'decolor' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('term-ansicolor', 'decolor')
data/bin/erubis ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'erubis' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('erubis', 'erubis')
data/bin/guard ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'guard' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('guard', 'guard')
data/bin/htmldiff ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'htmldiff' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('diff-lcs', 'htmldiff')
data/bin/ldiff ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'ldiff' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('diff-lcs', 'ldiff')
data/bin/listen ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'listen' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('listen', 'listen')
data/bin/nokogiri ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'nokogiri' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('nokogiri', 'nokogiri')
data/bin/phare ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'phare' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('phare', 'phare')
data/bin/pry ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'pry' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('pry', 'pry')
data/bin/rackup ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'rackup' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('rack', 'rackup')
data/bin/rails ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'rails' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('railties', 'rails')
data/bin/rake ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'rake' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('rake', 'rake')