bundler-fu 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bddf17bc9f1a76f48f82127569d23a2e269deeba
4
+ data.tar.gz: 067172ed766dc79dd9b6fc337b5f0812bf45b6e2
5
+ SHA512:
6
+ metadata.gz: d9c6e483217663ea4c873d3cae76a844e2bed4ea29a59206442cb8aaa686aa641377c15d891597bb55b88b176d04220566a217aa0952d10bd63983450d2cf6d7
7
+ data.tar.gz: 6a7250c3ab6d01acb2aea2fffa2e5abf9e6e166d34aecc223c4dc3e6a73089380c1699b0092868c069ad763b27a9c18dc39d46f8fe210462c4e42f23910b65ff
@@ -0,0 +1 @@
1
+ --markup markdown
@@ -0,0 +1,93 @@
1
+ []: {{{1
2
+
3
+ File : README.md
4
+ Maintainer : Felix C. Stegerman <flx@obfusk.net>
5
+ Date : 2014-04-07
6
+
7
+ Copyright : Copyright (C) 2014 Felix C. Stegerman
8
+ Version : v0.0.2
9
+
10
+ []: }}}1
11
+
12
+ [![Gem Version](https://badge.fury.io/rb/bundler-fu.png)](https://badge.fury.io/rb/bundler-fu)
13
+
14
+ ## Description
15
+
16
+ bundler-fu - tools for bundler
17
+
18
+ `bundler-fu` provides some tools for `bundler` [1], like a
19
+ standalone `Gemfile.lock` parser.
20
+
21
+ ## Examples
22
+
23
+ []: {{{1
24
+
25
+ ```ruby
26
+ require 'bundler-fu/lockfile'
27
+ x = BundlerFu::Lockfile.parse_file('Gemfile.lock')
28
+
29
+ x[:remote] # => 'https://rubygems.org/'
30
+ x[:platforms] # => ['ruby']
31
+
32
+ x[:gits]
33
+ # => {"rack"=>
34
+ # {:gem=>"rack",
35
+ # :version=>"1.6.0.alpha",
36
+ # :remote=>"https://github.com/rack/rack.git",
37
+ # :revision=>"ce4a3959a5be68684c447ce68c626d0cc84f8c1a",
38
+ # :branch=>"master",
39
+ # :specs=>{"rack"=>{:gem=>"rack", :version=>"1.6.0.alpha", :deps=>{}}}},
40
+ # ... },
41
+
42
+ x[:paths]
43
+ # => {"obfusk-util"=>
44
+ # {:gem=>"obfusk-util",
45
+ # :version=>"0.5.1",
46
+ # :remote=>"/home/felix/dev/lib/rb-obfusk-util",
47
+ # :specs=>
48
+ # {"obfusk-util"=>{:gem=>"obfusk-util", :version=>"0.5.1", :deps=>{}}}},
49
+ ... },
50
+
51
+ x[:gems]
52
+ # => {"rspec-expectations"=>
53
+ # {:gem=>"rspec-expectations",
54
+ # :version=>"2.14.5",
55
+ # :deps=>{"diff-lcs"=>{:gem=>"diff-lcs", :version=>">= 1.1.3, < 2.0"}}},
56
+ # ... }
57
+
58
+ x[:dependencies]
59
+ # => {"obfusk-util"=>
60
+ # {:gem=>"obfusk-util", :version=>nil, :bang=>true, :used=>"0.5.1"},
61
+ # "rack"=>{:gem=>"rack", :version=>nil, :bang=>true, :used=>"1.6.0.alpha"},
62
+ # "rspec"=>{:gem=>"rspec", :version=>nil, :bang=>false, :used=>"2.14.1"},
63
+ # ... }
64
+
65
+ ```
66
+
67
+ []: }}}1
68
+
69
+ ## Specs & Docs
70
+
71
+ ```bash
72
+ $ rake spec
73
+ $ rake docs
74
+ ```
75
+
76
+ ## TODO
77
+
78
+ * specs!
79
+ * more tools!
80
+
81
+ ## License
82
+
83
+ LGPLv3+ [2].
84
+
85
+ ## References
86
+
87
+ [1] bundler
88
+ --- http://bundler.io
89
+
90
+ [2] GNU Lesser General Public License, version 3
91
+ --- http://www.gnu.org/licenses/lgpl-3.0.html
92
+
93
+ []: ! ( vim: set tw=70 sw=2 sts=2 et fdm=marker : )
@@ -0,0 +1,59 @@
1
+ desc 'Run specs'
2
+ task :spec do
3
+ sh 'rspec -c'
4
+ end
5
+
6
+ desc 'Run specs verbosely'
7
+ task 'spec:verbose' do
8
+ sh 'rspec -cfd'
9
+ end
10
+
11
+ desc 'Run specs verbosely, view w/ less'
12
+ task 'spec:less' do
13
+ sh 'rspec -cfd --tty | less -R'
14
+ end
15
+
16
+ desc 'Check for warnings'
17
+ task :warn do
18
+ raise 'TODO'
19
+ # sh 'ruby -w -I lib -r bundler-fu/... -e ""'
20
+ end
21
+
22
+ desc 'Check for warnings in specs'
23
+ task 'warn:spec' do
24
+ reqs = Dir['spec/**/*.rb'].sort.map { |x| "-r ./#{x}" } * ' '
25
+ sh "ruby -w -I lib -r rspec #{reqs} -e ''"
26
+ end
27
+
28
+ desc 'Check for warnings in specs (but not void context)'
29
+ task 'warn:spec:novoid' do
30
+ sh 'rake warn:spec 2>&1 | grep -v "void context"'
31
+ end
32
+
33
+ desc 'Generate docs'
34
+ task :docs do
35
+ sh 'yardoc | cat'
36
+ end
37
+
38
+ desc 'List undocumented objects'
39
+ task 'docs:undoc' do
40
+ sh 'yard stats --list-undoc'
41
+ end
42
+
43
+ desc 'Cleanup'
44
+ task :clean do
45
+ sh 'rm -rf .yardoc/ doc/ *.gem'
46
+ end
47
+
48
+ desc 'Build SNAPSHOT gem'
49
+ task :snapshot do
50
+ v = Time.new.strftime '%Y%m%d%H%M%S'
51
+ f = 'lib/bundler-fu/util/version.rb'
52
+ sh "sed -ri~ 's!(SNAPSHOT)!\\1.#{v}!' #{f}"
53
+ sh 'gem build bundler-fu-util.gemspec'
54
+ end
55
+
56
+ desc 'Undo SNAPSHOT gem'
57
+ task 'snapshot:undo' do
58
+ sh 'git checkout -- lib/bundler-fu/util/version.rb'
59
+ end
@@ -0,0 +1,31 @@
1
+ require File.expand_path('../lib/bundler-fu/version', __FILE__)
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = 'bundler-fu'
5
+ s.homepage = 'https://github.com/obfusk/bundler-fu'
6
+ s.summary = 'tools for bundler'
7
+
8
+ s.description = <<-END.gsub(/^ {4}/, '')
9
+ bundler-fu provides some tools for bundler
10
+ END
11
+
12
+ s.version = BundlerFu::VERSION
13
+ s.date = BundlerFu::DATE
14
+
15
+ s.authors = [ 'Felix C. Stegerman' ]
16
+ s.email = %w{ flx@obfusk.net }
17
+
18
+ s.licenses = %w{ LGPLv3+ }
19
+
20
+ s.files = %w{ .yardopts README.md Rakefile } \
21
+ + %w{ bundler-fu.gemspec } \
22
+ + Dir['test/Gemfile*[^~]'] \
23
+ + Dir['{lib,spec}/**/*.{rb,tt}']
24
+
25
+ s.add_runtime_dependency 'treetop'
26
+
27
+ s.add_development_dependency 'rake'
28
+ s.add_development_dependency 'rspec'
29
+
30
+ s.required_ruby_version = '>= 1.9.1'
31
+ end
@@ -0,0 +1,108 @@
1
+ # -- ; {{{1
2
+ #
3
+ # File : bundler-fu/lockfile.rb
4
+ # Maintainer : Felix C. Stegerman <flx@obfusk.net>
5
+ # Date : 2014-02-20
6
+ #
7
+ # Copyright : Copyright (C) 2014 Felix C. Stegerman
8
+ # Licence : LGPLv3+
9
+ #
10
+ # -- ; }}}1
11
+
12
+ require 'treetop'
13
+
14
+ module BundlerFu; module Lockfile
15
+
16
+ class ParseFailed < RuntimeError; end
17
+
18
+ module RootNode # {{{1
19
+
20
+ def _get_deps(deps, w_bang = false) # {{{2
21
+ Hash[deps.map do |x|
22
+ v = x.version.respond_to?(:version) ?
23
+ x.version.version.value.text_value : nil
24
+ g = x.gem.text_value
25
+ d1 = { gem: g, version: v }
26
+ d2 = w_bang ? d1.merge(bang: !x.bang.text_value.empty?) : d1
27
+ [g, d2]
28
+ end]
29
+ end # }}}2
30
+
31
+ def _get_specs(specs) # {{{2
32
+ Hash[specs.map do |x|
33
+ g = x.gem.text_value
34
+ d = { gem: g, version: x.version.value.text_value,
35
+ deps: _get_deps(x.deps.elements) }
36
+ [g, d]
37
+ end]
38
+ end # }}}2
39
+
40
+ def get_remote
41
+ gems.remote.url.text_value
42
+ end
43
+
44
+ def get_platforms
45
+ platforms.platforms.elements.map { |x| x.name.text_value }
46
+ end
47
+
48
+ def get_gits # {{{2
49
+ Hash[gits.elements.map do |x|
50
+ b = x.branch.respond_to?(:branch) ?
51
+ x.branch.branch.text_value : nil
52
+ s = _get_specs x.specs.specs.elements
53
+ g, v = s.first[1].values_at(:gem, :version)
54
+ d = { gem: g, version: v,
55
+ remote: x.remote.url.text_value,
56
+ revision: x.revision.revision.text_value,
57
+ branch: b, specs: s }
58
+ [g, d]
59
+ end]
60
+ end # }}}2
61
+
62
+ def get_paths # {{{2
63
+ Hash[paths.elements.map do |x|
64
+ s = _get_specs x.specs.specs.elements
65
+ g, v = s.first[1].values_at(:gem, :version)
66
+ d = { gem: g, version: v,
67
+ remote: x.remote.url.text_value, specs: s }
68
+ [g, d]
69
+ end]
70
+ end # }}}2
71
+
72
+ def get_gems
73
+ _get_specs gems.specs.specs.elements
74
+ end
75
+
76
+ def get_dependencies
77
+ _get_deps dependencies.dependencies.elements, true
78
+ end
79
+
80
+ end # }}}1
81
+
82
+ Treetop.load File.expand_path('../lockfile.tt', __FILE__)
83
+
84
+ def self.parse(data) # {{{1
85
+ p = LockfileParser.new
86
+ r = p.parse(data) or raise ParseFailed, p.failure_reason
87
+ gits = r.get_gits
88
+ paths = r.get_paths
89
+ gems = r.get_gems
90
+ deps = _merge_versions r.get_dependencies, gits, paths, gems
91
+ { remote: r.get_remote, platforms: r.get_platforms,
92
+ gits: gits, paths: paths, gems: gems, dependencies: deps }
93
+ end # }}}1
94
+
95
+ def self.parse_file(filename)
96
+ parse File.read(filename)
97
+ end
98
+
99
+ def self._merge_versions(deps, gits, paths, gems)
100
+ Hash[deps.map do |(g,d)|
101
+ v = (gems[g] || gits[g] || paths[g])[:version]
102
+ [g, d.merge(used: v)]
103
+ end]
104
+ end
105
+
106
+ end; end
107
+
108
+ # vim: set tw=70 sw=2 sts=2 et fdm=marker :
@@ -0,0 +1,68 @@
1
+ # -- ; {{{1
2
+ #
3
+ # File : bundler-fu/lockfile.tt
4
+ # Maintainer : Felix C. Stegerman <flx@obfusk.net>
5
+ # Date : 2014-02-20
6
+ #
7
+ # Copyright : Copyright (C) 2014 Felix C. Stegerman
8
+ # Licence : LGPLv3+
9
+ #
10
+ # -- ; }}}1
11
+
12
+ module BundlerFu::Lockfile
13
+ grammar Lockfile
14
+ rule file
15
+ gits:( git* ) paths:( path* ) gems platforms dependencies <RootNode>
16
+ end
17
+ rule git
18
+ 'GIT' "\n" remote revision branch:(branch)? specs "\n"
19
+ end
20
+ rule path
21
+ 'PATH' "\n" remote specs "\n"
22
+ end
23
+ rule gems
24
+ 'GEM' "\n" remote specs "\n"
25
+ end
26
+ rule remote
27
+ ' remote: ' url "\n"
28
+ end
29
+ rule revision
30
+ ' revision: ' revision:word "\n"
31
+ end
32
+ rule branch
33
+ ' branch: ' branch:word "\n"
34
+ end
35
+ rule specs
36
+ ' specs:' "\n" specs:( spec* )
37
+ end
38
+ rule spec
39
+ ' ' gem:word ' ' version "\n" deps:( dep* )
40
+ end
41
+ rule dep
42
+ ' ' gem:word version:( ' ' version )? "\n"
43
+ end
44
+ rule platforms
45
+ 'PLATFORMS' "\n" platforms:( platform* ) "\n"
46
+ end
47
+ rule platform
48
+ ' ' name:( 'ruby' ) "\n"
49
+ end
50
+ rule dependencies
51
+ 'DEPENDENCIES' "\n" dependencies:( dependency* )
52
+ end
53
+ rule dependency
54
+ ' ' gem:word bang:( '!' )? version:( ' ' version )? "\n"
55
+ end
56
+ rule word
57
+ [A-Za-z0-9_-]+
58
+ end
59
+ rule url
60
+ ( !"\n" . )+ # TODO
61
+ end
62
+ rule version
63
+ '(' value:( !')' . )+ ')' # TODO
64
+ end
65
+ end
66
+ end
67
+
68
+ # vim: set tw=70 sw=2 sts=2 et fdm=marker :
@@ -0,0 +1,4 @@
1
+ module BundlerFu
2
+ VERSION = '0.0.2'
3
+ DATE = '2014-04-07'
4
+ end
@@ -0,0 +1,34 @@
1
+ # -- ; {{{1
2
+ #
3
+ # File : bundler-fu/lockfile_spec.rb
4
+ # Maintainer : Felix C. Stegerman <flx@obfusk.net>
5
+ # Date : 2014-04-07
6
+ #
7
+ # Copyright : Copyright (C) 2014 Felix C. Stegerman
8
+ # Licence : LGPLv3+
9
+ #
10
+ # -- ; }}}1
11
+
12
+ require 'bundler-fu/lockfile'
13
+ require 'yaml'
14
+
15
+ bfl = BundlerFu::Lockfile
16
+
17
+ describe 'bundler-fu/lockfile' do
18
+
19
+ context 'parse_file' do
20
+ it 'Gemfile.lock.1 == Gemfile.yaml.1' do
21
+ x = bfl.parse_file('test/Gemfile.lock.1')
22
+ y = YAML.load_file('test/Gemfile.yaml.1')
23
+ expect(x).to eq(y)
24
+ end
25
+ it 'Gemfile.lock.2 == Gemfile.yaml.2' do
26
+ x = bfl.parse_file('test/Gemfile.lock.2')
27
+ y = YAML.load_file('test/Gemfile.yaml.2')
28
+ expect(x).to eq(y)
29
+ end
30
+ end
31
+
32
+ end
33
+
34
+ # vim: set tw=70 sw=2 sts=2 et fdm=marker :
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'rspec'
4
+ gem 'sinatra', github: 'sinatra/sinatra'
5
+ gem 'obfusk-util', path: '/home/felix/dev/lib/rb-obfusk-util'
6
+ gem 'rack', git: 'https://github.com/rack/rack.git', branch: 'master'
7
+ gem 'eft', path: '/home/felix/dev/lib/eft'
8
+ gem 'rake'
@@ -0,0 +1,128 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ actionmailer (4.0.0)
5
+ actionpack (= 4.0.0)
6
+ mail (~> 2.5.3)
7
+ actionpack (4.0.0)
8
+ activesupport (= 4.0.0)
9
+ builder (~> 3.1.0)
10
+ erubis (~> 2.7.0)
11
+ rack (~> 1.5.2)
12
+ rack-test (~> 0.6.2)
13
+ activemodel (4.0.0)
14
+ activesupport (= 4.0.0)
15
+ builder (~> 3.1.0)
16
+ activerecord (4.0.0)
17
+ activemodel (= 4.0.0)
18
+ activerecord-deprecated_finders (~> 1.0.2)
19
+ activesupport (= 4.0.0)
20
+ arel (~> 4.0.0)
21
+ activerecord-deprecated_finders (1.0.3)
22
+ activesupport (4.0.0)
23
+ i18n (~> 0.6, >= 0.6.4)
24
+ minitest (~> 4.2)
25
+ multi_json (~> 1.3)
26
+ thread_safe (~> 0.1)
27
+ tzinfo (~> 0.3.37)
28
+ arel (4.0.0)
29
+ atomic (1.1.13)
30
+ bcrypt-ruby (3.0.1)
31
+ builder (3.1.4)
32
+ coffee-rails (4.0.0)
33
+ coffee-script (>= 2.2.0)
34
+ railties (>= 4.0.0.beta, < 5.0)
35
+ coffee-script (2.2.0)
36
+ coffee-script-source
37
+ execjs
38
+ coffee-script-source (1.6.3)
39
+ erubis (2.7.0)
40
+ execjs (2.0.1)
41
+ hashie (2.0.5)
42
+ hike (1.2.3)
43
+ i18n (0.6.5)
44
+ jbuilder (1.5.1)
45
+ activesupport (>= 3.0.0)
46
+ multi_json (>= 1.2.0)
47
+ jquery-rails (3.0.4)
48
+ railties (>= 3.0, < 5.0)
49
+ thor (>= 0.14, < 2.0)
50
+ json (1.8.0)
51
+ localconfig (0.2.0)
52
+ hashie
53
+ rake
54
+ mail (2.5.4)
55
+ mime-types (~> 1.16)
56
+ treetop (~> 1.4.8)
57
+ mime-types (1.25)
58
+ minitest (4.7.5)
59
+ multi_json (1.7.9)
60
+ pg (0.16.0)
61
+ polyglot (0.3.3)
62
+ rack (1.5.2)
63
+ rack-test (0.6.2)
64
+ rack (>= 1.0)
65
+ rails (4.0.0)
66
+ actionmailer (= 4.0.0)
67
+ actionpack (= 4.0.0)
68
+ activerecord (= 4.0.0)
69
+ activesupport (= 4.0.0)
70
+ bundler (>= 1.3.0, < 2.0)
71
+ railties (= 4.0.0)
72
+ sprockets-rails (~> 2.0.0)
73
+ railties (4.0.0)
74
+ actionpack (= 4.0.0)
75
+ activesupport (= 4.0.0)
76
+ rake (>= 0.8.7)
77
+ thor (>= 0.18.1, < 2.0)
78
+ rake (10.1.0)
79
+ rdoc (3.12.2)
80
+ json (~> 1.4)
81
+ sass (3.2.10)
82
+ sass-rails (4.0.0)
83
+ railties (>= 4.0.0.beta, < 5.0)
84
+ sass (>= 3.1.10)
85
+ sprockets-rails (~> 2.0.0)
86
+ sdoc (0.3.20)
87
+ json (>= 1.1.3)
88
+ rdoc (~> 3.10)
89
+ sprockets (2.10.0)
90
+ hike (~> 1.2)
91
+ multi_json (~> 1.0)
92
+ rack (~> 1.0)
93
+ tilt (~> 1.1, != 1.3.0)
94
+ sprockets-rails (2.0.0)
95
+ actionpack (>= 3.0)
96
+ activesupport (>= 3.0)
97
+ sprockets (~> 2.8)
98
+ sqlite3 (1.3.8)
99
+ thor (0.18.1)
100
+ thread_safe (0.1.2)
101
+ atomic
102
+ tilt (1.4.1)
103
+ treetop (1.4.15)
104
+ polyglot
105
+ polyglot (>= 0.3.1)
106
+ turbolinks (1.3.0)
107
+ coffee-rails
108
+ tzinfo (0.3.37)
109
+ uglifier (2.2.1)
110
+ execjs (>= 0.3.0)
111
+ multi_json (~> 1.0, >= 1.0.2)
112
+
113
+ PLATFORMS
114
+ ruby
115
+
116
+ DEPENDENCIES
117
+ bcrypt-ruby (~> 3.0.0)
118
+ coffee-rails (~> 4.0.0)
119
+ jbuilder (~> 1.2)
120
+ jquery-rails
121
+ localconfig
122
+ pg
123
+ rails (= 4.0.0)
124
+ sass-rails (~> 4.0.0)
125
+ sdoc
126
+ sqlite3
127
+ turbolinks
128
+ uglifier (>= 1.3.0)
@@ -0,0 +1,54 @@
1
+ GIT
2
+ remote: git://github.com/sinatra/sinatra.git
3
+ revision: 1f9617c71390d5cd9265fc8bfcc473bac4f13c94
4
+ specs:
5
+ sinatra (1.4.4)
6
+ rack (~> 1.4)
7
+ rack-protection (~> 1.4)
8
+ tilt (~> 1.3, >= 1.3.4)
9
+
10
+ GIT
11
+ remote: https://github.com/rack/rack.git
12
+ revision: ce4a3959a5be68684c447ce68c626d0cc84f8c1a
13
+ branch: master
14
+ specs:
15
+ rack (1.6.0.alpha)
16
+
17
+ PATH
18
+ remote: /home/felix/dev/lib/eft
19
+ specs:
20
+ eft (0.4.2)
21
+ obfusk-util
22
+
23
+ PATH
24
+ remote: /home/felix/dev/lib/rb-obfusk-util
25
+ specs:
26
+ obfusk-util (0.5.1)
27
+
28
+ GEM
29
+ remote: https://rubygems.org/
30
+ specs:
31
+ diff-lcs (1.2.5)
32
+ rack-protection (1.5.2)
33
+ rack
34
+ rake (10.2.2)
35
+ rspec (2.14.1)
36
+ rspec-core (~> 2.14.0)
37
+ rspec-expectations (~> 2.14.0)
38
+ rspec-mocks (~> 2.14.0)
39
+ rspec-core (2.14.8)
40
+ rspec-expectations (2.14.5)
41
+ diff-lcs (>= 1.1.3, < 2.0)
42
+ rspec-mocks (2.14.6)
43
+ tilt (1.4.1)
44
+
45
+ PLATFORMS
46
+ ruby
47
+
48
+ DEPENDENCIES
49
+ eft!
50
+ obfusk-util!
51
+ rack!
52
+ rake
53
+ rspec
54
+ sinatra!
@@ -0,0 +1,436 @@
1
+ ---
2
+ :remote: https://rubygems.org/
3
+ :platforms:
4
+ - ruby
5
+ :gits: {}
6
+ :paths: {}
7
+ :gems:
8
+ actionmailer:
9
+ :gem: actionmailer
10
+ :version: 4.0.0
11
+ :deps:
12
+ actionpack:
13
+ :gem: actionpack
14
+ :version: "= 4.0.0"
15
+ mail:
16
+ :gem: mail
17
+ :version: "~> 2.5.3"
18
+ actionpack:
19
+ :gem: actionpack
20
+ :version: 4.0.0
21
+ :deps:
22
+ activesupport:
23
+ :gem: activesupport
24
+ :version: "= 4.0.0"
25
+ builder:
26
+ :gem: builder
27
+ :version: "~> 3.1.0"
28
+ erubis:
29
+ :gem: erubis
30
+ :version: "~> 2.7.0"
31
+ rack:
32
+ :gem: rack
33
+ :version: "~> 1.5.2"
34
+ rack-test:
35
+ :gem: rack-test
36
+ :version: "~> 0.6.2"
37
+ activemodel:
38
+ :gem: activemodel
39
+ :version: 4.0.0
40
+ :deps:
41
+ activesupport:
42
+ :gem: activesupport
43
+ :version: "= 4.0.0"
44
+ builder:
45
+ :gem: builder
46
+ :version: "~> 3.1.0"
47
+ activerecord:
48
+ :gem: activerecord
49
+ :version: 4.0.0
50
+ :deps:
51
+ activemodel:
52
+ :gem: activemodel
53
+ :version: "= 4.0.0"
54
+ activerecord-deprecated_finders:
55
+ :gem: activerecord-deprecated_finders
56
+ :version: "~> 1.0.2"
57
+ activesupport:
58
+ :gem: activesupport
59
+ :version: "= 4.0.0"
60
+ arel:
61
+ :gem: arel
62
+ :version: "~> 4.0.0"
63
+ activerecord-deprecated_finders:
64
+ :gem: activerecord-deprecated_finders
65
+ :version: 1.0.3
66
+ :deps: {}
67
+ activesupport:
68
+ :gem: activesupport
69
+ :version: 4.0.0
70
+ :deps:
71
+ i18n:
72
+ :gem: i18n
73
+ :version: "~> 0.6, >= 0.6.4"
74
+ minitest:
75
+ :gem: minitest
76
+ :version: "~> 4.2"
77
+ multi_json:
78
+ :gem: multi_json
79
+ :version: "~> 1.3"
80
+ thread_safe:
81
+ :gem: thread_safe
82
+ :version: "~> 0.1"
83
+ tzinfo:
84
+ :gem: tzinfo
85
+ :version: "~> 0.3.37"
86
+ arel:
87
+ :gem: arel
88
+ :version: 4.0.0
89
+ :deps: {}
90
+ atomic:
91
+ :gem: atomic
92
+ :version: 1.1.13
93
+ :deps: {}
94
+ bcrypt-ruby:
95
+ :gem: bcrypt-ruby
96
+ :version: 3.0.1
97
+ :deps: {}
98
+ builder:
99
+ :gem: builder
100
+ :version: 3.1.4
101
+ :deps: {}
102
+ coffee-rails:
103
+ :gem: coffee-rails
104
+ :version: 4.0.0
105
+ :deps:
106
+ coffee-script:
107
+ :gem: coffee-script
108
+ :version: ">= 2.2.0"
109
+ railties:
110
+ :gem: railties
111
+ :version: ">= 4.0.0.beta, < 5.0"
112
+ coffee-script:
113
+ :gem: coffee-script
114
+ :version: 2.2.0
115
+ :deps:
116
+ coffee-script-source:
117
+ :gem: coffee-script-source
118
+ :version:
119
+ execjs:
120
+ :gem: execjs
121
+ :version:
122
+ coffee-script-source:
123
+ :gem: coffee-script-source
124
+ :version: 1.6.3
125
+ :deps: {}
126
+ erubis:
127
+ :gem: erubis
128
+ :version: 2.7.0
129
+ :deps: {}
130
+ execjs:
131
+ :gem: execjs
132
+ :version: 2.0.1
133
+ :deps: {}
134
+ hashie:
135
+ :gem: hashie
136
+ :version: 2.0.5
137
+ :deps: {}
138
+ hike:
139
+ :gem: hike
140
+ :version: 1.2.3
141
+ :deps: {}
142
+ i18n:
143
+ :gem: i18n
144
+ :version: 0.6.5
145
+ :deps: {}
146
+ jbuilder:
147
+ :gem: jbuilder
148
+ :version: 1.5.1
149
+ :deps:
150
+ activesupport:
151
+ :gem: activesupport
152
+ :version: ">= 3.0.0"
153
+ multi_json:
154
+ :gem: multi_json
155
+ :version: ">= 1.2.0"
156
+ jquery-rails:
157
+ :gem: jquery-rails
158
+ :version: 3.0.4
159
+ :deps:
160
+ railties:
161
+ :gem: railties
162
+ :version: ">= 3.0, < 5.0"
163
+ thor:
164
+ :gem: thor
165
+ :version: ">= 0.14, < 2.0"
166
+ json:
167
+ :gem: json
168
+ :version: 1.8.0
169
+ :deps: {}
170
+ localconfig:
171
+ :gem: localconfig
172
+ :version: 0.2.0
173
+ :deps:
174
+ hashie:
175
+ :gem: hashie
176
+ :version:
177
+ rake:
178
+ :gem: rake
179
+ :version:
180
+ mail:
181
+ :gem: mail
182
+ :version: 2.5.4
183
+ :deps:
184
+ mime-types:
185
+ :gem: mime-types
186
+ :version: "~> 1.16"
187
+ treetop:
188
+ :gem: treetop
189
+ :version: "~> 1.4.8"
190
+ mime-types:
191
+ :gem: mime-types
192
+ :version: '1.25'
193
+ :deps: {}
194
+ minitest:
195
+ :gem: minitest
196
+ :version: 4.7.5
197
+ :deps: {}
198
+ multi_json:
199
+ :gem: multi_json
200
+ :version: 1.7.9
201
+ :deps: {}
202
+ pg:
203
+ :gem: pg
204
+ :version: 0.16.0
205
+ :deps: {}
206
+ polyglot:
207
+ :gem: polyglot
208
+ :version: 0.3.3
209
+ :deps: {}
210
+ rack:
211
+ :gem: rack
212
+ :version: 1.5.2
213
+ :deps: {}
214
+ rack-test:
215
+ :gem: rack-test
216
+ :version: 0.6.2
217
+ :deps:
218
+ rack:
219
+ :gem: rack
220
+ :version: ">= 1.0"
221
+ rails:
222
+ :gem: rails
223
+ :version: 4.0.0
224
+ :deps:
225
+ actionmailer:
226
+ :gem: actionmailer
227
+ :version: "= 4.0.0"
228
+ actionpack:
229
+ :gem: actionpack
230
+ :version: "= 4.0.0"
231
+ activerecord:
232
+ :gem: activerecord
233
+ :version: "= 4.0.0"
234
+ activesupport:
235
+ :gem: activesupport
236
+ :version: "= 4.0.0"
237
+ bundler:
238
+ :gem: bundler
239
+ :version: ">= 1.3.0, < 2.0"
240
+ railties:
241
+ :gem: railties
242
+ :version: "= 4.0.0"
243
+ sprockets-rails:
244
+ :gem: sprockets-rails
245
+ :version: "~> 2.0.0"
246
+ railties:
247
+ :gem: railties
248
+ :version: 4.0.0
249
+ :deps:
250
+ actionpack:
251
+ :gem: actionpack
252
+ :version: "= 4.0.0"
253
+ activesupport:
254
+ :gem: activesupport
255
+ :version: "= 4.0.0"
256
+ rake:
257
+ :gem: rake
258
+ :version: ">= 0.8.7"
259
+ thor:
260
+ :gem: thor
261
+ :version: ">= 0.18.1, < 2.0"
262
+ rake:
263
+ :gem: rake
264
+ :version: 10.1.0
265
+ :deps: {}
266
+ rdoc:
267
+ :gem: rdoc
268
+ :version: 3.12.2
269
+ :deps:
270
+ json:
271
+ :gem: json
272
+ :version: "~> 1.4"
273
+ sass:
274
+ :gem: sass
275
+ :version: 3.2.10
276
+ :deps: {}
277
+ sass-rails:
278
+ :gem: sass-rails
279
+ :version: 4.0.0
280
+ :deps:
281
+ railties:
282
+ :gem: railties
283
+ :version: ">= 4.0.0.beta, < 5.0"
284
+ sass:
285
+ :gem: sass
286
+ :version: ">= 3.1.10"
287
+ sprockets-rails:
288
+ :gem: sprockets-rails
289
+ :version: "~> 2.0.0"
290
+ sdoc:
291
+ :gem: sdoc
292
+ :version: 0.3.20
293
+ :deps:
294
+ json:
295
+ :gem: json
296
+ :version: ">= 1.1.3"
297
+ rdoc:
298
+ :gem: rdoc
299
+ :version: "~> 3.10"
300
+ sprockets:
301
+ :gem: sprockets
302
+ :version: 2.10.0
303
+ :deps:
304
+ hike:
305
+ :gem: hike
306
+ :version: "~> 1.2"
307
+ multi_json:
308
+ :gem: multi_json
309
+ :version: "~> 1.0"
310
+ rack:
311
+ :gem: rack
312
+ :version: "~> 1.0"
313
+ tilt:
314
+ :gem: tilt
315
+ :version: "~> 1.1, != 1.3.0"
316
+ sprockets-rails:
317
+ :gem: sprockets-rails
318
+ :version: 2.0.0
319
+ :deps:
320
+ actionpack:
321
+ :gem: actionpack
322
+ :version: ">= 3.0"
323
+ activesupport:
324
+ :gem: activesupport
325
+ :version: ">= 3.0"
326
+ sprockets:
327
+ :gem: sprockets
328
+ :version: "~> 2.8"
329
+ sqlite3:
330
+ :gem: sqlite3
331
+ :version: 1.3.8
332
+ :deps: {}
333
+ thor:
334
+ :gem: thor
335
+ :version: 0.18.1
336
+ :deps: {}
337
+ thread_safe:
338
+ :gem: thread_safe
339
+ :version: 0.1.2
340
+ :deps:
341
+ atomic:
342
+ :gem: atomic
343
+ :version:
344
+ tilt:
345
+ :gem: tilt
346
+ :version: 1.4.1
347
+ :deps: {}
348
+ treetop:
349
+ :gem: treetop
350
+ :version: 1.4.15
351
+ :deps:
352
+ polyglot:
353
+ :gem: polyglot
354
+ :version: ">= 0.3.1"
355
+ turbolinks:
356
+ :gem: turbolinks
357
+ :version: 1.3.0
358
+ :deps:
359
+ coffee-rails:
360
+ :gem: coffee-rails
361
+ :version:
362
+ tzinfo:
363
+ :gem: tzinfo
364
+ :version: 0.3.37
365
+ :deps: {}
366
+ uglifier:
367
+ :gem: uglifier
368
+ :version: 2.2.1
369
+ :deps:
370
+ execjs:
371
+ :gem: execjs
372
+ :version: ">= 0.3.0"
373
+ multi_json:
374
+ :gem: multi_json
375
+ :version: "~> 1.0, >= 1.0.2"
376
+ :dependencies:
377
+ bcrypt-ruby:
378
+ :gem: bcrypt-ruby
379
+ :version: "~> 3.0.0"
380
+ :bang: false
381
+ :used: 3.0.1
382
+ coffee-rails:
383
+ :gem: coffee-rails
384
+ :version: "~> 4.0.0"
385
+ :bang: false
386
+ :used: 4.0.0
387
+ jbuilder:
388
+ :gem: jbuilder
389
+ :version: "~> 1.2"
390
+ :bang: false
391
+ :used: 1.5.1
392
+ jquery-rails:
393
+ :gem: jquery-rails
394
+ :version:
395
+ :bang: false
396
+ :used: 3.0.4
397
+ localconfig:
398
+ :gem: localconfig
399
+ :version:
400
+ :bang: false
401
+ :used: 0.2.0
402
+ pg:
403
+ :gem: pg
404
+ :version:
405
+ :bang: false
406
+ :used: 0.16.0
407
+ rails:
408
+ :gem: rails
409
+ :version: "= 4.0.0"
410
+ :bang: false
411
+ :used: 4.0.0
412
+ sass-rails:
413
+ :gem: sass-rails
414
+ :version: "~> 4.0.0"
415
+ :bang: false
416
+ :used: 4.0.0
417
+ sdoc:
418
+ :gem: sdoc
419
+ :version:
420
+ :bang: false
421
+ :used: 0.3.20
422
+ sqlite3:
423
+ :gem: sqlite3
424
+ :version:
425
+ :bang: false
426
+ :used: 1.3.8
427
+ turbolinks:
428
+ :gem: turbolinks
429
+ :version:
430
+ :bang: false
431
+ :used: 1.3.0
432
+ uglifier:
433
+ :gem: uglifier
434
+ :version: ">= 1.3.0"
435
+ :bang: false
436
+ :used: 2.2.1
@@ -0,0 +1,137 @@
1
+ ---
2
+ :remote: https://rubygems.org/
3
+ :platforms:
4
+ - ruby
5
+ :gits:
6
+ sinatra:
7
+ :gem: sinatra
8
+ :version: 1.4.4
9
+ :remote: git://github.com/sinatra/sinatra.git
10
+ :revision: 1f9617c71390d5cd9265fc8bfcc473bac4f13c94
11
+ :branch:
12
+ :specs:
13
+ sinatra:
14
+ :gem: sinatra
15
+ :version: 1.4.4
16
+ :deps:
17
+ rack:
18
+ :gem: rack
19
+ :version: "~> 1.4"
20
+ rack-protection:
21
+ :gem: rack-protection
22
+ :version: "~> 1.4"
23
+ tilt:
24
+ :gem: tilt
25
+ :version: "~> 1.3, >= 1.3.4"
26
+ rack:
27
+ :gem: rack
28
+ :version: 1.6.0.alpha
29
+ :remote: https://github.com/rack/rack.git
30
+ :revision: ce4a3959a5be68684c447ce68c626d0cc84f8c1a
31
+ :branch: master
32
+ :specs:
33
+ rack:
34
+ :gem: rack
35
+ :version: 1.6.0.alpha
36
+ :deps: {}
37
+ :paths:
38
+ eft:
39
+ :gem: eft
40
+ :version: 0.4.2
41
+ :remote: "/home/felix/dev/lib/eft"
42
+ :specs:
43
+ eft:
44
+ :gem: eft
45
+ :version: 0.4.2
46
+ :deps:
47
+ obfusk-util:
48
+ :gem: obfusk-util
49
+ :version:
50
+ obfusk-util:
51
+ :gem: obfusk-util
52
+ :version: 0.5.1
53
+ :remote: "/home/felix/dev/lib/rb-obfusk-util"
54
+ :specs:
55
+ obfusk-util:
56
+ :gem: obfusk-util
57
+ :version: 0.5.1
58
+ :deps: {}
59
+ :gems:
60
+ diff-lcs:
61
+ :gem: diff-lcs
62
+ :version: 1.2.5
63
+ :deps: {}
64
+ rack-protection:
65
+ :gem: rack-protection
66
+ :version: 1.5.2
67
+ :deps:
68
+ rack:
69
+ :gem: rack
70
+ :version:
71
+ rake:
72
+ :gem: rake
73
+ :version: 10.2.2
74
+ :deps: {}
75
+ rspec:
76
+ :gem: rspec
77
+ :version: 2.14.1
78
+ :deps:
79
+ rspec-core:
80
+ :gem: rspec-core
81
+ :version: "~> 2.14.0"
82
+ rspec-expectations:
83
+ :gem: rspec-expectations
84
+ :version: "~> 2.14.0"
85
+ rspec-mocks:
86
+ :gem: rspec-mocks
87
+ :version: "~> 2.14.0"
88
+ rspec-core:
89
+ :gem: rspec-core
90
+ :version: 2.14.8
91
+ :deps: {}
92
+ rspec-expectations:
93
+ :gem: rspec-expectations
94
+ :version: 2.14.5
95
+ :deps:
96
+ diff-lcs:
97
+ :gem: diff-lcs
98
+ :version: ">= 1.1.3, < 2.0"
99
+ rspec-mocks:
100
+ :gem: rspec-mocks
101
+ :version: 2.14.6
102
+ :deps: {}
103
+ tilt:
104
+ :gem: tilt
105
+ :version: 1.4.1
106
+ :deps: {}
107
+ :dependencies:
108
+ eft:
109
+ :gem: eft
110
+ :version:
111
+ :bang: true
112
+ :used: 0.4.2
113
+ obfusk-util:
114
+ :gem: obfusk-util
115
+ :version:
116
+ :bang: true
117
+ :used: 0.5.1
118
+ rack:
119
+ :gem: rack
120
+ :version:
121
+ :bang: true
122
+ :used: 1.6.0.alpha
123
+ rake:
124
+ :gem: rake
125
+ :version:
126
+ :bang: false
127
+ :used: 10.2.2
128
+ rspec:
129
+ :gem: rspec
130
+ :version:
131
+ :bang: false
132
+ :used: 2.14.1
133
+ sinatra:
134
+ :gem: sinatra
135
+ :version:
136
+ :bang: true
137
+ :used: 1.4.4
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bundler-fu
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Felix C. Stegerman
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-04-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: treetop
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: |
56
+ bundler-fu provides some tools for bundler
57
+ email:
58
+ - flx@obfusk.net
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - ".yardopts"
64
+ - README.md
65
+ - Rakefile
66
+ - bundler-fu.gemspec
67
+ - lib/bundler-fu/lockfile.rb
68
+ - lib/bundler-fu/lockfile.tt
69
+ - lib/bundler-fu/version.rb
70
+ - spec/bundler-fu/lockfile_spec.rb
71
+ - test/Gemfile.2
72
+ - test/Gemfile.lock.1
73
+ - test/Gemfile.lock.2
74
+ - test/Gemfile.yaml.1
75
+ - test/Gemfile.yaml.2
76
+ homepage: https://github.com/obfusk/bundler-fu
77
+ licenses:
78
+ - LGPLv3+
79
+ metadata: {}
80
+ post_install_message:
81
+ rdoc_options: []
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 1.9.1
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ requirements: []
95
+ rubyforge_project:
96
+ rubygems_version: 2.2.2
97
+ signing_key:
98
+ specification_version: 4
99
+ summary: tools for bundler
100
+ test_files: []
101
+ has_rdoc: