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.
@@ -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 -1
154
+ exit(-1)
155
155
  end
156
156
  end
157
157
 
data/bin/togify CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'rubygems'
4
+ require 'active_record'
4
5
  require 'rubigen'
5
6
 
6
7
  if %w(-v --version).include? ARGV.first
data/config/hoe.rb CHANGED
@@ -13,7 +13,7 @@ EXTRA_DEPENDENCIES = [
13
13
  ['tog-desert', '>= 0.3.4'],
14
14
  ['RedCloth', '>= 3.0.4'],
15
15
  ['rubyzip', '>= 0.9.1'],
16
- ['oauth', '>= 0.2.7'],
16
+ ['oauth', '>= 0.2.7']
17
17
  ]
18
18
 
19
19
  REV = nil
data/lib/tog/version.rb CHANGED
@@ -2,7 +2,7 @@ module Tog
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 4
5
- TINY = 0
5
+ TINY = 1
6
6
  MODULE = "Thebe"
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
 
@@ -21,9 +21,11 @@ else
21
21
  end
22
22
 
23
23
  begin
24
+ require 'active_record'
24
25
  require 'rubigen'
25
26
  rescue LoadError
26
27
  require 'rubygems'
28
+ require 'active_record'
27
29
  require 'rubigen'
28
30
  end
29
31
  require 'rubigen/helpers/generator_test_helper'
@@ -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 (plugin, "git@github.com:tog/(.*).git")
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.0"
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{2008-12-11}
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.0
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: 2008-12-11 00:00:00 -08:00
14
+ date: 2009-01-27 00:00:00 -08:00
15
15
  default_executable: togify
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency