dependencyswapper 0.5.2 → 0.5.3

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: 8b90fffd15f47eee87012219bab5552cfdcb00f8
4
- data.tar.gz: '08fe95c1dd4e53dace5d4d2bfc461a07b7d25c1d'
3
+ metadata.gz: c7f495ba74a166712c4e429d97ba6f447ae1e41d
4
+ data.tar.gz: 3c27dce69a76328621e128df0d21718916c006df
5
5
  SHA512:
6
- metadata.gz: bec93fa6f18fbb44a7b6e0d9e656ca2b61c86a0cd4d7f9585798b097426fb9bba9c8e233c6cfb8176bd56276f875f4a47bf36b05a04deb75759dacb518082f8f
7
- data.tar.gz: 0317f3902388a4b4ccba566541c4da16c33a14e1303604cc9c2004e63aa499cbac8c96ebb1774628a40fbeea0bfe8e19628f64a0761c4bd2e71ae56d8dda0b51
6
+ metadata.gz: 67ce79a17fb122e3cf953cb31cea454651b0a614aaebdbb252274116b3f00051c606fee7239d8240125d16a57f317ace48633e156ab49846b050ad55cd045d8c
7
+ data.tar.gz: 2961519d8ff40b53c1cb99507844629d099553081d7f2082d64d888b75e522f07cd758ab22edd7ff5cf9f0716abf2c22f7a841d1e0c4cab3417aac74cdd1cb92
@@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.5.3] - 2017-10-28
10
+ ### Fixed
11
+ - Fixed an issue where development pods would cause a crash.
12
+
13
+ ## [0.5.2] - 2017-10-28
14
+ ### Added
15
+ - Now dependencyswapper prints in console the directory where the development pod was installed.
16
+
9
17
  ## [0.5.1] - 2017-10-25
10
18
  ### Added
11
19
  - Fix issue with install message
@@ -16,4 +24,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
16
24
  - Added a CHANGELOG
17
25
 
18
26
  [0.5.0]: https://github.com/pkrmf/dependencyswapper/tree/tag/v0.5.0
19
- [0.5.1]: https://github.com/pkrmf/dependencyswapper/tree/tag/v0.5.0
27
+ [0.5.1]: https://github.com/pkrmf/dependencyswapper/tree/tag/v0.5.1
28
+ [0.5.2]: https://github.com/pkrmf/dependencyswapper/tree/tag/v0.5.2
29
+ [0.5.3]: https://github.com/pkrmf/dependencyswapper/tree/tag/v0.5.3
data/README.md CHANGED
@@ -30,7 +30,7 @@ Whenever you want to swap environments on any of your dependencies, run `depswap
30
30
 
31
31
  ## Contributing
32
32
 
33
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dependencyswapper. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/pkrmf/dependencyswapper. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
34
34
 
35
35
  ## License
36
36
 
@@ -71,6 +71,20 @@ module Dependency
71
71
  end
72
72
 
73
73
  def dev
74
+ graph = Dependency::Graph.new({
75
+ :podfilelock_path => @podfile_path + ".lock"
76
+ })
77
+ pods = graph.generate()
78
+
79
+ #tag variable to store the version
80
+ tag = ""
81
+
82
+ pods.each { |pod|
83
+ if pod.name.eql? @dependency_name
84
+ tag = pod.version
85
+ end
86
+ }
87
+
74
88
  file_lines = ''
75
89
  IO.readlines(@podfile_path).each do |line|
76
90
  file_lines += line unless line.include? "'" + dependency_name + "'"
@@ -1,3 +1,3 @@
1
1
  module Dependencyswapper
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependencyswapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Terns