maccman-bowline 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
data/README.txt CHANGED
@@ -75,7 +75,7 @@ Run application:
75
75
  = BINDERS
76
76
 
77
77
  Binders are the core of Bowline, they're classes that you can bind HTML to.
78
- This means, if you can data in the class, the HTML also automatically changes.
78
+ Binders contain data. If you modify the binder's data the HTML automatically updates.
79
79
  It's a one way relationship though.
80
80
 
81
81
  You can think of binders as similar to controllers in Rails.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.6
1
+ 0.4.7
data/bowline.gemspec CHANGED
@@ -1,12 +1,15 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
1
4
  # -*- encoding: utf-8 -*-
2
5
 
3
6
  Gem::Specification.new do |s|
4
7
  s.name = %q{bowline}
5
- s.version = "0.4.6"
8
+ s.version = "0.4.7"
6
9
 
7
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
11
  s.authors = ["Alex MacCaw"]
9
- s.date = %q{2009-08-05}
12
+ s.date = %q{2009-08-29}
10
13
  s.default_executable = %q{bowline-gen}
11
14
  s.description = %q{Ruby/JS GUI framework}
12
15
  s.email = %q{alex@leadthinking.com}
@@ -270,6 +270,7 @@ module Bowline
270
270
 
271
271
  set_load_path
272
272
  initialize_gems
273
+ load_gems
273
274
 
274
275
  require_frameworks
275
276
  set_autoload_paths
@@ -290,7 +291,6 @@ module Bowline
290
291
  initialize_name
291
292
  load_app_config
292
293
 
293
- load_gems
294
294
  load_plugins
295
295
 
296
296
  load_application_initializers
@@ -427,6 +427,8 @@ module Bowline
427
427
  attr_accessor :sdk
428
428
  attr_accessor :copyright
429
429
 
430
+ attr_accessor :titanium_version
431
+
430
432
  # Create a new Configuration instance, initialized with the default values.
431
433
  def initialize
432
434
  set_root_path!
@@ -448,6 +450,10 @@ module Bowline
448
450
  self.helper_glob = default_helper_glob
449
451
  self.initializer_glob = default_initalizer_glob
450
452
 
453
+ self.publisher = default_publisher
454
+ self.copyright = default_copyright
455
+ self.titanium_version = default_titanium_version
456
+
451
457
  for framework in default_frameworks
452
458
  self.send("#{framework}=", Bowline::OrderedOptions.new)
453
459
  end
@@ -591,6 +597,18 @@ module Bowline
591
597
  def default_initalizer_glob
592
598
  File.join(root_path, *%w{ config initializers **/*.rb })
593
599
  end
600
+
601
+ def default_titanium_version
602
+ "0.4.4"
603
+ end
604
+
605
+ def default_publisher
606
+ "Bowline"
607
+ end
608
+
609
+ def default_copyright
610
+ "Copyright © #{Time.now.year}"
611
+ end
594
612
  end
595
613
  end
596
614
 
@@ -4,6 +4,8 @@ namespace :app do
4
4
  config_path = File.join(APP_ROOT, 'config')
5
5
  conf = Bowline.configuration
6
6
 
7
+ tiversion = conf.titanium_version
8
+
7
9
  # Titanium complains about whitespace
8
10
  manifest = <<-EOF
9
11
  #appname:#{conf.name}
@@ -14,27 +16,24 @@ namespace :app do
14
16
  #guid:0e70684a-dd4b-4d97-9396-6bc01ba10a4e
15
17
  #desc:#{conf.description}
16
18
  #type:desktop
17
- runtime:0.4.4
18
- api:0.4.4
19
- tiapp:0.4.4
20
- tifilesystem:0.4.4
21
- tiplatform:0.4.4
22
- tiui:0.4.4
23
- javascript:0.4.4
24
- ruby:0.4.4
25
- tidatabase:0.4.4
26
- tidesktop:0.4.4
27
- tigrowl:0.4.4
28
- timedia:0.4.4
29
- timonkey:0.4.4
30
- tinetwork:0.4.4
31
- tinotification:0.4.4
32
- tiprocess:0.4.4
19
+ runtime:#{tiversion}
20
+ api:#{tiversion}
21
+ tiapp:#{tiversion}
22
+ tifilesystem:#{tiversion}
23
+ tiplatform:#{tiversion}
24
+ tiui:#{tiversion}
25
+ javascript:#{tiversion}
26
+ ruby:#{tiversion}
27
+ tidatabase:#{tiversion}
28
+ tidesktop:#{tiversion}
29
+ tigrowl:#{tiversion}
30
+ timedia:#{tiversion}
31
+ timonkey:#{tiversion}
32
+ tinetwork:#{tiversion}
33
+ tinotification:#{tiversion}
34
+ tiprocess:#{tiversion}
33
35
  EOF
34
36
 
35
- conf.publisher ||= 'Bowline'
36
- conf.copyright ||= "Copyright © #{Time.now.year}"
37
-
38
37
  tiapp = <<-EOF
39
38
  <?xml version='1.0' encoding='UTF-8'?>
40
39
  <ti:app xmlns:ti='http://ti.appcelerator.org'>
@@ -143,7 +142,7 @@ tiprocess:0.4.4
143
142
  ti_path.gsub!(' ', '\ ')
144
143
  ti_lib_path.gsub!(' ', '\ ')
145
144
 
146
- command = []
145
+ command = ['python']
147
146
  command << File.join(ti_lib_path, "tibuild.py")
148
147
  command << "-d #{build_path}"
149
148
  command << "-s #{ti_path}"
@@ -2,7 +2,7 @@ module Bowline
2
2
  module Version #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 4
5
- TINY = 6
5
+ TINY = 7
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
 
@@ -4,10 +4,13 @@ require File.join(File.dirname(__FILE__), 'boot')
4
4
  Bowline::Initializer.run do |config|
5
5
  config.name = <%= full_name.inspect %>
6
6
  config.id = "com.<%= full_name.underscore %>"
7
- config.version = "0.1.0"
7
+ config.version = "0.0.1"
8
8
  config.publisher = "Example"
9
9
  config.url = "http://example.com"
10
10
 
11
+ # config.titanium_version = "0.4.4"
12
+
13
+ # config.gem "activerecord"
11
14
  # config.gem "net-mdns", :lib => 'net/dns/mdns'
12
15
  # config.gem "rack"
13
16
  # config.gem "rubyzip", :lib => 'zip/zip'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maccman-bowline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex MacCaw
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-05 00:00:00 -07:00
12
+ date: 2009-08-29 00:00:00 -07:00
13
13
  default_executable: bowline-gen
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -114,7 +114,6 @@ files:
114
114
  - templates/script/run
115
115
  has_rdoc: false
116
116
  homepage: http://github.com/maccman/bowline
117
- licenses:
118
117
  post_install_message:
119
118
  rdoc_options:
120
119
  - --charset=UTF-8
@@ -135,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
134
  requirements: []
136
135
 
137
136
  rubyforge_project:
138
- rubygems_version: 1.3.5
137
+ rubygems_version: 1.2.0
139
138
  signing_key:
140
139
  specification_version: 3
141
140
  summary: Bowline GUI framework