social_stream-presence 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. data/.gitignore +4 -0
  2. data/.project +17 -0
  3. data/Gemfile +4 -0
  4. data/Rakefile +1 -0
  5. data/lib/social_stream-presence.rb +7 -0
  6. data/lib/social_stream-presence/version.rb +5 -0
  7. data/social_stream-presence.gemspec +28 -0
  8. data/spec/demo/.gitignore +5 -0
  9. data/spec/demo/.rspec +1 -0
  10. data/spec/demo/Gemfile +33 -0
  11. data/spec/demo/README +261 -0
  12. data/spec/demo/Rakefile +7 -0
  13. data/spec/demo/app/assets/images/rails.png +0 -0
  14. data/spec/demo/app/assets/javascripts/application.js +9 -0
  15. data/spec/demo/app/assets/stylesheets/application.css +7 -0
  16. data/spec/demo/app/controllers/application_controller.rb +3 -0
  17. data/spec/demo/app/helpers/application_helper.rb +2 -0
  18. data/spec/demo/app/mailers/.gitkeep +0 -0
  19. data/spec/demo/app/models/.gitkeep +0 -0
  20. data/spec/demo/app/views/layouts/application.html.erb +14 -0
  21. data/spec/demo/autotest/discover.rb +2 -0
  22. data/spec/demo/config.ru +4 -0
  23. data/spec/demo/config/application.rb +41 -0
  24. data/spec/demo/config/boot.rb +6 -0
  25. data/spec/demo/config/database.yml +25 -0
  26. data/spec/demo/config/environment.rb +5 -0
  27. data/spec/demo/config/environments/development.rb +27 -0
  28. data/spec/demo/config/environments/production.rb +54 -0
  29. data/spec/demo/config/environments/test.rb +39 -0
  30. data/spec/demo/config/initializers/backtrace_silencers.rb +7 -0
  31. data/spec/demo/config/initializers/inflections.rb +10 -0
  32. data/spec/demo/config/initializers/mime_types.rb +5 -0
  33. data/spec/demo/config/initializers/secret_token.rb +7 -0
  34. data/spec/demo/config/initializers/session_store.rb +8 -0
  35. data/spec/demo/config/initializers/wrap_parameters.rb +12 -0
  36. data/spec/demo/config/locales/en.yml +5 -0
  37. data/spec/demo/config/routes.rb +58 -0
  38. data/spec/demo/db/seeds.rb +7 -0
  39. data/spec/demo/doc/README_FOR_APP +2 -0
  40. data/spec/demo/lib/tasks/.gitkeep +0 -0
  41. data/spec/demo/log/.gitkeep +0 -0
  42. data/spec/demo/public/404.html +26 -0
  43. data/spec/demo/public/422.html +26 -0
  44. data/spec/demo/public/500.html +26 -0
  45. data/spec/demo/public/favicon.ico +0 -0
  46. data/spec/demo/public/index.html +241 -0
  47. data/spec/demo/public/robots.txt +5 -0
  48. data/spec/demo/script/rails +6 -0
  49. data/spec/demo/spec/spec_helper.rb +27 -0
  50. data/spec/demo/test/fixtures/.gitkeep +0 -0
  51. data/spec/demo/test/functional/.gitkeep +0 -0
  52. data/spec/demo/test/integration/.gitkeep +0 -0
  53. data/spec/demo/test/performance/browsing_test.rb +12 -0
  54. data/spec/demo/test/test_helper.rb +13 -0
  55. data/spec/demo/test/unit/.gitkeep +0 -0
  56. data/spec/demo/vendor/assets/stylesheets/.gitkeep +0 -0
  57. data/spec/demo/vendor/plugins/.gitkeep +0 -0
  58. data/spec/discover.rb +2 -0
  59. data/spec/spec_helper.rb +27 -0
  60. metadata +147 -0
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-Agent: *
5
+ # Disallow: /
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,27 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require File.expand_path("../../config/environment", __FILE__)
4
+ require 'rspec/rails'
5
+
6
+ # Requires supporting ruby files with custom matchers and macros, etc,
7
+ # in spec/support/ and its subdirectories.
8
+ Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+ # == Mock Framework
12
+ #
13
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
14
+ #
15
+ # config.mock_with :mocha
16
+ # config.mock_with :flexmock
17
+ # config.mock_with :rr
18
+ config.mock_with :rspec
19
+
20
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
21
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
22
+
23
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
24
+ # examples within a transaction, remove the following line or assign false
25
+ # instead of true.
26
+ config.use_transactional_fixtures = true
27
+ end
File without changes
File without changes
File without changes
@@ -0,0 +1,12 @@
1
+ require 'test_helper'
2
+ require 'rails/performance_test_help'
3
+
4
+ class BrowsingTest < ActionDispatch::PerformanceTest
5
+ # Refer to the documentation for all available options
6
+ # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
7
+ # :output => 'tmp/performance', :formats => [:flat] }
8
+
9
+ def test_homepage
10
+ get '/'
11
+ end
12
+ end
@@ -0,0 +1,13 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
7
+ #
8
+ # Note: You'll currently still have to declare fixtures explicitly in integration tests
9
+ # -- they do not yet inherit this setting
10
+ fixtures :all
11
+
12
+ # Add more helper methods to be used by all tests here...
13
+ end
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ Autotest.add_discovery { "rails" }
2
+ Autotest.add_discovery { "rspec2" }
@@ -0,0 +1,27 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require File.expand_path("../demo/config/environment.rb", __FILE__)
4
+ require 'rspec/rails'
5
+
6
+
7
+ # Load support files
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
9
+
10
+ RSpec.configure do |config|
11
+ # == Mock Framework
12
+ #
13
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
14
+ #
15
+ # config.mock_with :mocha
16
+ # config.mock_with :flexmock
17
+ # config.mock_with :rr
18
+ config.mock_with :rspec
19
+
20
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
21
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
22
+
23
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
24
+ # examples within a transaction, remove the following line or assign false
25
+ # instead of true.
26
+ config.use_transactional_fixtures = true
27
+ end
metadata ADDED
@@ -0,0 +1,147 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: social_stream-presence
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.1
6
+ platform: ruby
7
+ authors:
8
+ - Aldo Gordillo
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-06-27 00:00:00 +02:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: social_stream-base
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ~>
23
+ - !ruby/object:Gem::Version
24
+ version: 0.6.0
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: rails
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - "="
34
+ - !ruby/object:Gem::Version
35
+ version: 3.1.0.rc4
36
+ type: :development
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: rspec
40
+ prerelease: false
41
+ requirement: &id003 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - "="
45
+ - !ruby/object:Gem::Version
46
+ version: 2.1.0
47
+ type: :development
48
+ version_requirements: *id003
49
+ description: Social Stream is a Ruby on Rails engine providing your application with social networking features and activity streams.
50
+ email:
51
+ - iamchrono@gmail.com
52
+ executables: []
53
+
54
+ extensions: []
55
+
56
+ extra_rdoc_files: []
57
+
58
+ files:
59
+ - .gitignore
60
+ - .project
61
+ - Gemfile
62
+ - Rakefile
63
+ - lib/social_stream-presence.rb
64
+ - lib/social_stream-presence/version.rb
65
+ - social_stream-presence.gemspec
66
+ - spec/demo/.gitignore
67
+ - spec/demo/.rspec
68
+ - spec/demo/Gemfile
69
+ - spec/demo/README
70
+ - spec/demo/Rakefile
71
+ - spec/demo/app/assets/images/rails.png
72
+ - spec/demo/app/assets/javascripts/application.js
73
+ - spec/demo/app/assets/stylesheets/application.css
74
+ - spec/demo/app/controllers/application_controller.rb
75
+ - spec/demo/app/helpers/application_helper.rb
76
+ - spec/demo/app/mailers/.gitkeep
77
+ - spec/demo/app/models/.gitkeep
78
+ - spec/demo/app/views/layouts/application.html.erb
79
+ - spec/demo/autotest/discover.rb
80
+ - spec/demo/config.ru
81
+ - spec/demo/config/application.rb
82
+ - spec/demo/config/boot.rb
83
+ - spec/demo/config/database.yml
84
+ - spec/demo/config/environment.rb
85
+ - spec/demo/config/environments/development.rb
86
+ - spec/demo/config/environments/production.rb
87
+ - spec/demo/config/environments/test.rb
88
+ - spec/demo/config/initializers/backtrace_silencers.rb
89
+ - spec/demo/config/initializers/inflections.rb
90
+ - spec/demo/config/initializers/mime_types.rb
91
+ - spec/demo/config/initializers/secret_token.rb
92
+ - spec/demo/config/initializers/session_store.rb
93
+ - spec/demo/config/initializers/wrap_parameters.rb
94
+ - spec/demo/config/locales/en.yml
95
+ - spec/demo/config/routes.rb
96
+ - spec/demo/db/seeds.rb
97
+ - spec/demo/doc/README_FOR_APP
98
+ - spec/demo/lib/tasks/.gitkeep
99
+ - spec/demo/log/.gitkeep
100
+ - spec/demo/public/404.html
101
+ - spec/demo/public/422.html
102
+ - spec/demo/public/500.html
103
+ - spec/demo/public/favicon.ico
104
+ - spec/demo/public/index.html
105
+ - spec/demo/public/robots.txt
106
+ - spec/demo/script/rails
107
+ - spec/demo/spec/spec_helper.rb
108
+ - spec/demo/test/fixtures/.gitkeep
109
+ - spec/demo/test/functional/.gitkeep
110
+ - spec/demo/test/integration/.gitkeep
111
+ - spec/demo/test/performance/browsing_test.rb
112
+ - spec/demo/test/test_helper.rb
113
+ - spec/demo/test/unit/.gitkeep
114
+ - spec/demo/vendor/assets/stylesheets/.gitkeep
115
+ - spec/demo/vendor/plugins/.gitkeep
116
+ - spec/discover.rb
117
+ - spec/spec_helper.rb
118
+ has_rdoc: true
119
+ homepage: https://github.com/ging/social_stream-presence
120
+ licenses: []
121
+
122
+ post_install_message:
123
+ rdoc_options: []
124
+
125
+ require_paths:
126
+ - lib
127
+ required_ruby_version: !ruby/object:Gem::Requirement
128
+ none: false
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: "0"
133
+ required_rubygems_version: !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: "0"
139
+ requirements: []
140
+
141
+ rubyforge_project: social_stream-presence
142
+ rubygems_version: 1.6.1
143
+ signing_key:
144
+ specification_version: 3
145
+ summary: Presence capabilities for Social Stream, the core for building social network websites
146
+ test_files: []
147
+