motion-require 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDc1ZGY1OGY4Y2UxNDg0ZjI5MTdjMGIzNTUyNGE5ZDZhYzU5OGIzZQ==
4
+ NWI0MDU0NTRjOTJlMjJlNzI2ZTc5YjNmMzY4NGY2ZjYxZTYwZmM0OQ==
5
5
  data.tar.gz: !binary |-
6
- NmFmNjc1ODY1NmVjNmIzMDIyYWNiNTI2NDRkMmVhZTI1ZGNjZDAwMw==
6
+ OTE3ZGE5NjQ1MjZlYmEzZGQwOWNmMmU0NTYzMWU5YzY1OGVlYTRjNw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OWI4MDE4MWJkOGRmM2ZiN2NmZmEzMjQxZWNkOWE2ZDJiYWZiNjNhMTUzOTRj
10
- NzNiM2Y5OWU5ZGE1Y2IzMWUxMjBlZmJiNzljMjJlODViODE4Y2UwN2IxNmU5
11
- Njk4NGNkODNjY2M2N2E1YjYwMDkxZTUxZTQ0MTYyM2ZhMTdkZGQ=
9
+ MWJjZGVjNjQ5NjYyNmJkN2RhNDEwOWI5NjdhMDc1NmE0NjNhMWUwNzliMGQ1
10
+ M2JkMzU4ODdhODBkODIwYWUwYTQxYzg5NTUyYzgxNzdkMTZhODJkOGQ3MTcw
11
+ ZGM2NmZmZWMwYTAyMTk2MWRkNzlkZjEzYmJhOGRhMzkwODkwMmU=
12
12
  data.tar.gz: !binary |-
13
- OWI4OGNiYmMwMjk1M2Q3ZjczZGVkNzQ1MjM3ZjZjMzhlZDEyMjVkZGU4MWEx
14
- NGJiZGJjZmJkMmY1MmQwODM5YjdiMTgxOTY1NjJiODE2NDRlNjg5ZGRiY2E2
15
- NWY2MGQxMDY2NTc0OTYwMmEzNzg3OWMxY2RhZTc4ZDk0MDY4N2I=
13
+ NmQ0N2RlNzQxZWUyMTEzNWRhZTFkNzc0YWVjZTQ4MDVhYjAyMzUwMWI4OGU0
14
+ ODBjN2Y3NDBiMTFjMTU5YWRiOGRkN2NjYmE5NzQwODc5MDQzMDFiMzVjMTdl
15
+ MzRjYjRjZmNmZDEwNzA3NGE0YThkMjQxZmUwY2RhYWY1Nzg3MTQ=
data/README.md CHANGED
@@ -32,8 +32,12 @@ To enable `motion_require` for only select files:
32
32
  Motion::Require.all(Dir.glob('app/models/**/*.rb'))
33
33
  ```
34
34
 
35
+ You **should not** use `app.files <<` in your `setup` block if using motion-require; opt to use `Motion::Require.all` and it will be taken care of.
36
+
35
37
  It's used in:
36
38
  - [Formotion](https://github.com/clayallsopp/formotion)
39
+ - [MotionSupport](https://github.com/tkadauke/motion-support)
40
+ - [Basecamp](https://itunes.apple.com/us/app/id599139477) ([ref](https://twitter.com/qrush/status/343324117140897792))
37
41
 
38
42
  ## Installation
39
43
 
@@ -90,6 +90,7 @@ module Motion
90
90
  def all(files=nil)
91
91
  Motion::Project::App.setup do |app|
92
92
  if files.nil? || files.empty?
93
+ app.files.push ext_file
93
94
  app.files_dependencies dependencies_for(app.files)
94
95
  else
95
96
  # Place files prior to those in ./app, otherwise at the end.
@@ -1,5 +1,5 @@
1
1
  module Motion
2
2
  module Require
3
- VERSION="0.0.6"
3
+ VERSION="0.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-require
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clay Allsopp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-25 00:00:00.000000000 Z
11
+ date: 2013-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec