From ddb08916bbaae5c3f4ff704092286094462a0bbe Mon Sep 17 00:00:00 2001 From: Donnie Tognazzini Date: Fri, 7 Nov 2014 12:29:31 -0800 Subject: [PATCH 1/8] adding lorde/yayaya gem --- engines/lorde/gems/yayaya/.gitignore | 16 ++++++++++ engines/lorde/gems/yayaya/Gemfile | 4 +++ engines/lorde/gems/yayaya/Gemfile.lock | 29 +++++++++++++++++++ engines/lorde/gems/yayaya/LICENSE.txt | 22 ++++++++++++++ engines/lorde/gems/yayaya/README.md | 29 +++++++++++++++++++ engines/lorde/gems/yayaya/Rakefile | 1 + engines/lorde/gems/yayaya/lib/yayaya.rb | 5 ++++ .../lorde/gems/yayaya/lib/yayaya/version.rb | 3 ++ engines/lorde/gems/yayaya/yayaya.gemspec | 23 +++++++++++++++ 9 files changed, 132 insertions(+) create mode 100644 engines/lorde/gems/yayaya/.gitignore create mode 100644 engines/lorde/gems/yayaya/Gemfile create mode 100644 engines/lorde/gems/yayaya/Gemfile.lock create mode 100644 engines/lorde/gems/yayaya/LICENSE.txt create mode 100644 engines/lorde/gems/yayaya/README.md create mode 100644 engines/lorde/gems/yayaya/Rakefile create mode 100644 engines/lorde/gems/yayaya/lib/yayaya.rb create mode 100644 engines/lorde/gems/yayaya/lib/yayaya/version.rb create mode 100644 engines/lorde/gems/yayaya/yayaya.gemspec diff --git a/engines/lorde/gems/yayaya/.gitignore b/engines/lorde/gems/yayaya/.gitignore new file mode 100644 index 0000000..8f994bd --- /dev/null +++ b/engines/lorde/gems/yayaya/.gitignore @@ -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 diff --git a/engines/lorde/gems/yayaya/Gemfile b/engines/lorde/gems/yayaya/Gemfile new file mode 100644 index 0000000..bb503bf --- /dev/null +++ b/engines/lorde/gems/yayaya/Gemfile @@ -0,0 +1,4 @@ +source 'https://rubygems.org' + +# Specify your gem's dependencies in yayaya.gemspec +gemspec diff --git a/engines/lorde/gems/yayaya/Gemfile.lock b/engines/lorde/gems/yayaya/Gemfile.lock new file mode 100644 index 0000000..82e142a --- /dev/null +++ b/engines/lorde/gems/yayaya/Gemfile.lock @@ -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! diff --git a/engines/lorde/gems/yayaya/LICENSE.txt b/engines/lorde/gems/yayaya/LICENSE.txt new file mode 100644 index 0000000..8f4005e --- /dev/null +++ b/engines/lorde/gems/yayaya/LICENSE.txt @@ -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. diff --git a/engines/lorde/gems/yayaya/README.md b/engines/lorde/gems/yayaya/README.md new file mode 100644 index 0000000..72dd2fa --- /dev/null +++ b/engines/lorde/gems/yayaya/README.md @@ -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 diff --git a/engines/lorde/gems/yayaya/Rakefile b/engines/lorde/gems/yayaya/Rakefile new file mode 100644 index 0000000..2995527 --- /dev/null +++ b/engines/lorde/gems/yayaya/Rakefile @@ -0,0 +1 @@ +require "bundler/gem_tasks" diff --git a/engines/lorde/gems/yayaya/lib/yayaya.rb b/engines/lorde/gems/yayaya/lib/yayaya.rb new file mode 100644 index 0000000..cc84f37 --- /dev/null +++ b/engines/lorde/gems/yayaya/lib/yayaya.rb @@ -0,0 +1,5 @@ +require "yayaya/version" + +module Yayaya + # Your code goes here... +end diff --git a/engines/lorde/gems/yayaya/lib/yayaya/version.rb b/engines/lorde/gems/yayaya/lib/yayaya/version.rb new file mode 100644 index 0000000..aef0e3d --- /dev/null +++ b/engines/lorde/gems/yayaya/lib/yayaya/version.rb @@ -0,0 +1,3 @@ +module Yayaya + VERSION = "0.0.1" +end diff --git a/engines/lorde/gems/yayaya/yayaya.gemspec b/engines/lorde/gems/yayaya/yayaya.gemspec new file mode 100644 index 0000000..2afe0d7 --- /dev/null +++ b/engines/lorde/gems/yayaya/yayaya.gemspec @@ -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 From f631370e27399de4004067ab76af7683ac133d52 Mon Sep 17 00:00:00 2001 From: Donnie Tognazzini Date: Fri, 7 Nov 2014 12:32:50 -0800 Subject: [PATCH 2/8] using lorde/yayaya gem in lorde --- Gemfile | 2 ++ Gemfile.lock | 6 ++++++ engines/blorgh/Gemfile | 1 + engines/blorgh/Gemfile.lock | 6 ++++++ engines/lorde/Gemfile | 1 + engines/lorde/Gemfile.lock | 6 ++++++ engines/lorde/lorde.gemspec | 1 + 7 files changed, 23 insertions(+) diff --git a/Gemfile b/Gemfile index a4ea8d7..fd9a557 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,7 @@ require File.expand_path('require_gemfile', File.dirname(__FILE__)) +path "engines/lorde/gems" + require_gemfile "sources.gemfile" source 'https://rubygems.org' diff --git a/Gemfile.lock b/Gemfile.lock index 9ea58c1..7bb08b4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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: diff --git a/engines/blorgh/Gemfile b/engines/blorgh/Gemfile index 3925148..70ef26e 100644 --- a/engines/blorgh/Gemfile +++ b/engines/blorgh/Gemfile @@ -1,5 +1,6 @@ require "../../require_gemfile" +path "../lorde/gems" require_gemfile "../../sources.gemfile" source "https://rubygems.org" diff --git a/engines/blorgh/Gemfile.lock b/engines/blorgh/Gemfile.lock index e2a75b0..c5ed7ae 100644 --- a/engines/blorgh/Gemfile.lock +++ b/engines/blorgh/Gemfile.lock @@ -20,6 +20,7 @@ PATH specs: lorde (0.0.1) rails (~> 4.0.10) + yayaya throrg (0.0.1) rails (~> 4.0.10) @@ -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: diff --git a/engines/lorde/Gemfile b/engines/lorde/Gemfile index 0e07291..1941bc5 100644 --- a/engines/lorde/Gemfile +++ b/engines/lorde/Gemfile @@ -1,5 +1,6 @@ require "../../require_gemfile" +path "gems" require_gemfile "../../sources.gemfile" source "https://rubygems.org" diff --git a/engines/lorde/Gemfile.lock b/engines/lorde/Gemfile.lock index f435e2b..e191d98 100644 --- a/engines/lorde/Gemfile.lock +++ b/engines/lorde/Gemfile.lock @@ -12,6 +12,7 @@ PATH specs: lorde (0.0.1) rails (~> 4.0.10) + yayaya PATH remote: .. @@ -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: diff --git a/engines/lorde/lorde.gemspec b/engines/lorde/lorde.gemspec index 69f923e..b094f7f 100644 --- a/engines/lorde/lorde.gemspec +++ b/engines/lorde/lorde.gemspec @@ -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 From b3eece603e64dae6556e45833e42e248812aa8eb Mon Sep 17 00:00:00 2001 From: Donnie Tognazzini Date: Fri, 7 Nov 2014 12:35:09 -0800 Subject: [PATCH 3/8] moving lorde's gems path to sources.gemfile --- Gemfile | 2 -- engines/blorgh/Gemfile | 1 - engines/lorde/Gemfile | 1 - engines/throrg/Gemfile.lock | 4 ++++ gems/test_utils/Gemfile.lock | 4 ++++ sources.gemfile | 1 + 6 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index fd9a557..a4ea8d7 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,5 @@ require File.expand_path('require_gemfile', File.dirname(__FILE__)) -path "engines/lorde/gems" - require_gemfile "sources.gemfile" source 'https://rubygems.org' diff --git a/engines/blorgh/Gemfile b/engines/blorgh/Gemfile index 70ef26e..3925148 100644 --- a/engines/blorgh/Gemfile +++ b/engines/blorgh/Gemfile @@ -1,6 +1,5 @@ require "../../require_gemfile" -path "../lorde/gems" require_gemfile "../../sources.gemfile" source "https://rubygems.org" diff --git a/engines/lorde/Gemfile b/engines/lorde/Gemfile index 1941bc5..0e07291 100644 --- a/engines/lorde/Gemfile +++ b/engines/lorde/Gemfile @@ -1,6 +1,5 @@ require "../../require_gemfile" -path "gems" require_gemfile "../../sources.gemfile" source "https://rubygems.org" diff --git a/engines/throrg/Gemfile.lock b/engines/throrg/Gemfile.lock index fc701cd..8e49140 100644 --- a/engines/throrg/Gemfile.lock +++ b/engines/throrg/Gemfile.lock @@ -23,6 +23,10 @@ PATH test_utils (0.0.1) shoulda (~> 3.5) +PATH + remote: ../lorde/gems + specs: + GEM remote: https://rubygems.org/ specs: diff --git a/gems/test_utils/Gemfile.lock b/gems/test_utils/Gemfile.lock index 5541b61..55c0f43 100644 --- a/gems/test_utils/Gemfile.lock +++ b/gems/test_utils/Gemfile.lock @@ -21,6 +21,10 @@ PATH remote: ../../engines specs: +PATH + remote: ../../engines/lorde/gems + specs: + GEM remote: https://rubygems.org/ specs: diff --git a/sources.gemfile b/sources.gemfile index a3ef0e1..a17c036 100644 --- a/sources.gemfile +++ b/sources.gemfile @@ -1,5 +1,6 @@ # This file contains all of the sources for all of the Gemfiles used in this project. +path "engines/lorde/gems" path "gems" path "engines" # source 'https://myprivategemserver.net' From 74f9f42b953608693132e485f159c7959e0ca1cc Mon Sep 17 00:00:00 2001 From: Donnie Tognazzini Date: Fri, 7 Nov 2014 15:26:22 -0800 Subject: [PATCH 4/8] introducing paths.gemfile pattern for composing gem sources local to repo-local gems --- engines/lorde/Gemfile | 3 ++- engines/lorde/gems/yayaya/Gemfile | 3 +++ engines/lorde/paths.gemfile | 8 ++++++++ engines/lorde/sources.gemfile | 6 ++++++ sources.gemfile | 24 ++++++++++++++++++++---- 5 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 engines/lorde/paths.gemfile create mode 100644 engines/lorde/sources.gemfile diff --git a/engines/lorde/Gemfile b/engines/lorde/Gemfile index 0e07291..2de5acc 100644 --- a/engines/lorde/Gemfile +++ b/engines/lorde/Gemfile @@ -1,6 +1,7 @@ require "../../require_gemfile" -require_gemfile "../../sources.gemfile" +require_gemfile "sources.gemfile" + source "https://rubygems.org" # Declare your gem's dependencies in lorde.gemspec. diff --git a/engines/lorde/gems/yayaya/Gemfile b/engines/lorde/gems/yayaya/Gemfile index bb503bf..e1bf852 100644 --- a/engines/lorde/gems/yayaya/Gemfile +++ b/engines/lorde/gems/yayaya/Gemfile @@ -1,3 +1,6 @@ +require '../../../../require_gemfile' + +require_gemfile "../../sources.gemfile" source 'https://rubygems.org' # Specify your gem's dependencies in yayaya.gemspec diff --git a/engines/lorde/paths.gemfile b/engines/lorde/paths.gemfile new file mode 100644 index 0000000..fec1f01 --- /dev/null +++ b/engines/lorde/paths.gemfile @@ -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" diff --git a/engines/lorde/sources.gemfile b/engines/lorde/sources.gemfile new file mode 100644 index 0000000..c63e174 --- /dev/null +++ b/engines/lorde/sources.gemfile @@ -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. + diff --git a/sources.gemfile b/sources.gemfile index a17c036..75b5518 100644 --- a/sources.gemfile +++ b/sources.gemfile @@ -1,9 +1,25 @@ -# This file contains all of the sources for all of the Gemfiles used in this project. +# The project depends on lorde and blorgh per the Gemfile. lorde has internal gems; blorgh does not. + +# We pull in a paths.gemfile for sourcing the gems internal to lorde. lorde can be +# decomposed later into more internal gems. So long as its paths.gemfile is updated +# with where to find its internal gems, this file, at the project level does not need to be updated. + +require_gemfile "engines/lorde/paths.gemfile" + + +# lorde and blorgh may depend on other gems/engines that are not direct dependencies +# of the project. The project includes paths to the project-global gem sources so that +# these can be resolved. For example, blorgh depends on throrg. The project doesn't +# need to know this, but the dependency still needs to be resolved. The project uses +# the gems/ and engines/ directories for top level subsystems. -path "engines/lorde/gems" path "gems" path "engines" -# source 'https://myprivategemserver.net' -# I would move this into here as well, but the hack implementation doesn't support source() + +# Finally, external gem sources are declared to resolve gems external to the project. This +# doesn't currently work because the hack implementation of require_gemfile doesn't support +# the source DSL method. + +# source 'https://myprivategemserver.net' # source "https://rubygems.org" From eb2e70b1b5f8f36dcebaffa8effdf8e43e4b6fb0 Mon Sep 17 00:00:00 2001 From: Donnie Tognazzini Date: Fri, 7 Nov 2014 15:43:33 -0800 Subject: [PATCH 5/8] adding source() support to require_gemfile --- Gemfile | 3 +-- engines/blorgh/Gemfile | 1 - engines/lorde/Gemfile | 2 -- engines/lorde/gems/yayaya/Gemfile | 1 - engines/throrg/Gemfile | 1 - gems/test_utils/Gemfile | 1 - require_gemfile.rb | 6 ++++++ sources.gemfile | 6 ++---- 8 files changed, 9 insertions(+), 12 deletions(-) diff --git a/Gemfile b/Gemfile index a4ea8d7..8601ccd 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,6 @@ -require File.expand_path('require_gemfile', File.dirname(__FILE__)) +require 'require_gemfile' require_gemfile "sources.gemfile" -source 'https://rubygems.org' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '4.0.10' diff --git a/engines/blorgh/Gemfile b/engines/blorgh/Gemfile index 3925148..fb1de22 100644 --- a/engines/blorgh/Gemfile +++ b/engines/blorgh/Gemfile @@ -1,7 +1,6 @@ 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 diff --git a/engines/lorde/Gemfile b/engines/lorde/Gemfile index 2de5acc..2057741 100644 --- a/engines/lorde/Gemfile +++ b/engines/lorde/Gemfile @@ -2,8 +2,6 @@ require "../../require_gemfile" require_gemfile "sources.gemfile" -source "https://rubygems.org" - # 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. diff --git a/engines/lorde/gems/yayaya/Gemfile b/engines/lorde/gems/yayaya/Gemfile index e1bf852..3b3a246 100644 --- a/engines/lorde/gems/yayaya/Gemfile +++ b/engines/lorde/gems/yayaya/Gemfile @@ -1,7 +1,6 @@ require '../../../../require_gemfile' require_gemfile "../../sources.gemfile" -source 'https://rubygems.org' # Specify your gem's dependencies in yayaya.gemspec gemspec diff --git a/engines/throrg/Gemfile b/engines/throrg/Gemfile index 89847bd..b6e0373 100644 --- a/engines/throrg/Gemfile +++ b/engines/throrg/Gemfile @@ -1,7 +1,6 @@ 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 diff --git a/gems/test_utils/Gemfile b/gems/test_utils/Gemfile index 889e777..a1a4f48 100644 --- a/gems/test_utils/Gemfile +++ b/gems/test_utils/Gemfile @@ -1,7 +1,6 @@ require "../../require_gemfile" require_gemfile "../../sources.gemfile" -source 'https://rubygems.org' # Specify your gem's dependencies in test_utils.gemspec gemspec diff --git a/require_gemfile.rb b/require_gemfile.rb index 00b9b92..d89f624 100644 --- a/require_gemfile.rb +++ b/require_gemfile.rb @@ -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 diff --git a/sources.gemfile b/sources.gemfile index 75b5518..07538b3 100644 --- a/sources.gemfile +++ b/sources.gemfile @@ -17,9 +17,7 @@ path "gems" path "engines" -# Finally, external gem sources are declared to resolve gems external to the project. This -# doesn't currently work because the hack implementation of require_gemfile doesn't support -# the source DSL method. +# Finally, external gem sources are declared to resolve gems external to the project. # source 'https://myprivategemserver.net' -# source "https://rubygems.org" +source "https://rubygems.org" From a4a20e7063834c0bf166b8dcd44c5735319b442b Mon Sep 17 00:00:00 2001 From: Donnie Tognazzini Date: Fri, 7 Nov 2014 15:45:17 -0800 Subject: [PATCH 6/8] removing auto-generated comments from Gemfiles to make them easier to read --- Gemfile | 31 ------------------------------- engines/blorgh/Gemfile | 10 ---------- engines/lorde/Gemfile | 11 ----------- engines/lorde/gems/yayaya/Gemfile | 1 - engines/throrg/Gemfile | 11 ----------- gems/test_utils/Gemfile | 1 - 6 files changed, 65 deletions(-) diff --git a/Gemfile b/Gemfile index 8601ccd..8169fe4 100644 --- a/Gemfile +++ b/Gemfile @@ -2,38 +2,19 @@ require 'require_gemfile' require_gemfile "sources.gemfile" -# 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' gem 'blorgh' gem 'lorde' group :doc do - # bundle exec rake doc:rails generates the API under doc/api. gem 'sdoc', require: false end @@ -41,15 +22,3 @@ 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] diff --git a/engines/blorgh/Gemfile b/engines/blorgh/Gemfile index fb1de22..5916a75 100644 --- a/engines/blorgh/Gemfile +++ b/engines/blorgh/Gemfile @@ -2,18 +2,8 @@ require "../../require_gemfile" require_gemfile "../../sources.gemfile" -# 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' diff --git a/engines/lorde/Gemfile b/engines/lorde/Gemfile index 2057741..232ab43 100644 --- a/engines/lorde/Gemfile +++ b/engines/lorde/Gemfile @@ -2,18 +2,7 @@ require "../../require_gemfile" 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' diff --git a/engines/lorde/gems/yayaya/Gemfile b/engines/lorde/gems/yayaya/Gemfile index 3b3a246..7723acb 100644 --- a/engines/lorde/gems/yayaya/Gemfile +++ b/engines/lorde/gems/yayaya/Gemfile @@ -2,5 +2,4 @@ require '../../../../require_gemfile' require_gemfile "../../sources.gemfile" -# Specify your gem's dependencies in yayaya.gemspec gemspec diff --git a/engines/throrg/Gemfile b/engines/throrg/Gemfile index b6e0373..9aea575 100644 --- a/engines/throrg/Gemfile +++ b/engines/throrg/Gemfile @@ -2,18 +2,7 @@ require "../../require_gemfile" require_gemfile "../../sources.gemfile" -# 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' diff --git a/gems/test_utils/Gemfile b/gems/test_utils/Gemfile index a1a4f48..32e1692 100644 --- a/gems/test_utils/Gemfile +++ b/gems/test_utils/Gemfile @@ -2,7 +2,6 @@ require "../../require_gemfile" require_gemfile "../../sources.gemfile" -# 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' From 59fbb6c0eda2d83198c63abc592897571eef4d11 Mon Sep 17 00:00:00 2001 From: Donnie Tognazzini Date: Fri, 7 Nov 2014 15:46:02 -0800 Subject: [PATCH 7/8] adding a comment --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index 8169fe4..fa94fce 100644 --- a/Gemfile +++ b/Gemfile @@ -11,6 +11,7 @@ gem 'jquery-rails' gem 'turbolinks' gem 'jbuilder', '~> 1.2' +# Project local gems gem 'blorgh' gem 'lorde' From 02214c7f11d81cbbf87be744231fcd5d7d473ca9 Mon Sep 17 00:00:00 2001 From: Donnie Tognazzini Date: Mon, 10 Nov 2014 11:17:24 -0800 Subject: [PATCH 8/8] fix require in Gemfile --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index fa94fce..0208162 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,4 @@ -require 'require_gemfile' +require File.expand_path('require_gemfile', File.dirname(__FILE__)) require_gemfile "sources.gemfile"