ruboss4ruby 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,3 @@
1
- == 1.1.0 / 2008-12-13
1
+ == 1.1.1 / 2009-01-09
2
2
 
3
- * 1 major enhancement
3
+ * Bug fixing code generation templates so that AIR projects compile properly with Flex SDK 3.2.0
@@ -83,12 +83,12 @@ class RubossAppGenerator < RubiGen::Base
83
83
  end
84
84
 
85
85
  protected
86
- def add_options!(opt)
87
- opt.separator ''
88
- opt.separator 'Options:'
89
- opt.on("-a", "--air", "Configure AIR project instead of Flex. Flex is default.",
90
- "Default: false") { |v| options[:air_config] = v }
91
- opt.on("--gae", "Generate Google App Engine Python classes in addition to Ruboss Flex resources.",
92
- "Default: false") { |v| options[:gae] = v }
93
- end
86
+ def add_options!(opt)
87
+ opt.separator ''
88
+ opt.separator 'Options:'
89
+ opt.on("-a", "--air", "Configure AIR project instead of Flex. Flex is default.",
90
+ "Default: false") { |v| options[:air_config] = v }
91
+ opt.on("--gae", "Generate Google App Engine Python classes in addition to Ruboss Flex resources.",
92
+ "Default: false") { |v| options[:gae] = v }
93
+ end
94
94
  end
@@ -1,4 +1,4 @@
1
- require 'rubygems'
1
+ # this will use the latest version of ruboss4ruby
2
2
  require 'ruboss4ruby/tasks'
3
3
 
4
4
  TEST_APP_NAME = 'TestApp.mxml'
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <application xmlns="http://ns.adobe.com/air/application/1.0">
2
+ <application xmlns="http://ns.adobe.com/air/application/1.5">
3
3
 
4
4
  <!-- Adobe AIR Application Descriptor File Template.
5
5
 
@@ -29,6 +29,7 @@ class RubossControllerGenerator < RubiGen::Base
29
29
  end
30
30
  end
31
31
 
32
+ protected
32
33
  def add_options!(opt)
33
34
  opt.separator ''
34
35
  opt.separator 'Options:'
data/lib/ruboss4ruby.rb CHANGED
@@ -5,8 +5,8 @@
5
5
  module Ruboss4Ruby
6
6
 
7
7
  # :stopdoc:
8
- VERSION = '1.1.0'
9
- RUBOSS_FRAMEWORK_VERSION = '1.1.0'
8
+ VERSION = '1.1.1'
9
+ RUBOSS_FRAMEWORK_VERSION = '1.1.1'
10
10
  LIB_DIR = File.join(File.dirname(__FILE__), 'ruboss4ruby/')
11
11
  # :startdoc:
12
12
 
@@ -98,18 +98,18 @@ class RubossConfigGenerator < Rails::Generator::Base
98
98
  end
99
99
 
100
100
  protected
101
- def add_options!(opt)
102
- opt.separator ''
103
- opt.separator 'Options:'
104
- opt.on("-m", "--main-only", "Only generate the main Flex/AIR application file.",
105
- "Default: false") { |v| options[:main_only] = v }
106
- opt.on("-a", "--air", "Configure AIR project instead of Flex. Flex is default.",
107
- "Default: false") { |v| options[:air_config] = v }
108
- opt.on("-s", "--skip-framework", "Don't fetch the latest framework binary. You'll have to link/build the framework yourself.",
109
- "Default: false") { |v| options[:skip_framework] = v }
110
- end
101
+ def add_options!(opt)
102
+ opt.separator ''
103
+ opt.separator 'Options:'
104
+ opt.on("-m", "--main-only", "Only generate the main Flex/AIR application file.",
105
+ "Default: false") { |v| options[:main_only] = v }
106
+ opt.on("-a", "--air", "Configure AIR project instead of Flex. Flex is default.",
107
+ "Default: false") { |v| options[:air_config] = v }
108
+ opt.on("-s", "--skip-framework", "Don't fetch the latest framework binary. You'll have to link/build the framework yourself.",
109
+ "Default: false") { |v| options[:skip_framework] = v }
110
+ end
111
111
 
112
- def banner
113
- "Usage: #{$0} #{spec.name}"
114
- end
112
+ def banner
113
+ "Usage: #{$0} #{spec.name}"
114
+ end
115
115
  end
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <application xmlns="http://ns.adobe.com/air/application/1.0">
2
+ <application xmlns="http://ns.adobe.com/air/application/1.5">
3
3
 
4
4
  <!-- Adobe AIR Application Descriptor File Template.
5
5
 
@@ -1,5 +1,6 @@
1
1
  # if the gem is not installed system wide, we'll just skip the tasks
2
2
  begin
3
+ # this will load the latest ruboss4ruby gem version
3
4
  require 'ruboss4ruby/active_record_tasks'
4
5
  rescue LoadError
5
6
  end
@@ -25,9 +25,4 @@ class RubossControllerGenerator < Rails::Generator::Base
25
25
  "#{command_controller_name}.as")
26
26
  end
27
27
  end
28
-
29
- protected
30
- def banner
31
- "Usage: #{$0} #{spec.name}"
32
- end
33
28
  end
@@ -36,9 +36,4 @@ class RubossYamlScaffoldGenerator < Rails::Generator::Base
36
36
  :skip_framework => ARGV.include?('skipframework'))
37
37
  end
38
38
  end
39
-
40
- protected
41
- def banner
42
- "Usage: #{$0} #{spec.name}"
43
- end
44
39
  end
data/ruboss4ruby.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ruboss4ruby}
5
- s.version = "1.1.0"
5
+ s.version = "1.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Dima Berastau"]
9
- s.date = %q{2009-01-03}
9
+ s.date = %q{2009-01-09}
10
10
  s.default_executable = %q{ruboss-gen}
11
11
  s.description = %q{The Ruboss Framework brings the design principles and productivity of Rails to Flex development, and makes integration with RESTful APIs as simple as possible. Here's some of the things you can do: * *Create* a complete _Adobe_ _Flex_ or _AIR_ application in less than 5 minutes. Use our lightweight Ruby-based code generation toolkit to create a fully functional CRUD application. Simply do: sudo gem install ruboss4ruby And then run: ruboss-gen -h * *Integrate* with _Ruby_ _On_ _Rails_, _Merb_ or _Sinatra_ applications that use _ActiveRecord_, _DataMapper_, _CouchRest_, _ActiveCouch_, etc. * *Communicate* between your Flex/AIR rich client and service providers using either _XML_ or _JSON_. * *Persist* your data directly in Adobe AIR's _SQLite_ database or _CouchDB_ without any additional infrastructure or intermediate servers. * *Deploy* your Ruboss application on the Google App Engine and use Google DataStore for persistence.}
12
12
  s.email = %q{dima@ruboss.com}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboss4ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dima Berastau