tidyflash 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Manifest CHANGED
@@ -38,3 +38,4 @@ templates/swfobject/bin/index.html
38
38
  templates/swfobject/bin/js/swfobject.js
39
39
  templates/swfobject/swfobject.rb
40
40
  test/test_tidy_project.rb
41
+ tidyflash.gemspec
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('tidyflash', '0.1.1') do |p|
5
+ Echoe.new('tidyflash', '0.1.2') do |p|
6
6
  p.description = "Tidy Flash - an ActionScript framework for people who love Ruby"
7
7
  p.url = "http://github.com/michaelforrest/tidy"
8
8
  p.author = "Michael Forrest"
data/lib/tidy_project.rb CHANGED
@@ -6,20 +6,20 @@ class TidyProject
6
6
 
7
7
 
8
8
  def initialize(project_name)
9
- @project_dir = project_name
10
- raise "Project already exists" if File.exists? project_name
11
- FileUtils.mkdir_p(project_name)
12
- Dir.chdir(@project_dir) do
13
- Tidy::Generate.new(:template_id=>'project', :args=>[project_name])
14
- end
15
9
  unless File.exists?(File.expand_path("~/.tidy/tidy-as3"))
16
10
  puts "You don't have the tidy as3 libs installed. Attempting to pull them from github..."
17
- command = "git clone git@github.com:michaelforrest/tidy-as3.git ~/.tidy/tidy-as3"
11
+ command = "git clone git://github.com/michaelforrest/tidy.git ~/.tidy/tidy-as3"
18
12
  puts command
19
13
  stdin, stdout, stderr = Open3.popen3(command)
20
14
  puts "#{stdout.read}\n#{stderr.read}"
21
15
 
22
16
  end
17
+ @project_dir = project_name
18
+ raise "Project already exists" if File.exists? project_name
19
+ FileUtils.mkdir_p(project_name)
20
+ Dir.chdir(@project_dir) do
21
+ Tidy::Generate.new(:template_id=>'project', :args=>[project_name])
22
+ end
23
23
  end
24
24
 
25
25
 
@@ -1,3 +1,4 @@
1
+ require 'rubygems'
1
2
  require 'tidy/compile'
2
3
 
3
4
  #desc 'compile and run air app (needs a couple of extra files manually created so far)'
data/tidyflash.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{tidyflash}
5
- s.version = "0.1.1"
5
+ s.version = "0.1.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Michael Forrest"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Forrest