social_stream-presence 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,9 @@
1
- # SocialStream migrations live at least 10 minor versions.
2
- # Then they are merged.
3
- # This is a placeholder migration to merge SocialStreamPresence' migrations
4
1
  class CreateSocialStreamPresence < ActiveRecord::Migration
5
- def up
6
- end
7
-
8
- def down
2
+ def change
3
+ change_table :users do |t|
4
+ t.boolean :connected, :default => false
5
+ t.string :status, :default => "available"
6
+ t.boolean :chat_enabled, :default => true
7
+ end
9
8
  end
10
9
  end
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Presence
3
- VERSION = "0.16.0"
3
+ VERSION = "0.17.0"
4
4
  end
5
5
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ["lib"]
20
20
 
21
21
  # Gem dependencies
22
- s.add_runtime_dependency('social_stream-base', '~> 0.23.0')
22
+ s.add_runtime_dependency('social_stream-base', '~> 0.24.0')
23
23
 
24
24
  s.add_runtime_dependency "xmpp4r"
25
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_stream-presence
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-03 00:00:00.000000000 Z
12
+ date: 2012-10-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: social_stream-base
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.23.0
21
+ version: 0.24.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 0.23.0
29
+ version: 0.24.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: xmpp4r
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -191,9 +191,6 @@ files:
191
191
  - config/locales/en.yml
192
192
  - config/locales/es.yml
193
193
  - config/routes.rb
194
- - db/migrate/20110711111408_add_connected_column_to_user.rb
195
- - db/migrate/20110928135031_add_status_column_to_user.rb
196
- - db/migrate/20111116194112_add_chat_enabled_column_to_user.rb
197
194
  - db/migrate/20120330132148_create_social_stream_presence.rb
198
195
  - ejabberd/conf/ejabberd_example.cfg
199
196
  - ejabberd/conf/ssconfig_example.cfg
@@ -323,3 +320,4 @@ specification_version: 3
323
320
  summary: Presence capabilities for Social Stream, the core for building social network
324
321
  websites.
325
322
  test_files: []
323
+ has_rdoc:
@@ -1,9 +0,0 @@
1
- class AddConnectedColumnToUser < ActiveRecord::Migration
2
- def self.up
3
- add_column :users, :connected, :boolean, :default => false
4
- end
5
-
6
- def self.down
7
- remove_column :users, :connected
8
- end
9
- end
@@ -1,9 +0,0 @@
1
- class AddStatusColumnToUser < ActiveRecord::Migration
2
- def self.up
3
- add_column :users, :status, :string, :default => "available"
4
- end
5
-
6
- def self.down
7
- remove_column :users, :status
8
- end
9
- end
@@ -1,9 +0,0 @@
1
- class AddChatEnabledColumnToUser < ActiveRecord::Migration
2
- def self.up
3
- add_column :users, :chat_enabled, :boolean, :default => true
4
- end
5
-
6
- def self.down
7
- remove_column :users, :chat_enabled
8
- end
9
- end