atomizr 0.19.0 → 0.19.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/atomizr.rb +1 -7
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb034ae35aa0553af97dc0627675b8a37cdedf7a
4
- data.tar.gz: e7c1dee5e92a42851625801a5e07f4f34495476b
3
+ metadata.gz: 8d3ae6e3d50c6244d09becae2f6945e8203b776d
4
+ data.tar.gz: 23152f3996e4d80cff88379843dc7a66995b7164
5
5
  SHA512:
6
- metadata.gz: f065fef71332ae0f6dca7156b7501dc06b2d5f897ea9143d2fbb2b22e2ec15f2c9214eda3893be624d33837ccf4f8d0c07c809f4b296d3a18de0f9bcdc7d50f6
7
- data.tar.gz: 32bb778a4255e890ff9817efc23f0946134ab6a44e0d317e7c16950d93ec4a5f8a002482aa01bd0d6b527ca565471a038eb888b8e2e51ea8bd6708ee292a16e7
6
+ metadata.gz: c4e3f41005573b50ddf311f5fa8e725708d3f3d886f89e2944e6deccda27d6f3e0bd4a7ad501f649257f62227890939f396ac0318948a089380e5ab69ec63be5
7
+ data.tar.gz: c9d1d12ebca0edded1409b6db952a2cf0f37d0aedeb911562ba86e6ced1fd174d065acb83165fa979c7ee9c995bf5ff71f3454ad5915a860fcbf449592a80467
@@ -415,13 +415,7 @@ class Atomizr
415
415
  return input
416
416
  end
417
417
 
418
- stops = input.scan(/\${?(\d+)/)
419
- if stops.length > 0
420
- highest = stops.sort.flatten.last.to_i + 1
421
- return "#{input}$#{highest}"
422
- end
423
-
424
- return "#{input}$1"
418
+ return "#{input}$0"
425
419
  end
426
420
 
427
421
  # prepend dot to scope
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atomizr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan T. Sott
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-14 00:00:00.000000000 Z
11
+ date: 2016-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json