tog-tog 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app_generators/togify/togify_generator.rb +1 -1
- data/bin/togify +1 -0
- data/config/hoe.rb +1 -1
- data/lib/tog/version.rb +1 -1
- data/test/test_generator_helper.rb +2 -0
- data/test/test_togify_generator.rb +1 -2
- data/tog.gemspec +2 -2
- metadata +2 -2
@@ -151,7 +151,7 @@ EOS
|
|
151
151
|
|
152
152
|
rescue Exception => e
|
153
153
|
logger.error "There has been a problem trying to unpack the #{plugin} tarball downloaded from github. Remove the changes made on your app by togify and try again. Sorry for the inconveniences."
|
154
|
-
exit
|
154
|
+
exit(-1)
|
155
155
|
end
|
156
156
|
end
|
157
157
|
|
data/bin/togify
CHANGED
data/config/hoe.rb
CHANGED
data/lib/tog/version.rb
CHANGED
@@ -27,7 +27,6 @@ class TestTogifyGenerator < Test::Unit::TestCase
|
|
27
27
|
assert_generated_file "config/routes.rb" do |body|
|
28
28
|
assert_has_plugin_routes body, plugin
|
29
29
|
end
|
30
|
-
assert_remote_origin_of_plugin (plugin, "git://github.com/tog/(.*).git")
|
31
30
|
}
|
32
31
|
generated_migration = Dir.glob("#{APP_ROOT}/db/migrate/*_integrate_tog.rb")[0]
|
33
32
|
assert generated_migration, "should be a IntegrateTog migration in the togified app"
|
@@ -40,7 +39,7 @@ class TestTogifyGenerator < Test::Unit::TestCase
|
|
40
39
|
def test_generator_with_dev_repositories
|
41
40
|
run_generator('togify', [APP_ROOT], sources, {:development => true})
|
42
41
|
@plugins.each{|plugin|
|
43
|
-
assert_remote_origin_of_plugin
|
42
|
+
assert_remote_origin_of_plugin(plugin, "git@github.com:tog/(.*).git")
|
44
43
|
}
|
45
44
|
end
|
46
45
|
|
data/tog.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{tog}
|
5
|
-
s.version = "0.4.
|
5
|
+
s.version = "0.4.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Aitor Garc\303\255a", "Alberto Molpeceres", "Roberto Salicio"]
|
9
|
-
s.date = %q{
|
9
|
+
s.date = %q{2009-01-27}
|
10
10
|
s.default_executable = %q{togify}
|
11
11
|
s.description = %q{extensible open source social network platform}
|
12
12
|
s.email = ["aitor@linkingpaths.com", "alberto@linkingpaths.com", "roberto@linkingpaths.com"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tog-tog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Aitor Garc\xC3\xADa"
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date:
|
14
|
+
date: 2009-01-27 00:00:00 -08:00
|
15
15
|
default_executable: togify
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|