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 +4 -4
- data/.gitignore +50 -0
- data/dependencyswapper.gemspec +1 -0
- data/lib/dependencyswapper/DependencyReplacer.rb +5 -2
- data/lib/dependencyswapper/graph.rb +1 -1
- data/lib/dependencyswapper/version.rb +1 -1
- metadata +17 -3
- data/pkg/dependencyswapper-0.5.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b90fffd15f47eee87012219bab5552cfdcb00f8
|
4
|
+
data.tar.gz: '08fe95c1dd4e53dace5d4d2bfc461a07b7d25c1d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bec93fa6f18fbb44a7b6e0d9e656ca2b61c86a0cd4d7f9585798b097426fb9bba9c8e233c6cfb8176bd56276f875f4a47bf36b05a04deb75759dacb518082f8f
|
7
|
+
data.tar.gz: 0317f3902388a4b4ccba566541c4da16c33a14e1303604cc9c2004e63aa499cbac8c96ebb1774628a40fbeea0bfe8e19628f64a0761c4bd2e71ae56d8dda0b51
|
data/.gitignore
ADDED
@@ -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
|
data/dependencyswapper.gemspec
CHANGED
@@ -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
|
-
|
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
|
-
|
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
|
-
|
20
|
+
system("pod install")
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
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.
|
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-
|
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
|
Binary file
|