appbundler 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +16 -16
- data/.rspec +2 -2
- data/.travis.yml +16 -12
- data/Gemfile +4 -4
- data/LICENSE.txt +202 -202
- data/README.md +70 -70
- data/Rakefile +1 -1
- data/appbundler.gemspec +27 -27
- data/bin/appbundler +13 -13
- data/lib/appbundler.rb +4 -4
- data/lib/appbundler/app.rb +194 -192
- data/lib/appbundler/cli.rb +113 -113
- data/lib/appbundler/version.rb +3 -3
- data/spec/appbundler/app_spec.rb +421 -421
- data/spec/fixtures/appbundler-example-app/.bundle/config +2 -2
- data/spec/fixtures/appbundler-example-app/Gemfile +2 -2
- data/spec/fixtures/appbundler-example-app/Gemfile.lock.unix +135 -135
- data/spec/fixtures/appbundler-example-app/Gemfile.lock.windows +172 -172
- data/spec/fixtures/appbundler-example-app/README.md +3 -3
- data/spec/fixtures/appbundler-example-app/appbundler-example-app.gemspec +22 -22
- data/spec/fixtures/appbundler-example-app/bin/app-binary-1 +2 -2
- data/spec/fixtures/appbundler-example-app/bin/app-binary-2 +2 -2
- data/spec/fixtures/appbundler-example-app/lib/example_app.rb +3 -3
- data/spec/spec_helper.rb +9 -9
- metadata +3 -3
@@ -1,3 +1,3 @@
|
|
1
|
-
# Example App
|
2
|
-
|
3
|
-
This app is a test fixture. It has no use of its own.
|
1
|
+
# Example App
|
2
|
+
|
3
|
+
This app is a test fixture. It has no use of its own.
|
@@ -1,22 +1,22 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
Gem::Specification.new do |spec|
|
4
|
-
spec.name = "appbundler-example-app"
|
5
|
-
spec.version = "1.0.0"
|
6
|
-
spec.authors = ["danielsdeleo"]
|
7
|
-
spec.email = ["dan@opscode.com"]
|
8
|
-
spec.description = %q{test fixture app}
|
9
|
-
spec.summary = spec.description
|
10
|
-
spec.homepage = ""
|
11
|
-
spec.license = "Apache2"
|
12
|
-
|
13
|
-
spec.files = Dir.glob("{bin,lib,spec}/**/*").reject {|f| File.directory?(f) }
|
14
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
15
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
16
|
-
spec.require_paths = ["lib"]
|
17
|
-
|
18
|
-
spec.add_dependency "chef"
|
19
|
-
spec.add_development_dependency "rake"
|
20
|
-
spec.add_development_dependency "pry"
|
21
|
-
end
|
22
|
-
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = "appbundler-example-app"
|
5
|
+
spec.version = "1.0.0"
|
6
|
+
spec.authors = ["danielsdeleo"]
|
7
|
+
spec.email = ["dan@opscode.com"]
|
8
|
+
spec.description = %q{test fixture app}
|
9
|
+
spec.summary = spec.description
|
10
|
+
spec.homepage = ""
|
11
|
+
spec.license = "Apache2"
|
12
|
+
|
13
|
+
spec.files = Dir.glob("{bin,lib,spec}/**/*").reject {|f| File.directory?(f) }
|
14
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
15
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
16
|
+
spec.require_paths = ["lib"]
|
17
|
+
|
18
|
+
spec.add_dependency "chef"
|
19
|
+
spec.add_development_dependency "rake"
|
20
|
+
spec.add_development_dependency "pry"
|
21
|
+
end
|
22
|
+
|
@@ -1,2 +1,2 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
puts "binary 1 ran"
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
puts "binary 1 ran"
|
@@ -1,2 +1,2 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
puts "binary 2 ran"
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
puts "binary 2 ran"
|
@@ -1,3 +1,3 @@
|
|
1
|
-
module ExampleApp
|
2
|
-
IT_WORKS = "yes"
|
3
|
-
end
|
1
|
+
module ExampleApp
|
2
|
+
IT_WORKS = "yes"
|
3
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
def windows?
|
2
|
-
!!(RUBY_PLATFORM =~ /mswin|mingw|windows/)
|
3
|
-
end
|
4
|
-
|
5
|
-
RSpec.configure do |c|
|
6
|
-
c.filter_run :focus => true
|
7
|
-
c.run_all_when_everything_filtered = true
|
8
|
-
c.filter_run_excluding(not_supported_on_windows: true) if windows?
|
9
|
-
end
|
1
|
+
def windows?
|
2
|
+
!!(RUBY_PLATFORM =~ /mswin|mingw|windows/)
|
3
|
+
end
|
4
|
+
|
5
|
+
RSpec.configure do |c|
|
6
|
+
c.filter_run :focus => true
|
7
|
+
c.run_all_when_everything_filtered = true
|
8
|
+
c.filter_run_excluding(not_supported_on_windows: true) if windows?
|
9
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appbundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- danielsdeleo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
135
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.4.
|
136
|
+
rubygems_version: 2.4.8
|
137
137
|
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: Extracts a dependency solution from bundler's Gemfile.lock to speed gem activation
|