ripple-cli 0.0.8 → 2.0.0.54

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MGVmYjA2YWIzZGU3YjJkNWFjNjYwMzczYzBlYzQ3NDI3NGM4YjdiYg==
5
+ data.tar.gz: !binary |-
6
+ NDE4MTE1Y2U1N2M3ZDIxYTRmMTg1ZDEwOTZiYzNiOTQzNTcxN2ViNg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ YWRlMjYxNjJmOGRhY2I4ZmMxZjE3NWJhYzVjODIzMDA5NjJlZGQ1M2Q3MGZk
10
+ NzUwMjIwMjUxMzg3OTQ4NDQyOGE4MTcyYjkyN2Q3OWMwYmZhZTdiNGIzNTk3
11
+ YTY2ODU4N2JkNjQyZTgxOTYzZjU1NjdmNGM0NzI1ODZlYzYzZGQ=
12
+ data.tar.gz: !binary |-
13
+ NjdiOWE5Y2ExNjc1N2E1MDFlMDVlYTRmYWYzNzY5MGM4ZjZjYTZhMzVmNmEy
14
+ OWRhMjg0Yjc5OTZlM2I3NDNhMTYzNzRjMTEzNDQ2ZDBmN2M1YzIwMjU5NWE4
15
+ MThmMjMwZjM5YzQ0ZThmNGJlNDA3ZTRlMzRjYzYyZTViNzhjYzg=
data/bin/ripple CHANGED
@@ -1,3 +1,3 @@
1
- #!/usr/bin/env ruby
2
-
3
- system("#{File.dirname(__FILE__)}/ripple_exe/ripple.exe", *ARGV)
1
+ #!/usr/bin/env ruby
2
+
3
+ system("#{File.dirname(__FILE__)}/ripple_exe/ripple.exe", *ARGV)
metadata CHANGED
@@ -1,66 +1,78 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ripple-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
5
- prerelease:
4
+ version: 2.0.0.54
6
5
  platform: ruby
7
6
  authors:
8
- - Matt Smith
7
+ - Jeremy Miller
8
+ - Josh Arnold
9
9
  - Ryan Rauh
10
+ - Matthew Smith
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2013-04-22 00:00:00.000000000 Z
14
- dependencies: []
15
- description: Quickly install ripple command line tools
14
+ date: 2013-04-25 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: bundler
18
+ requirement: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: '1.3'
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.3'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ! '>='
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ description: Ripple is a tool that wraps Nuget with workflow more conducive to upstream/downstream
45
+ development across code repositories
16
46
  email:
17
- - mtscout6@gmail.com
18
- - rauh.ryan@gmail.com
47
+ - fubumvc-devel@googlegroups.com
19
48
  executables:
20
49
  - ripple
21
50
  extensions: []
22
51
  extra_rdoc_files: []
23
52
  files:
24
- - .gitignore
25
- - .gitmodules
26
- - Gemfile
27
- - LICENSE.txt
28
- - README.md
29
- - Rakefile
30
53
  - bin/ripple
31
- - bin/ripple_exe/FubuCore.dll
32
- - bin/ripple_exe/Nuget.Core.dll
33
- - bin/ripple_exe/ripple.exe
34
- - lib/ripple-cli.rb
35
- - lib/ripple-cli/engine.rb
36
- - lib/ripple-cli/restore.rb
37
- - lib/ripple-cli/update.rb
38
- - lib/ripple-cli/version.rb
39
- - ripple-cli.gemspec
40
- - specs/ripple-cli/restore_spec.rb
41
- - specs/ripple-cli/update_spec.rb
42
- homepage: ''
43
- licenses: []
54
+ homepage: http://fubu-project.org
55
+ licenses:
56
+ - Apache 2.0
57
+ metadata: {}
44
58
  post_install_message:
45
59
  rdoc_options: []
46
60
  require_paths:
47
61
  - lib
48
62
  required_ruby_version: !ruby/object:Gem::Requirement
49
- none: false
50
63
  requirements:
51
64
  - - ! '>='
52
65
  - !ruby/object:Gem::Version
53
66
  version: '0'
54
67
  required_rubygems_version: !ruby/object:Gem::Requirement
55
- none: false
56
68
  requirements:
57
69
  - - ! '>='
58
70
  - !ruby/object:Gem::Version
59
71
  version: '0'
60
72
  requirements: []
61
73
  rubyforge_project:
62
- rubygems_version: 1.8.24
74
+ rubygems_version: 2.0.3
63
75
  signing_key:
64
- specification_version: 3
65
- summary: installs the command line tool ripple
76
+ specification_version: 4
77
+ summary: Improved dependency management with Nuget
66
78
  test_files: []
data/.gitignore DELETED
@@ -1,19 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- vendor/packages
19
- ripple.cmd
@@ -1,3 +0,0 @@
1
- [submodule "buildsupport"]
2
- path = buildsupport
3
- url = git://github.com/DarthFubuMVC/buildsupport.git
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
@@ -1,22 +0,0 @@
1
- Copyright (c) 2013 Ryan Rauh
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md DELETED
@@ -1,29 +0,0 @@
1
- # Fubu
2
-
3
- TODO: Write a gem description
4
-
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- gem 'ripple-cli'
10
-
11
- And then execute:
12
-
13
- $ bundle
14
-
15
- Or install it yourself as:
16
-
17
- $ gem install ripple-cli
18
-
19
- ## Usage
20
-
21
- TODO: Write usage instructions here
22
-
23
- ## Contributing
24
-
25
- 1. Fork it
26
- 2. Create your feature branch (`git checkout -b my-new-feature`)
27
- 3. Commit your changes (`git commit -am 'Add some feature'`)
28
- 4. Push to the branch (`git push origin my-new-feature`)
29
- 5. Create new Pull Request
data/Rakefile DELETED
@@ -1,27 +0,0 @@
1
- require 'bundler/gem_tasks'
2
-
3
- buildsupportfiles = Dir["#{File.dirname(__FILE__)}/buildsupport/*.rb"]
4
-
5
- if( ! buildsupportfiles.any? )
6
- # no buildsupport, let's go get it for them.
7
- sh 'git submodule update --init' unless buildsupportfiles.any?
8
- buildsupportfiles = Dir["#{File.dirname(__FILE__)}/buildsupport/*.rb"]
9
- end
10
-
11
- # nope, we still don't have buildsupport. Something went wrong.
12
- raise "Run `git submodule update --init` to populate your buildsupport folder." unless buildsupportfiles.any?
13
-
14
- require './buildsupport/common'
15
-
16
- $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
17
-
18
- task :update => %w{update_buildsupport} do
19
- [
20
- 'ripple.exe',
21
- 'FubuCore.dll',
22
- 'Nuget.Core.dll'
23
- ].each do |file|
24
- cp "buildsupport/#{file}", "bin/ripple_exe/#{file}"
25
- end
26
- end
27
-
Binary file
Binary file
@@ -1,5 +0,0 @@
1
- module Ripple
2
- RIPPLE_EXE = File.expand_path "#{File.dirname(__FILE__)}/../bin/ripple_exe/ripple.exe", __FILE__
3
- end
4
-
5
- Dir["#{File.dirname(__FILE__)}/ripple-cli/**/*.rb"].each{|f| load f }
@@ -1,15 +0,0 @@
1
- module Ripple
2
- class Engine
3
- def execute
4
- system("#{RIPPLE_EXE} #{command} #{build_args}")
5
- end
6
-
7
- def command
8
- throw 'Command to be implemented'
9
- end
10
-
11
- def build_args
12
- throw 'Args to be implemented'
13
- end
14
- end
15
- end
@@ -1,28 +0,0 @@
1
- module Ripple
2
- class Restore < Engine
3
-
4
- attr_accessor :feeds, :force, :solution, :cache, :all_solutions, :verbose
5
-
6
- def command
7
- 'restore'
8
- end
9
-
10
- def build_args
11
- args = ''
12
-
13
- args = "#{args} --feeds \"#{@feeds.join('#')}\"" unless @feeds.nil? or @feeds.length < 1
14
- args = "#{args} --force" if @force
15
- args = "#{args} --cache \"#{@cache}\"" unless @cache.nil? or @cache.empty?
16
-
17
- if @all_solutions
18
- args = "#{args} --all"
19
- else
20
- args = "#{args} --solution \"#{@solution}\"" unless @solution.nil? or @solution.empty?
21
- end
22
-
23
- args = "#{args} --verbose" if @verbose
24
-
25
- args.strip
26
- end
27
- end
28
- end
@@ -1,30 +0,0 @@
1
- module Ripple
2
- class Update < Engine
3
-
4
- attr_accessor :nuget, :preview, :force, :solution, :cache, :all_solutions, :verbose
5
-
6
- def command
7
- 'update'
8
- end
9
-
10
- def build_args
11
- args = ''
12
-
13
- args = "#{args} --nuget \"#{@nuget}\"" unless @nuget.nil? or @nuget.empty?
14
- args = "#{args} --preview" if @preview
15
- args = "#{args} --force" if @force
16
- args = "#{args} --cache \"#{@cache}\"" unless @cache.nil? or @cache.empty?
17
-
18
- if @all_solutions
19
- args = "#{args} --all"
20
- else
21
- args = "#{args} --solution \"#{@solution}\"" unless @solution.nil? or @solution.empty?
22
- end
23
-
24
- args = "#{args} --verbose" if @verbose
25
-
26
- args.strip
27
- end
28
-
29
- end
30
- end
@@ -1,3 +0,0 @@
1
- module Ripple
2
- VERSION = '0.0.8'
3
- end
@@ -1,19 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'ripple-cli/version'
5
-
6
- Gem::Specification.new do |gem|
7
- gem.name = "ripple-cli"
8
- gem.version = Ripple::VERSION
9
- gem.authors = ["Matt Smith", "Ryan Rauh"]
10
- gem.email = ["mtscout6@gmail.com", "rauh.ryan@gmail.com"]
11
- gem.description = %q{Quickly install ripple command line tools}
12
- gem.summary = %q{installs the command line tool ripple}
13
- gem.homepage = ""
14
-
15
- gem.files = `git ls-files`.split($/)
16
- gem.executables = ["ripple"]
17
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
- gem.require_paths = ["lib"]
19
- end
@@ -1,99 +0,0 @@
1
- require 'ripple-cli'
2
-
3
- module Ripple
4
- describe Restore do
5
- subject { Restore.new }
6
-
7
- describe '#build_args' do
8
- context 'with nil feeds' do
9
- it { subject.build_args.should eq '' }
10
- end
11
-
12
- context 'with no feeds' do
13
- before { subject.feeds = [] }
14
- it { subject.build_args.should eq '' }
15
- end
16
-
17
- context 'with one feed' do
18
- before { subject.feeds = ['feed1'] }
19
- it { subject.build_args.should eq '--feeds "feed1"' }
20
- end
21
-
22
- context 'with multipe feeds' do
23
- before { subject.feeds = ['feed1', 'feed2'] }
24
- it { subject.build_args.should eq '--feeds "feed1#feed2"' }
25
- end
26
-
27
- context 'force no' do
28
- before { subject.force = false }
29
- it { subject.build_args.should eq '' }
30
- end
31
-
32
- context 'force yes' do
33
- before { subject.force = true }
34
- it { subject.build_args.should eq '--force' }
35
- end
36
-
37
- context 'with nil cache' do
38
- it { subject.build_args.should eq '' }
39
- end
40
-
41
- context 'with empty cache' do
42
- before { subject.cache = '' }
43
- it { subject.build_args.should eq '' }
44
- end
45
-
46
- context 'with cache' do
47
- before { subject.cache = 'some/cache' }
48
- it { subject.build_args.should eq '--cache "some/cache"' }
49
- end
50
-
51
- context 'not for all solutions' do
52
- before { subject.all_solutions = false }
53
- it { subject.build_args.should eq '' }
54
- end
55
-
56
- context 'for all solutions' do
57
- before { subject.all_solutions = true }
58
- it { subject.build_args.should eq '--all' }
59
- end
60
-
61
- context 'for specific solution' do
62
- before { subject.solution = 'some/solution' }
63
- it { subject.build_args.should eq '--solution "some/solution"' }
64
- end
65
-
66
- context 'for specific solution and all solutions' do
67
- before {
68
- subject.solution = 'some/solution'
69
- subject.all_solutions = true
70
- }
71
- it { subject.build_args.should eq '--all' }
72
- end
73
-
74
- context 'no solution specified' do
75
- it { subject.build_args.should eq '' }
76
- end
77
-
78
- context 'verbose no' do
79
- it { subject.build_args.should eq '' }
80
- end
81
-
82
- context 'verbose yes' do
83
- before { subject.verbose = true }
84
- it { subject.build_args.should eq '--verbose' }
85
- end
86
-
87
- context 'with feeds, force, cache, all, and verbose' do
88
- before {
89
- subject.feeds = ['feed1', 'feed2']
90
- subject.force = true
91
- subject.cache = 'some/cache'
92
- subject.all_solutions = true
93
- subject.verbose = true
94
- }
95
- it { subject.build_args.should eq '--feeds "feed1#feed2" --force --cache "some/cache" --all --verbose' }
96
- end
97
- end
98
- end
99
- end
@@ -1,105 +0,0 @@
1
- require 'ripple-cli'
2
-
3
- module Ripple
4
- describe Update do
5
- subject { Update.new }
6
-
7
- describe '#build_args' do
8
- context 'with nil nuget' do
9
- it { subject.build_args.should eq '' }
10
- end
11
-
12
- context 'with empty nuget' do
13
- before { subject.nuget = '' }
14
- it { subject.build_args.should eq '' }
15
- end
16
-
17
- context 'with nuget' do
18
- before { subject.nuget = 'some.nuget' }
19
- it { subject.build_args.should eq '--nuget "some.nuget"' }
20
- end
21
-
22
- context 'preview no' do
23
- before { subject.preview = false }
24
- it { subject.build_args.should eq '' }
25
- end
26
-
27
- context 'preview yes' do
28
- before { subject.preview = true }
29
- it { subject.build_args.should eq '--preview' }
30
- end
31
-
32
- context 'force no' do
33
- before { subject.force = false }
34
- it { subject.build_args.should eq '' }
35
- end
36
-
37
- context 'force yes' do
38
- before { subject.force = true }
39
- it { subject.build_args.should eq '--force' }
40
- end
41
-
42
- context 'with nil cache' do
43
- it { subject.build_args.should eq '' }
44
- end
45
-
46
- context 'with empty cache' do
47
- before { subject.cache = '' }
48
- it { subject.build_args.should eq '' }
49
- end
50
-
51
- context 'with cache' do
52
- before { subject.cache = 'some/cache' }
53
- it { subject.build_args.should eq '--cache "some/cache"' }
54
- end
55
-
56
- context 'not for all solutions' do
57
- before { subject.all_solutions = false }
58
- it { subject.build_args.should eq '' }
59
- end
60
-
61
- context 'for all solutions' do
62
- before { subject.all_solutions = true }
63
- it { subject.build_args.should eq '--all' }
64
- end
65
-
66
- context 'for specific solution' do
67
- before { subject.solution = 'some/solution' }
68
- it { subject.build_args.should eq '--solution "some/solution"' }
69
- end
70
-
71
- context 'for specific solution and all solutions' do
72
- before {
73
- subject.solution = 'some/solution'
74
- subject.all_solutions = true
75
- }
76
- it { subject.build_args.should eq '--all' }
77
- end
78
-
79
- context 'no solution specified' do
80
- it { subject.build_args.should eq '' }
81
- end
82
-
83
- context 'verbose no' do
84
- it { subject.build_args.should eq '' }
85
- end
86
-
87
- context 'verbose yes' do
88
- before { subject.verbose = true }
89
- it { subject.build_args.should eq '--verbose' }
90
- end
91
-
92
- context 'with feeds, force, cache, all, and verbose' do
93
- before {
94
- subject.nuget = 'some.nuget'
95
- subject.preview = true
96
- subject.force = true
97
- subject.cache = 'some/cache'
98
- subject.all_solutions = true
99
- subject.verbose = true
100
- }
101
- it { subject.build_args.should eq '--nuget "some.nuget" --preview --force --cache "some/cache" --all --verbose' }
102
- end
103
- end
104
- end
105
- end