openskies 0.0.2 → 0.0.3

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.
@@ -1,7 +1,5 @@
1
- require 'rails/version'
2
-
3
1
  if ['--version', '-v'].include?(ARGV.first)
4
- puts "Rails #{Rails::VERSION::STRING}"
2
+ puts "openskies version 0.0.3"
5
3
  exit(0)
6
4
  end
7
5
 
@@ -1,7 +1,6 @@
1
1
  require 'digest/md5'
2
2
  require 'securerandom'
3
3
  require 'active_support/core_ext/string/strip'
4
- require 'rails/version' unless defined?(Rails::VERSION)
5
4
  require 'rbconfig'
6
5
  require 'open-uri'
7
6
  require 'uri'
@@ -137,23 +136,14 @@ module Rails
137
136
  def rails_gemfile_entry
138
137
  if options.dev?
139
138
  <<-GEMFILE.strip_heredoc
140
- gem 'rails', :path => '#{Rails::Generators::RAILS_DEV_PATH}'
141
139
  gem 'journey', :git => 'git://github.com/rails/journey.git', :branch => '1-0-stable'
142
140
  gem 'arel', :git => 'git://github.com/rails/arel.git', :branch => '3-0-stable'
143
141
  GEMFILE
144
142
  elsif options.edge?
145
143
  <<-GEMFILE.strip_heredoc
146
- gem 'rails', :git => 'git://github.com/rails/rails.git', :branch => '3-2-stable'
147
144
  gem 'journey', :git => 'git://github.com/rails/journey.git', :branch => '1-0-stable'
148
145
  gem 'arel', :git => 'git://github.com/rails/arel.git', :branch => '3-0-stable'
149
146
  GEMFILE
150
- else
151
- <<-GEMFILE.strip_heredoc
152
- gem 'rails', '#{Rails::VERSION::STRING}'
153
-
154
- # Bundle edge Rails instead:
155
- # gem 'rails', :git => 'git://github.com/rails/rails.git'
156
- GEMFILE
157
147
  end
158
148
  end
159
149
 
@@ -185,11 +175,6 @@ module Rails
185
175
  end
186
176
 
187
177
  def ruby_debugger_gemfile_entry
188
- if RUBY_VERSION < "1.9"
189
- "gem 'ruby-debug'"
190
- else
191
- "gem 'debugger'"
192
- end
193
178
  end
194
179
 
195
180
  def assets_gemfile_entry
@@ -146,6 +146,7 @@ module Rails
146
146
 
147
147
  def leftovers
148
148
  # runs after all other setup
149
+ generate 'ember:bootstrap'
149
150
  end
150
151
  end
151
152
 
@@ -1,5 +1,9 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem 'activerecord'
4
+ gem 'actionmailer'
5
+ gem 'activeresource'
6
+
3
7
  <%= rails_gemfile_entry -%>
4
8
 
5
9
  <%= database_gemfile_entry -%>
@@ -11,18 +15,6 @@ source 'https://rubygems.org'
11
15
  <%= javascript_gemfile_entry %>
12
16
 
13
17
  gem 'rspec-rails'
18
+ gem 'ember-rails'
14
19
 
15
- # To use ActiveModel has_secure_password
16
- # gem 'bcrypt-ruby', '~> 3.0.0'
17
-
18
- # To use Jbuilder templates for JSON
19
- # gem 'jbuilder'
20
-
21
- # Use unicorn as the app server
22
- # gem 'unicorn'
23
-
24
- # Deploy with Capistrano
25
- # gem 'capistrano'
26
-
27
- # To use debugger
28
- # <%= ruby_debugger_gemfile_entry %>
20
+ gem 'debugger'
@@ -1,16 +1,10 @@
1
1
  require File.expand_path('../boot', __FILE__)
2
2
 
3
- <% if include_all_railties? -%>
4
- require 'rails/all'
5
- <% else -%>
6
- # Pick the frameworks you want:
7
- <%= comment_if :skip_active_record %>require "active_record/railtie"
3
+ require "active_record/railtie"
8
4
  require "action_controller/railtie"
9
5
  require "action_mailer/railtie"
10
6
  require "active_resource/railtie"
11
- <%= comment_if :skip_sprockets %>require "sprockets/railtie"
12
- <%= comment_if :skip_test_unit %>require "rails/test_unit/railtie"
13
- <% end -%>
7
+ require "sprockets/railtie"
14
8
 
15
9
  if defined?(Bundler)
16
10
  # If you precompile assets before deploying to production, use this line
data/lib/rails.rb CHANGED
@@ -8,7 +8,6 @@ require 'active_support/core_ext/array/extract_options'
8
8
  require 'active_support/core_ext/logger'
9
9
 
10
10
  require 'rails/application'
11
- require 'rails/version'
12
11
 
13
12
  require 'active_support/railtie'
14
13
  require 'action_dispatch/railtie'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openskies
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-10 00:00:00.000000000 Z
12
+ date: 2013-02-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -121,7 +121,6 @@ extensions: []
121
121
  extra_rdoc_files: []
122
122
  files:
123
123
  - CHANGELOG.md
124
- - README.rdoc
125
124
  - bin/openskies
126
125
  - guides/assets/images/belongs_to.png
127
126
  - guides/assets/images/book_icon.gif
@@ -632,7 +631,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
632
631
  version: '0'
633
632
  requirements: []
634
633
  rubyforge_project:
635
- rubygems_version: 1.8.25
634
+ rubygems_version: 1.8.23
636
635
  signing_key:
637
636
  specification_version: 3
638
637
  summary: Framework based on Rails for creating web applications
data/README.rdoc DELETED
@@ -1,28 +0,0 @@
1
- = OpenSkies - A web development framework based on Ruby On Rails
2
-
3
- OpenSkies is based on Rails but uses gem and workflows decided on by the community.
4
-
5
- * RSpec is the default testing framework
6
-
7
- * HAML is installed by default but templates are generated in ERB
8
-
9
- * Some gems are not installed by default like TurboLinks
10
-
11
-
12
- == Running
13
-
14
- ```bash
15
- openskies new PROJECT
16
- ```
17
-
18
- OpenSkies is Rails under the covers and therefore accepts the same parameters as the standard Rails commands.
19
-
20
-
21
- == Separation of concerns
22
-
23
- OpenSkies is not bound to its dependencies but rather includes them. OpenSkies currently uses:
24
-
25
- * ActiveSupport 3.2.11
26
- * ActiveRecord 3.2.11
27
- * ActionPack 3.2.11
28
- * Rails 3.2.11