Skip to content

Commit

Permalink
Remove old files and start to create Rails 5 App
Browse files Browse the repository at this point in the history
  • Loading branch information
İsmail Akbudak committed Feb 24, 2017
1 parent e3f3dba commit 1d1cfc1
Show file tree
Hide file tree
Showing 176 changed files with 199 additions and 7,608 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
*.log
.bundle/
*.bundle/install.log
Gemfile.lock
Gemfile.lock
tmp/
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.0
2.3.3
12 changes: 12 additions & 0 deletions bin/cybele
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
#!/usr/bin/env ruby
require 'pathname'

require File.expand_path(File.join('..', 'lib', 'cybele', 'generators', 'app_generator'), File.dirname(__FILE__))
require File.expand_path(File.join('..', 'lib', 'cybele', 'app_builder'), File.dirname(__FILE__))
require File.expand_path(File.join('..', 'lib', 'cybele', 'version'), File.dirname(__FILE__))

if ARGV.empty?
puts 'Please provide a path for the new application'
puts
puts 'See --help for more info'
exit 0
elsif ['-v', '--version'].include? ARGV[0]
puts Cybele::VERSION
exit 0
end

templates_root = File.expand_path(File.join('..', 'templates'), File.dirname(__FILE__))
Cybele::AppGenerator.source_root templates_root
Expand Down
8 changes: 4 additions & 4 deletions cybele.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Gem::Specification.new do |spec|
spec.version = Cybele::VERSION
spec.authors = %w[lab2023]
spec.email = %w[info@lab2023.com]
spec.description = %q{Rails 4.x template with responder, simple form, haml, exception notification, etc etc ...}
spec.summary = %q{Rails 4.x template with responder, simple form, haml, exception notification, etc etc ...}
spec.description = %q{Rails 5.x App template}
spec.summary = %q{Rails 5.x template with responder, simple form, haml, exception notification, etc etc ...}
spec.homepage = 'https://github.com/kebab-project/cybele'
spec.license = 'MIT'
spec.date = Date.today.strftime('%Y-%m-%d')
Expand All @@ -21,9 +21,9 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = %w[lib]

spec.add_development_dependency 'rake'
spec.add_dependency 'bundler', '~> 1.5'
spec.add_dependency 'rails', Cybele::RAILS_VERSION
spec.add_runtime_dependency 'rails', '~> 5.0', Cybele::RAILS_VERSION
spec.add_development_dependency 'rspec', '~> 3.5'

spec.extra_rdoc_files = %w[README.md MIT-LICENSE]
end
3 changes: 3 additions & 0 deletions lib/cybele.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require 'cybele/version'
require 'cybele/generators/app_generator'
require 'cybele/app_builder'
Loading

0 comments on commit 1d1cfc1

Please sign in to comment.