dugway 0.12.0 → 0.12.1

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
  SHA256:
3
- metadata.gz: aa69a92506b519c6dd328f384ab87c65faf9b333668d2343663205497a95cd4c
4
- data.tar.gz: 7486855a255a217a533480e16a5b4e84984f1e1bb06d2ebe4df8d381f79aae67
3
+ metadata.gz: 027c6ffe1a9e8833dc30179327049c7aa2607712df02610c5a2667828432a84b
4
+ data.tar.gz: b2c2e63788189f94637c8d977e969337b31b5922728e3119c522a39ae4f10002
5
5
  SHA512:
6
- metadata.gz: 5bec30a1d3f6553e582150ec9ce3e783b2f2cb0c4f8dbfb03219c060591766449dce91e5817e716d8d40e55786629c3d5312b42b9ee0dd4e57dd5ac251282059
7
- data.tar.gz: d2789c469c34a62db955bf20c7b11a8842b6b6caac9a76421bddb634023d06a4b7d58e18ad711d5872f92c80c33ad06d3b1a64aa182f4f362930b375df8ea32f
6
+ metadata.gz: 6ef192dcc976bf691486856528970cfee3e746aa82086730ee7104ce0abd5174f574a8dd199cf20cd1f72943c524ac0dba26f894c21946f051e4783f94402c64
7
+ data.tar.gz: df22ae822edb930f937152806a74389ccd253ec7902834101c42cd8996822ab61bdd12f86dcb3c16d47efb5d91060a459dccb9ae33cbf5ea6c829da6406d3c89
data/README.md CHANGED
@@ -120,7 +120,7 @@ utilities.
120
120
 
121
121
  Prefer [LESS](http://lesscss.org)? No problem, you'll just need to create a
122
122
  [Gemfile like this one](https://gist.github.com/mattwigham/5569898) in the
123
- root directory of your theme, run ```bundle install```, and append the
123
+ root directory of your theme, run `bundle install`, and append the
124
124
  **.less** extension to your CSS files.
125
125
 
126
126
  And finally, for you JavaScript folks, we've baked
@@ -86,13 +86,13 @@ module Dugway
86
86
  digits, rounded_number = 1, 0
87
87
  else
88
88
  digits = (Math.log10(number.abs) + 1).floor
89
- rounded_number = (BigDecimal.new(number.to_s) / BigDecimal.new((10 ** (digits - precision)).to_f.to_s)).round.to_f * 10 ** (digits - precision)
89
+ rounded_number = (BigDecimal(number.to_s) / BigDecimal((10 ** (digits - precision)).to_f.to_s)).round.to_f * 10 ** (digits - precision)
90
90
  digits = (Math.log10(rounded_number.abs) + 1).floor # After rounding, the number of digits may have changed
91
91
  end
92
92
  precision -= digits
93
93
  precision = precision > 0 ? precision : 0 #don't let it be negative
94
94
  else
95
- rounded_number = BigDecimal.new(number.to_s).round(precision).to_f
95
+ rounded_number = BigDecimal(number.to_s).round(precision).to_f
96
96
  end
97
97
  formatted_number = number_with_delimiter("%01.#{precision}f" % rounded_number, options)
98
98
  if strip_insignificant_zeros
@@ -1,3 +1,3 @@
1
1
  module Dugway
2
- VERSION = "0.12.0"
2
+ VERSION = "0.12.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dugway
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Big Cartel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-11 00:00:00.000000000 Z
11
+ date: 2019-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -560,8 +560,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
560
560
  - !ruby/object:Gem::Version
561
561
  version: '0'
562
562
  requirements: []
563
- rubyforge_project:
564
- rubygems_version: 2.7.6
563
+ rubygems_version: 3.0.1
565
564
  signing_key:
566
565
  specification_version: 4
567
566
  summary: Easily build and test Big Cartel themes.