Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 1 addition & 32 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,56 +1,25 @@
require File.expand_path('require_gemfile', File.dirname(__FILE__))

require_gemfile "sources.gemfile"
source 'https://rubygems.org'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.10'

# Use sqlite3 as the database for Active Record
gem 'sqlite3'

# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.2'

# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'

# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'

# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'

# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'

# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.2'

# Project local gems
gem 'blorgh'
gem 'lorde'

group :doc do
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', require: false
end

group :test do
gem 'test_utils', path: 'gems'
gem 'shoulda', git: 'https://github.com/thoughtbot/shoulda', branch: 'ew-update-shoulda-matchers-in-readme'
end

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano', group: :development

# Use debugger
# gem 'debugger', group: [:development, :test]
6 changes: 6 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,15 @@ PATH
throrg
lorde (0.0.1)
rails (~> 4.0.10)
yayaya
throrg (0.0.1)
rails (~> 4.0.10)

PATH
remote: engines/lorde/gems
specs:
yayaya (0.0.1)

PATH
remote: gems
specs:
Expand Down
11 changes: 0 additions & 11 deletions engines/blorgh/Gemfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
require "../../require_gemfile"

require_gemfile "../../sources.gemfile"
source "https://rubygems.org"

# Declare your gem's dependencies in blorgh.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec

gem 'test_utils'
gem 'shoulda', git: 'https://github.com/thoughtbot/shoulda', branch: 'ew-update-shoulda-matchers-in-readme'

# Declare any dependencies that are still in development here instead of in
# your gemspec. These might include edge Rails or gems from your path or
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.

# To use debugger
# gem 'debugger'
6 changes: 6 additions & 0 deletions engines/blorgh/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ PATH
specs:
lorde (0.0.1)
rails (~> 4.0.10)
yayaya
throrg (0.0.1)
rails (~> 4.0.10)

Expand All @@ -29,6 +30,11 @@ PATH
test_utils (0.0.1)
shoulda (~> 3.5)

PATH
remote: ../lorde/gems
specs:
yayaya (0.0.1)

GEM
remote: https://rubygems.org/
specs:
Expand Down
14 changes: 1 addition & 13 deletions engines/lorde/Gemfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
require "../../require_gemfile"

require_gemfile "../../sources.gemfile"
source "https://rubygems.org"
require_gemfile "sources.gemfile"

# Declare your gem's dependencies in lorde.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec

gem 'test_utils'
gem 'shoulda', git: 'https://github.com/thoughtbot/shoulda', branch: 'ew-update-shoulda-matchers-in-readme'

# Declare any dependencies that are still in development here instead of in
# your gemspec. These might include edge Rails or gems from your path or
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.

# To use debugger
# gem 'debugger'
6 changes: 6 additions & 0 deletions engines/lorde/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PATH
specs:
lorde (0.0.1)
rails (~> 4.0.10)
yayaya

PATH
remote: ..
Expand All @@ -23,6 +24,11 @@ PATH
test_utils (0.0.1)
shoulda (~> 3.5)

PATH
remote: gems
specs:
yayaya (0.0.1)

GEM
remote: https://rubygems.org/
specs:
Expand Down
16 changes: 16 additions & 0 deletions engines/lorde/gems/yayaya/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
*.gem
*.rbc
.bundle
.config
.yardoc
InstalledFiles
_yardoc
coverage
doc/
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
5 changes: 5 additions & 0 deletions engines/lorde/gems/yayaya/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require '../../../../require_gemfile'

require_gemfile "../../sources.gemfile"

gemspec
29 changes: 29 additions & 0 deletions engines/lorde/gems/yayaya/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
PATH
remote: .
specs:
yayaya (0.0.1)

PATH
remote: ..
specs:

PATH
remote: ../../..
specs:

PATH
remote: ../../../../gems
specs:

GEM
remote: https://rubygems.org/
specs:
rake (10.3.2)

PLATFORMS
ruby

DEPENDENCIES
bundler (~> 1.3)
rake
yayaya!
22 changes: 22 additions & 0 deletions engines/lorde/gems/yayaya/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (c) 2014 Donnie Tognazzini

MIT License

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 changes: 29 additions & 0 deletions engines/lorde/gems/yayaya/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Yayaya

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

gem 'yayaya'

And then execute:

$ bundle

Or install it yourself as:

$ gem install yayaya

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
1 change: 1 addition & 0 deletions engines/lorde/gems/yayaya/Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require "bundler/gem_tasks"
5 changes: 5 additions & 0 deletions engines/lorde/gems/yayaya/lib/yayaya.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require "yayaya/version"

module Yayaya
# Your code goes here...
end
3 changes: 3 additions & 0 deletions engines/lorde/gems/yayaya/lib/yayaya/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Yayaya
VERSION = "0.0.1"
end
23 changes: 23 additions & 0 deletions engines/lorde/gems/yayaya/yayaya.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'yayaya/version'

Gem::Specification.new do |spec|
spec.name = "yayaya"
spec.version = Yayaya::VERSION
spec.authors = ["yayaya"]
spec.email = ["yayaya"]
spec.description = %q{Write a gem description}
spec.summary = %q{Write a gem summary}
spec.homepage = ""
spec.license = "MIT"

spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
end
1 change: 1 addition & 0 deletions engines/lorde/lorde.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Gem::Specification.new do |s|
s.test_files = Dir["test/**/*"]

s.add_dependency "rails", "~> 4.0.10"
s.add_dependency "yayaya"

s.add_development_dependency "sqlite3"
end
8 changes: 8 additions & 0 deletions engines/lorde/paths.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Declares the gem paths for gems internal to lorde. Consumers of lorde can
# require this file and be assured that all of the internal gems comprising
# the lorde gem can be found. For now, the lorde gem is only composed of a single
# gem (yayaya) under the gems/ directory. In the future, yayaya itself could be
# further decomposed. When that happens, this file would be updated require
# yayaya's path.gemfile

path "gems"
6 changes: 6 additions & 0 deletions engines/lorde/sources.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Declares the external sources used to resolve gems used by lorde gem and all lorde sub gems.

require_gemfile "../../sources.gemfile"

# This file is only necessary because lorde has an internal sub gem (yayaya) which will pull in this file.

12 changes: 0 additions & 12 deletions engines/throrg/Gemfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
require "../../require_gemfile"

require_gemfile "../../sources.gemfile"
source "https://rubygems.org"

# Declare your gem's dependencies in throrg.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec

gem 'test_utils'
gem 'shoulda', git: 'https://github.com/thoughtbot/shoulda', branch: 'ew-update-shoulda-matchers-in-readme'

# Declare any dependencies that are still in development here instead of in
# your gemspec. These might include edge Rails or gems from your path or
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.

# To use debugger
# gem 'debugger'
4 changes: 4 additions & 0 deletions engines/throrg/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ PATH
test_utils (0.0.1)
shoulda (~> 3.5)

PATH
remote: ../lorde/gems
specs:

GEM
remote: https://rubygems.org/
specs:
Expand Down
2 changes: 0 additions & 2 deletions gems/test_utils/Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
require "../../require_gemfile"

require_gemfile "../../sources.gemfile"
source 'https://rubygems.org'

# Specify your gem's dependencies in test_utils.gemspec
gemspec

gem 'shoulda', git: 'https://github.com/thoughtbot/shoulda', branch: 'ew-update-shoulda-matchers-in-readme'
4 changes: 4 additions & 0 deletions gems/test_utils/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ PATH
remote: ../../engines
specs:

PATH
remote: ../../engines/lorde/gems
specs:

GEM
remote: https://rubygems.org/
specs:
Expand Down
6 changes: 6 additions & 0 deletions require_gemfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ def merge(other_file, gemfile_path)
end
end

rubygems_source = other_file.instance_variable_get(:@rubygems_source)
if rubygems_source
rubygems_source.remotes.each do |remote|
@rubygems_source.add_remote(remote)
end
end
end

protected
Expand Down
Loading