dependencyswapper 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9570e89b29152f82d307d70194a86b60874d983
4
- data.tar.gz: ff56f0fdb497685dcf2cc4a7c0a28a1b9a5ef1d1
3
+ metadata.gz: 8b90fffd15f47eee87012219bab5552cfdcb00f8
4
+ data.tar.gz: '08fe95c1dd4e53dace5d4d2bfc461a07b7d25c1d'
5
5
  SHA512:
6
- metadata.gz: 8846dbf5164728910433a76c4d57c3b5648e37e9371a6624c23701d43a02aa3acb25bc65c71bd4331e4f2e7480f8ee47e1528aabbdd6ff6745b21c6e14530248
7
- data.tar.gz: 4abc180a62874318e29842b8c3fb01a97f5e35b2bbb0af6abda84ac1262230c83fcfaded87910d3f6d2e3a27a9db9a514b2090e592d63859a80c797e8d4b7e1f
6
+ metadata.gz: bec93fa6f18fbb44a7b6e0d9e656ca2b61c86a0cd4d7f9585798b097426fb9bba9c8e233c6cfb8176bd56276f875f4a47bf36b05a04deb75759dacb518082f8f
7
+ data.tar.gz: 0317f3902388a4b4ccba566541c4da16c33a14e1303604cc9c2004e63aa499cbac8c96ebb1774628a40fbeea0bfe8e19628f64a0761c4bd2e71ae56d8dda0b51
@@ -0,0 +1,50 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ ## Specific to RubyMotion:
17
+ .dat*
18
+ .repl_history
19
+ build/
20
+ *.bridgesupport
21
+ build-iPhoneOS/
22
+ build-iPhoneSimulator/
23
+
24
+ ## Specific to RubyMotion (use of CocoaPods):
25
+ #
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
+ #
30
+ # vendor/Pods/
31
+
32
+ ## Documentation cache and generated files:
33
+ /.yardoc/
34
+ /_yardoc/
35
+ /doc/
36
+ /rdoc/
37
+
38
+ ## Environment normalization:
39
+ /.bundle/
40
+ /vendor/bundle
41
+ /lib/bundler/man/
42
+
43
+ # for a library or gem, you might want to ignore these files since the code is
44
+ # intended to run in multiple environments; otherwise, check them in:
45
+ # Gemfile.lock
46
+ # .ruby-version
47
+ # .ruby-gemset
48
+
49
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
+ .rvmrc
@@ -34,4 +34,5 @@ Gem::Specification.new do |spec|
34
34
  spec.add_development_dependency "rake", "~> 10.0"
35
35
  spec.add_development_dependency "rspec", "~> 3.0"
36
36
  spec.add_runtime_dependency "thor"
37
+ spec.add_runtime_dependency "colorize"
37
38
  end
@@ -3,6 +3,7 @@ require 'fileutils'
3
3
  require 'tempfile'
4
4
  require 'json'
5
5
  require 'find'
6
+ require 'colorize'
6
7
  require "dependencyswapper/graph.rb"
7
8
 
8
9
  module Dependency
@@ -66,7 +67,7 @@ module Dependency
66
67
  File.open(@podfile_path, 'w') do |file|
67
68
  file.puts file_lines
68
69
  end
69
- `pod install`
70
+ system("pod install")
70
71
  end
71
72
 
72
73
  def dev
@@ -102,7 +103,9 @@ module Dependency
102
103
  File.open(@podfile_path, 'w') do |file|
103
104
  file.puts file_lines
104
105
  end
105
- `pod install`
106
+ development_dir = Dir.pwd + "/dev-" + dependency_name
107
+ puts "The development pod was cloned in ".green + development_dir.green
108
+ system("pod install")
106
109
  end
107
110
  end
108
111
  end
@@ -17,7 +17,7 @@ module Dependency
17
17
  @pods = Array.new()
18
18
  if !File.exist?(@podfilelock_path)
19
19
  puts "The Podfile.lock is missing. We will run pod install so we can generate the dependency graph to swap dependencies."
20
- `pod install`
20
+ system("pod install")
21
21
  end
22
22
  end
23
23
 
@@ -1,3 +1,3 @@
1
1
  module Dependencyswapper
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependencyswapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Terns
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-26 00:00:00.000000000 Z
11
+ date: 2017-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: colorize
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  description: The dependencyswapper allows developers to switch between non source
70
84
  pods to source pods or to development pods. This gem comes very handy for framework
71
85
  developers that produce frameworks as binaries and not as source.
@@ -78,6 +92,7 @@ extensions: []
78
92
  extra_rdoc_files: []
79
93
  files:
80
94
  - ".DS_Store"
95
+ - ".gitignore"
81
96
  - CHANGELOG.md
82
97
  - CODE_OF_CONDUCT.md
83
98
  - Gemfile
@@ -97,7 +112,6 @@ files:
97
112
  - lib/dependencyswapper/pod.rb
98
113
  - lib/dependencyswapper/stringextractor.rb
99
114
  - lib/dependencyswapper/version.rb
100
- - pkg/dependencyswapper-0.5.0.gem
101
115
  homepage: https://github.com/pkrmf/dependencyswapper
102
116
  licenses:
103
117
  - MIT