measured 1.4.0 → 1.5.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3e1add9f9f37321269891c269c4745c9afe7a7c
4
- data.tar.gz: 299e886ccf357a9d540f4bafe7873c628e008a89
3
+ metadata.gz: 9846babb4dd4e4bac7fbb57f1b11145006331e47
4
+ data.tar.gz: 0f7aaef4820fb1acfd4e13d9e860105915531818
5
5
  SHA512:
6
- metadata.gz: 3a208848cbc49420832565db039fc52703d0a7099ac4feea97ff8bfb94eea8df7efcc18751b6ad5abdb69cdf2baa5823b1b47bfa52860a6e35dbd180f6dfcc0a
7
- data.tar.gz: a9d7db9c6d10febf8688a9382b0394f8af412ac1710da26cdd6efaac73f51f3ad350058f336e6f8a0f6dfd74adb8b1a872f643d0e981037061b04d08247b3d9e
6
+ metadata.gz: ecf3ca94d6fefa0e9ec7c7b0979acd3ab278313554a5b349701c838574f796aeebc40e108b90094577b4c1d7efe870aae7f61da54c82e01cf5a6dabb2c7321a5
7
+ data.tar.gz: f3a748f6ba1391303ba6d59aa1950b2be17f162d79f24bf39351d232139bc44c56e10a91c799faed18d2d6c212da9850b832111710c209055d478aa217f32d8a
data/.travis.yml CHANGED
@@ -1,7 +1,14 @@
1
1
  language: ruby
2
+ sudo: false
3
+ cache: bundler
2
4
  rvm:
3
- - 2.1.0
4
- install:
5
- - gem uninstall bundler
6
- - gem install bundler --version '1.8.4'
7
- - bundle install
5
+ - 2.1.8
6
+ - 2.2.4
7
+ - 2.3.0
8
+ gemfile:
9
+ - Gemfile
10
+ - gemfiles/activesupport-4.2.gemfile
11
+ matrix:
12
+ exclude:
13
+ - gemfile: Gemfile
14
+ rvm: 2.1.8
data/README.md CHANGED
@@ -4,6 +4,8 @@ Encapsulates measurements with their units. Provides easy conversion between uni
4
4
 
5
5
  Light weight and easily extensible to include other units and conversions. Conversions done with `BigDecimal` for precision.
6
6
 
7
+ The adapter to integrate `measured` with Ruby on Rails is in a separate [`measured-rails`](https://github.com/Shopify/measured-rails) gem.
8
+
7
9
  ## Installation
8
10
 
9
11
  Using bundler, add to the Gemfile:
data/dev.yml ADDED
@@ -0,0 +1,22 @@
1
+ name: measured
2
+
3
+ up:
4
+ - ruby:
5
+ version: 2.3.1
6
+ - bundler
7
+
8
+ commands:
9
+ test:
10
+ syntax:
11
+ optional: file args...
12
+ desc: 'run all tests or a specific test file'
13
+ run: |
14
+ if [[ $# -eq 0 ]]; then
15
+ bundle exec rake test
16
+ else
17
+ bundle exec ruby -Itest "$@"
18
+ fi
19
+
20
+ packages:
21
+ - git@github.com:Shopify/dev-shopify.git
22
+
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '..'
4
+
5
+ gem 'activesupport', '~> 4.2'
@@ -1,3 +1,3 @@
1
1
  module Measured
2
- VERSION = "1.4.0"
2
+ VERSION = "1.5.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: measured
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin McPhillips
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-03 00:00:00.000000000 Z
11
+ date: 2016-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -94,6 +94,8 @@ files:
94
94
  - LICENSE
95
95
  - README.md
96
96
  - Rakefile
97
+ - dev.yml
98
+ - gemfiles/activesupport-4.2.gemfile
97
99
  - lib/measured.rb
98
100
  - lib/measured/arithmetic.rb
99
101
  - lib/measured/base.rb
@@ -139,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
141
  version: '0'
140
142
  requirements: []
141
143
  rubyforge_project:
142
- rubygems_version: 2.2.3
144
+ rubygems_version: 2.5.1
143
145
  signing_key:
144
146
  specification_version: 4
145
147
  summary: Encapsulate measurements with their units in Ruby