inline_validation 0.0.1 → 0.0.2

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.
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ nbproject
data/Gemfile CHANGED
@@ -2,3 +2,5 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in inline_validation.gemspec
4
4
  gemspec
5
+
6
+ gem 'rake'
data/Rakefile CHANGED
@@ -1 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+ RSpec::Core::RakeTask.new('spec')
4
+
5
+ desc "Run tests"
6
+ task :default => :spec
@@ -16,4 +16,6 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
+
20
+ gem.add_development_dependency 'rspec', '~> 2.5'
19
21
  end
@@ -1,3 +1,3 @@
1
1
  module InlineValidation
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -0,0 +1,7 @@
1
+ require 'spec_helper'
2
+
3
+ describe InlineValidation do
4
+ it 'should return correct version string' do
5
+ InlineValidation.version_string.should == "InlineValidation version #{InlineValidation::VERSION}"
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'rspec'
2
+ require 'inline_validation'
3
+
4
+ RSpec.configure do |config|
5
+ config.color_enabled = true
6
+ config.formatter = 'documentation'
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_validation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,23 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2012-10-01 00:00:00.000000000 Z
13
- dependencies: []
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '2.5'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '2.5'
14
30
  description: Model level inline validation
15
31
  email:
16
32
  - diatm.pravin.it.07.27@gmail.com
@@ -26,6 +42,8 @@ files:
26
42
  - inline_validation.gemspec
27
43
  - lib/inline_validation.rb
28
44
  - lib/inline_validation/version.rb
45
+ - spec/inline_validation_spec.rb
46
+ - spec/spec_helper.rb
29
47
  homepage: ''
30
48
  licenses: []
31
49
  post_install_message:
@@ -38,16 +56,24 @@ required_ruby_version: !ruby/object:Gem::Requirement
38
56
  - - ! '>='
39
57
  - !ruby/object:Gem::Version
40
58
  version: '0'
59
+ segments:
60
+ - 0
61
+ hash: -3544644906141674111
41
62
  required_rubygems_version: !ruby/object:Gem::Requirement
42
63
  none: false
43
64
  requirements:
44
65
  - - ! '>='
45
66
  - !ruby/object:Gem::Version
46
67
  version: '0'
68
+ segments:
69
+ - 0
70
+ hash: -3544644906141674111
47
71
  requirements: []
48
72
  rubyforge_project:
49
73
  rubygems_version: 1.8.24
50
74
  signing_key:
51
75
  specification_version: 3
52
76
  summary: In progress
53
- test_files: []
77
+ test_files:
78
+ - spec/inline_validation_spec.rb
79
+ - spec/spec_helper.rb