aitor-tog_social 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.txt +1 -0
- data/Rakefile +22 -0
- data/init.rb +8 -0
- metadata +6 -11
data/README.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Hey tog!
|
data/Rakefile
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'rake'
|
2
|
+
require 'rake/testtask'
|
3
|
+
require 'rake/rdoctask'
|
4
|
+
|
5
|
+
desc 'Default: run unit tests.'
|
6
|
+
task :default => :test
|
7
|
+
|
8
|
+
desc 'Test the tog_social plugin.'
|
9
|
+
Rake::TestTask.new(:test) do |t|
|
10
|
+
t.libs << 'lib'
|
11
|
+
t.pattern = 'test/**/*_test.rb'
|
12
|
+
t.verbose = true
|
13
|
+
end
|
14
|
+
|
15
|
+
desc 'Generate documentation for the tog_social plugin.'
|
16
|
+
Rake::RDocTask.new(:rdoc) do |rdoc|
|
17
|
+
rdoc.rdoc_dir = 'rdoc'
|
18
|
+
rdoc.title = 'Tog Social'
|
19
|
+
rdoc.options << '--line-numbers' << '--inline-source'
|
20
|
+
rdoc.rdoc_files.include('README', 'MIT-LICENCE', 'CHANGELOG')
|
21
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
22
|
+
end
|
data/init.rb
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
require_plugin 'tog_core'
|
2
|
+
require_plugin 'acts_as_state_machine'
|
3
|
+
|
4
|
+
Tog::Plugins.settings :tog_social, "group.image.storage" => "file_system",
|
5
|
+
"group.image.versions.big" => "128x128",
|
6
|
+
"group.image.versions.medium" => "72x72",
|
7
|
+
"group.image.versions.small" => "25x25",
|
8
|
+
"group.image.versions.tiny" => "12x12"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aitor-tog_social
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aitor Garcia
|
@@ -13,16 +13,8 @@ cert_chain: []
|
|
13
13
|
|
14
14
|
date: 2008-04-24 00:00:00 -07:00
|
15
15
|
default_executable:
|
16
|
-
dependencies:
|
17
|
-
|
18
|
-
name: mime-types
|
19
|
-
version_requirement:
|
20
|
-
version_requirements: !ruby/object:Gem::Requirement
|
21
|
-
requirements:
|
22
|
-
- - ">"
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: 0.0.0
|
25
|
-
version:
|
16
|
+
dependencies: []
|
17
|
+
|
26
18
|
description: Tog social
|
27
19
|
email: aitor@linkingpaths
|
28
20
|
executables: []
|
@@ -41,6 +33,9 @@ files:
|
|
41
33
|
- app/views
|
42
34
|
- config/routes.rb
|
43
35
|
- db/migrate/001_create_tog_social_tables.rb
|
36
|
+
- init.rb
|
37
|
+
- Rakefile
|
38
|
+
- README.txt
|
44
39
|
- tasks
|
45
40
|
- test/factories.rb
|
46
41
|
- test/test_helper.rb
|