openskies 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rails/commands/application.rb +1 -3
- data/lib/rails/generators/app_base.rb +0 -15
- data/lib/rails/generators/rails/app/app_generator.rb +1 -0
- data/lib/rails/generators/rails/app/templates/Gemfile +6 -14
- data/lib/rails/generators/rails/app/templates/config/application.rb +2 -8
- data/lib/rails.rb +0 -1
- metadata +3 -4
- data/README.rdoc +0 -28
@@ -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
|
@@ -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
|
-
|
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
|
-
|
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
|
-
|
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
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.
|
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-
|
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.
|
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
|