destination_errors 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: 5280d933863a238d0409338078c1fa204a923bf8
4
- data.tar.gz: d3691b9b111ce18e77369b01308a47abd6e60ec2
3
+ metadata.gz: 2d66fe4adb847db06fa668454125871baf449259
4
+ data.tar.gz: c2716294d6c40e0bff73ab780abea693d91e5231
5
5
  SHA512:
6
- metadata.gz: 44f7f644acb1f91036a78c2df4255d2c6e140fc0dfec5de4afdae6964ee2640b7501ab891caf70933c6eecee59df0ee548206f2207379adf77633c12a88666e9
7
- data.tar.gz: 88353011ba8bcd310f2ffdfaf7ff45bdcc86d3b280aa172041f315bd31a799795702be8e81caf78cde0c00d8a5834a303d103ecc52588f7ec709b06405615163
6
+ metadata.gz: dc1d1609067f45d249bc414846ed02536c803f8edba8f473cab113f4ad3d4d05a0f88a1b9abdbe4a1ea8f86e12e612dda58cecaa14725a8240d0530194253ef2
7
+ data.tar.gz: 3b786057769da6afa68ff1dc629d79ad1041b5538dac362b1baa16ad5c348c5f321b3a20ab6334bebfe4a8cb2d6bdc41af6cd585072f070308e02362dfd3f8e2
@@ -1,4 +1,5 @@
1
1
  language: ruby
2
+ before_install: gem install bundler
2
3
  rvm:
3
4
  - 2.1.2
4
5
  - 2.2.1
data/README.md CHANGED
@@ -67,6 +67,22 @@ To install this gem onto your local machine, run `bundle exec rake install`.
67
67
 
68
68
  To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
69
69
 
70
+ ## Versioning
71
+
72
+ This library aims to adhere to [Semantic Versioning 2.0.0](http://semver.org/).
73
+ Violations of this scheme should be reported as bugs. Specifically,
74
+ if a minor or patch version is released that breaks backward
75
+ compatibility, a new version should be immediately released that
76
+ restores compatibility. Breaking changes to the public API will
77
+ only be introduced with new major versions.
78
+
79
+ As a result of this policy, you can (and should) specify a
80
+ dependency on this gem using the [Pessimistic Version Constraint](http://docs.rubygems.org/read/chapter/16#page74) with two digits of precision.
81
+
82
+ For example:
83
+
84
+ spec.add_dependency 'destination_errors', '~> 0.0'
85
+
70
86
  ## Contributing
71
87
 
72
88
  1. Fork it ( https://github.com/[my-github-username]/destination_errors/fork )
data/Rakefile CHANGED
@@ -1 +1,8 @@
1
1
  require "bundler/gem_tasks"
2
+
3
+ begin
4
+ require "rspec/core/rake_task"
5
+ RSpec::Core::RakeTask.new(:spec)
6
+ task :default => :spec
7
+ rescue LoadError
8
+ end
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "activemodel", "~> 3.1"
22
+ spec.add_dependency "activemodel", ">= 3.1"
23
23
  spec.add_development_dependency "bundler", "~> 1.9"
24
24
  spec.add_development_dependency "rake", "~> 10.0"
25
25
  spec.add_development_dependency "rspec", "~> 3.2"
@@ -39,7 +39,7 @@ module DestinationErrors
39
39
  base.extend(ClassMethods)
40
40
  base.class_eval do
41
41
  attr_reader :errors
42
- attr_reader :errors_finalized
42
+ attr_accessor :errors_finalized
43
43
  attr_accessor :surface_errors_on
44
44
  class_attribute :error_surfaces
45
45
  end
@@ -1,3 +1,3 @@
1
1
  module DestinationErrors
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: destination_errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -14,14 +14,14 @@ dependencies:
14
14
  name: activemodel
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.1'
27
27
  - !ruby/object:Gem::Dependency