jphastings-dlc 1.0.2 → 1.0.3

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 (2) hide show
  1. data/dlc.rb +4 -0
  2. metadata +1 -1
data/dlc.rb CHANGED
@@ -222,6 +222,8 @@ module DLC
222
222
  return false
223
223
  end
224
224
 
225
+ alias :add_links :add_link
226
+
225
227
  # Adds a password to the package
226
228
  # Also accepts an array of passwords
227
229
  def add_password(password)
@@ -239,6 +241,8 @@ module DLC
239
241
  return false
240
242
  end
241
243
 
244
+ alias :add_passwords :add_password
245
+
242
246
  # Gives you the DLC of the package you've created. First run (every hour) will take longer than the others while
243
247
  # the jdownloader service is queried for information.
244
248
  def dlc
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jphastings-dlc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Hastings-Spital