dgp-schedule_attributes 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -1,11 +1,15 @@
1
1
  require 'active_support'
2
2
  require 'ostruct'
3
- require 'pry'
3
+ require 'pry-byebug'
4
4
  require 'support/parser_macros'
5
5
 
6
- $: << File.expand_path('../lib')
6
+ # $: << File.expand_path('../lib')
7
7
 
8
8
  RSpec.configure do |config|
9
9
  config.include SpecHelpers::ParserMacros
10
10
  config.expect_with :rspec
11
+
12
+ config.before(:each) do
13
+ IceCube.compatibility = 12 if defined?(IceCube)
14
+ end
11
15
  end
@@ -1,8 +1,4 @@
1
1
  module SpecHelpers
2
- def input_for(klass, args = nil)
3
- klass.new(args)
4
- end
5
-
6
2
  module ParserMacros
7
3
  extend ActiveSupport::Concern
8
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dgp-schedule_attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Gil
@@ -136,6 +136,20 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: pry-byebug
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
139
153
  description: Converts to/from date & time inputs for managing scheduled models.
140
154
  email:
141
155
  - dgilperez@gmail.com
@@ -147,6 +161,8 @@ files:
147
161
  - ".rspec"
148
162
  - ".travis.yml"
149
163
  - Appraisals
164
+ - CHANGELOG.md
165
+ - CODE_OF_CONDUCT.md
150
166
  - Gemfile
151
167
  - Gemfile.lock
152
168
  - README.markdown