rippler 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ require 'faraday'
11
11
  require "pp"
12
12
 
13
13
  # URI to scrape Ripple addresses from (default: Bitcointalk giveaway thread)
14
- SCRAPE_URL = ARGV[0] || 'https://bitcointalk.org/index.php?topic=145506.4600'
14
+ SCRAPE_URL = ARGV[0] || 'https://bitcointalk.org/index.php?topic=145506.46400'
15
15
  # RE_ADDRESSS = /^r[1-9A-Za-z][^OIl]{25,35}/
16
16
  RE_ADDRESSS = /r[1-9A-Za-z]{25,35}/
17
17
  RE_TOPIC = /.*bitcointalk.org.*topic=.*\.(\d*)$/
@@ -1,8 +1,11 @@
1
1
  # encoding: UTF-8
2
2
  module Rippler
3
3
 
4
- # X.*** signifies an anonymous account that is active in Ripple
5
- Contacts = Hash[ *%W[
4
+ # Ripple::Contacts are name->address pairs for all publicly known contacts. Ex:
5
+ # Ripple::Contacts['molecular'] == 'rpH3zuMch2GrrYX724xGWwbMGwiQ5RbSAU'
6
+ #
7
+ # X.*** signifies an anonymous account that is active in Ripple
8
+ Contacts = Hash[ *%W[
6
9
  X.FortKnox.1 rhWnKQ79moM7wkk2b9RpufDzhbHw7YLc6d
7
10
  X.FortKnox.2 r9PbKbYisKN1DSwaZ7jp6ZsKmfk1yCFAAi
8
11
  X.FortKnox.3 rJipRKjL3CNAvWWMNrbXW9sCvk66PBdyMv
@@ -153,9 +156,9 @@ module Rippler
153
156
  BitcoinG.xrptrader.1 rMXZoruHCtqxyjvW4k4yKZnnD3ZrbcTCdX
154
157
  BitcoinG.xrptrader.2 rP9Lt7SZUEErkXAXyggceibTCEYbfSyx6n
155
158
 
159
+ molecular rpH3zuMch2GrrYX724xGWwbMGwiQ5RbSAU
156
160
  coin4value rG131kWmej2huHs74Qaz4wV99dCeavo8ph
157
161
  InstantBTC rmnHyfkJWo55AQQcp7gYwG5W1r1WjrSrC
158
- molecular rpH3zuMch2GrrYX724xGWwbMGwiQ5RbSAU
159
162
  Ente rNEtVs4kNeESF5HbWCDZMYcWwKZ5iKwUEr
160
163
  herzmeister rUdPvX9YN1NwyniwiJeSW6y3YKZL84gsB6
161
164
  ribuck ra3a5cfr83b5FTh1YDURqWQh8HTbHEwdyD
@@ -197,8 +200,6 @@ module Rippler
197
200
  Trading rNPHozULzm5nKavgXxbq8tcwAcxyhZpTBw
198
201
  Schleicher rGGxDC8VZ7zHmVKt6XK6sc7fUziNtvohWC
199
202
  ripper234 rhQ7mQ1JJKygoxh7SoCaKNZB4GufdCRiH3
200
- alexkravets rKQLJpoBagwGiE7LVcY8YfDfE6EUREJjeq
201
- alexkravets.1 rnLkaEfjiiyLKkKwUrjYxWNuysB2z7ja2Z
202
203
  comboy rLHMoLsuLhg1Q741bHNjv7jhMqr6karoG7
203
204
  djbaniel rNnLFDCRrAtuESodmwamAasMBZqCmkqQH9
204
205
  djbaniel.1 rQErgeGDdZ9KyWVXaujBmSSD8otUBFPbeV
@@ -4030,8 +4031,6 @@ module Rippler
4030
4031
  philipma1957 rPd8SQ4qqjjzr4E3yDxh6C5172yycDZGDi
4031
4032
  QueenElizabeth rMq1UcM8nMs7m7HFGuDdCYfWNZQVCTRb4g
4032
4033
 
4033
-
4034
- arvicco rnZoUopPFXRSVGdeDkgbqdft8SbXfJxKYh
4035
4034
  paysafecardbitcoin rN4kvobWCZVSzgLmo27B4kMjakAL31pMSr
4036
4035
  Lethn r4DpNXFTohg1hgBKxrYv8YBtahKNAALjeH
4037
4036
  nikkus rUhcZuPQBrykExj1VSfLnaeLdu2hJmVe9e
@@ -4255,5 +4254,18 @@ module Rippler
4255
4254
 
4256
4255
  ]]
4257
4256
 
4257
+ # Load your private Contacts database in addition to public Contacts
4258
+ # Just add contacts there like this:
4259
+ # Rippler::Contacts['name1234'] = 'rIppLeAddress1234'
4260
+ def self.load_private_contacts path
4261
+ file = File.expand_path(path, __FILE__)
4262
+ load file if File.exist?(file)
4263
+ end
4264
+
4265
+ load_private_contacts '~/.rippler/contacts.rb'
4266
+ load_private_contacts '../../../config/contacts.rb'
4267
+
4268
+ # Ripple::Addresses are used to find name for a given address. Ex:
4269
+ # Ripple::Addresses['rpH3zuMch2GrrYX724xGWwbMGwiQ5RbSAU'] == 'molecular'
4258
4270
  Addresses = Contacts.invert
4259
4271
  end
@@ -1,3 +1,3 @@
1
1
  module Rippler
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rippler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-15 00:00:00.000000000 Z
12
+ date: 2013-05-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faye-websocket