iniquity 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/iniquity +1 -1
  3. data/bin/ipm +7 -7
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a493adecc4701636f7a163c63719be8a6283768
4
- data.tar.gz: 6ace7d0e5602ac99365240dcdf3723bf32c471b9
3
+ metadata.gz: 515632244b0a4e02552f0727880ecfb07953fb06
4
+ data.tar.gz: d7258c50be815631cc6b0614830e3000bbbead8b
5
5
  SHA512:
6
- metadata.gz: c5cec94e1228487d68569165ed8c348b8978d9bd4b5912d3c1d9c7e35c18517c91f12a1b346b1b4a03ec8b355b87b021b1e00d32beadedf1aba1b351d63f7fc9
7
- data.tar.gz: 51499114cdf86d44abc844457c69f85dbd94ca2123377b0e9b1a5e32ddf9a81d4481381da4f2b21e98229ae350b8307eed68e693e57fdda2558890961146a28b
6
+ metadata.gz: 83e7a44d23db21e5b27b09940249f902eb0191623eff286cf18af9014aceebd4dcb49c6ccaca5265e7cf035cbd0949e2c53df93421c655949007b48b6f729c1d
7
+ data.tar.gz: 11b135517eb933b5429457e06e75dad1cf5ee3a72d93c6431c74e54aa18c756f0ba84fa675ad1dfdcc14824976f70182abf4dfbfceabc9fd5eee5e7a1e4e6a16
data/bin/iniquity CHANGED
@@ -72,7 +72,7 @@ end
72
72
 
73
73
  ### Iniquity
74
74
 
75
- if File.exists?(SYSTEM+ "/iniquity.ini")
75
+ if File.exists?(SYSTEM + "/iniquity.ini")
76
76
  CONFIG = IniFile.load(SYSTEM+ "/iniquity.ini")
77
77
  else
78
78
  abort "An Iniquity system must have an iniquity.ini file."
data/bin/ipm CHANGED
@@ -17,15 +17,15 @@ require "json"
17
17
 
18
18
  puts "\nipm - The Iniquity Package Manager.\n\n"
19
19
 
20
- packages = Github.repos.list user: 'iniquitybbs'
20
+ repositories = Github.repos.list user: "iniquitybbs"
21
21
 
22
- iq = []
22
+ packages = []
23
23
 
24
- packages.each do |package|
25
- if package.name.match(/^iq/)
26
- iq.push(package.name)
27
- puts package.name
24
+ repositories.each do |repo|
25
+ if repo.name.match(/^ip/)
26
+ puts repo.name
27
+ packages.push(repo.name_full)
28
28
  end
29
29
  end
30
30
 
31
- puts "\n#{iq.length} total packages available.\n\n"
31
+ puts "\nTotal packages: #{packages.length}\n\n"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iniquity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Stephenson