social_stream 0.7.7 → 0.7.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/social_stream/version.rb +1 -1
- data/social_stream.gemspec +2 -2
- data/spec/support/db.rb +3 -20
- metadata +11 -12
- data/spec/support/migrations.rb +0 -26
data/social_stream.gemspec
CHANGED
@@ -11,8 +11,8 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.files = `git ls-files`.split("\n")
|
12
12
|
|
13
13
|
# Gem dependencies
|
14
|
-
s.add_runtime_dependency('social_stream-base', '~> 0.7.
|
15
|
-
s.add_runtime_dependency('social_stream-documents', '~> 0.
|
14
|
+
s.add_runtime_dependency('social_stream-base', '~> 0.7.10')
|
15
|
+
s.add_runtime_dependency('social_stream-documents', '~> 0.2.0')
|
16
16
|
|
17
17
|
# Development Gem dependencies
|
18
18
|
#
|
data/spec/support/db.rb
CHANGED
@@ -1,22 +1,5 @@
|
|
1
|
-
require
|
1
|
+
require 'social_stream/migrations/documents'
|
2
2
|
|
3
|
-
|
4
|
-
ActsAsTaggableOnMigration.down
|
5
|
-
rescue
|
6
|
-
puts "WARNING: ActsAsTaggableOnMigration failed to rollback"
|
7
|
-
end
|
3
|
+
SocialStream::Migrations::Documents.new.down
|
8
4
|
|
9
|
-
|
10
|
-
begin
|
11
|
-
"Create#{ m }".constantize.down
|
12
|
-
rescue
|
13
|
-
puts "WARNING: #{ m } migration failed to rollback"
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
CreateMailboxer.up
|
18
|
-
CreateSocialStream.up
|
19
|
-
ActsAsTaggableOnMigration.up
|
20
|
-
CreateSocialStreamDocuments.up
|
21
|
-
|
22
|
-
require File.expand_path("../../dummy/db/seeds", __FILE__)
|
5
|
+
SocialStream::Migrations::Documents.new.up
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
9
|
+
- 8
|
10
|
+
version: 0.7.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- GING - DIT - UPM
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-07-
|
19
|
+
date: 2011-07-28 00:00:00 +02:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -27,12 +27,12 @@ dependencies:
|
|
27
27
|
requirements:
|
28
28
|
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
hash:
|
30
|
+
hash: 23
|
31
31
|
segments:
|
32
32
|
- 0
|
33
33
|
- 7
|
34
|
-
-
|
35
|
-
version: 0.7.
|
34
|
+
- 10
|
35
|
+
version: 0.7.10
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id001
|
38
38
|
- !ruby/object:Gem::Dependency
|
@@ -43,12 +43,12 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - ~>
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
hash:
|
46
|
+
hash: 23
|
47
47
|
segments:
|
48
48
|
- 0
|
49
|
-
-
|
50
|
-
-
|
51
|
-
version: 0.
|
49
|
+
- 2
|
50
|
+
- 0
|
51
|
+
version: 0.2.0
|
52
52
|
type: :runtime
|
53
53
|
version_requirements: *id002
|
54
54
|
- !ruby/object:Gem::Dependency
|
@@ -230,7 +230,6 @@ files:
|
|
230
230
|
- spec/support/cancan.rb
|
231
231
|
- spec/support/db.rb
|
232
232
|
- spec/support/devise.rb
|
233
|
-
- spec/support/migrations.rb
|
234
233
|
has_rdoc: true
|
235
234
|
homepage: http://social-stream.dit.upm.es/
|
236
235
|
licenses: []
|
data/spec/support/migrations.rb
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
class MigrationFinder
|
2
|
-
def initialize gem, path
|
3
|
-
finder = Gem::GemPathSearcher.new
|
4
|
-
taggable_spec = finder.find(gem)
|
5
|
-
taggable_migration = finder.matching_files(taggable_spec,
|
6
|
-
File.join(*path)).first
|
7
|
-
|
8
|
-
require taggable_migration
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
# Social Stream Base
|
13
|
-
MigrationFinder.new 'social_stream-base',
|
14
|
-
['..', 'db', 'migrate', '20110610112023_create_social_stream']
|
15
|
-
|
16
|
-
# acts-as-taggable-on
|
17
|
-
MigrationFinder.new 'acts-as-taggable-on',
|
18
|
-
["generators", "acts_as_taggable_on", "migration", "templates", "active_record", "migration"]
|
19
|
-
|
20
|
-
# Mailboxer
|
21
|
-
MigrationFinder.new 'mailboxer',
|
22
|
-
['generators', 'mailboxer', 'templates', 'migration']
|
23
|
-
|
24
|
-
# Social Stream Documents
|
25
|
-
MigrationFinder.new 'social_stream-documents',
|
26
|
-
['..', 'db', 'migrate', '20110615143707_create_social_stream_documents.rb']
|