rb-inotify 0.9.9 → 0.9.10

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: 2e68a4e4d80d820bab261f4cd6742fc858171c4b
4
- data.tar.gz: 55307ef87345ba46c926335d00e2307e5a835333
3
+ metadata.gz: 69000e8c37c13a07c1435aa2cc5069c40e1bf162
4
+ data.tar.gz: fdf9152bb595159f06f669b37244a1a6f7a77935
5
5
  SHA512:
6
- metadata.gz: 3d40f287530b9a2dabf0ef6411eb0d287422a827c21f47a67f801e92184c39830b45b204ea775062579f398737d6c39a8b7343f691f75244db8b9149014a8eab
7
- data.tar.gz: e34970a92bb2708a5366f46eca2b65cd7fc8f58ddc1234dda075663ea7404e9f909f1888383c395bb830999e63fbcf6ba3bbe63b653f63ccfa56f4a4bc379f0b
6
+ metadata.gz: aaffecd5e2d7995d5a65939fd32adc8bfd06a114e560f490fef626cda14de3ffcd27d0909a49321c1a65b1aed4ad6dc3a7c099b7fec9243c64c8af8b4b603379
7
+ data.tar.gz: c3a30a09b2e67ee8c1e99a24cbc11fb75fcf4e2a98681519837316e0df474433d8d895412d300344c80145a7b5cfe7e2f664a52a09eb4abbe102704d4828da26
@@ -3,6 +3,8 @@ sudo: false
3
3
  dist: trusty
4
4
  cache: bundler
5
5
  rvm:
6
+ - 1.8
7
+ - 1.9
6
8
  - 2.0
7
9
  - 2.1
8
10
  - 2.2
@@ -19,3 +21,10 @@ matrix:
19
21
  - rvm: jruby-head
20
22
  - rvm: rbx-3
21
23
  fast_finish: true
24
+ script:
25
+ # Unit test
26
+ - bundle exec rake
27
+ # Install test
28
+ - gem build rb-inotify.gemspec
29
+ - gem install rb-inotify-*.gem
30
+ - sh -c "gem list | grep rb-inotify"
data/Gemfile CHANGED
@@ -1,16 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in utopia.gemspec
4
3
  gemspec
5
-
6
- group :development do
7
- gem 'pry'
8
- gem 'pry-coolline'
9
-
10
- gem 'tty-prompt'
11
- end
12
-
13
- group :test do
14
- gem 'simplecov'
15
- gem 'coveralls', require: false
16
- end
data/Rakefile CHANGED
@@ -1,12 +1,10 @@
1
1
  require "bundler/gem_tasks"
2
- require 'rake/testtask'
2
+ require 'rspec/core/rake_task'
3
3
 
4
- Rake::TestTask.new do |t|
5
- t.libs << 'test'
6
- end
4
+ RSpec::Core::RakeTask.new(:spec)
7
5
 
8
6
  desc "Run tests"
9
- task :default => :test
7
+ task :default => :spec
10
8
 
11
9
  task :console do
12
10
  require 'rb-inotify'
@@ -20,5 +20,5 @@
20
20
  # THE SOFTWARE.
21
21
 
22
22
  module INotify
23
- VERSION = '0.9.9'
23
+ VERSION = '0.9.10'
24
24
  end
@@ -1,5 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
- require_relative 'lib/rb-inotify/version'
2
+
3
+ $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
4
+ require 'rb-inotify/version'
3
5
 
4
6
  Gem::Specification.new do |spec|
5
7
  spec.name = 'rb-inotify'
@@ -16,12 +18,13 @@ Gem::Specification.new do |spec|
16
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
20
  spec.require_paths = ["lib"]
19
-
20
- spec.required_ruby_version = '>= 2.0.0'
21
-
22
- spec.add_dependency "ffi", "~> 1.0"
23
-
24
- spec.add_development_dependency "rspec", "~> 3.4.0"
21
+
22
+ spec.required_ruby_version = '>= 0'
23
+
24
+ spec.add_dependency 'ffi', '>= 0.5.0', '< 2'
25
+
26
+ spec.add_development_dependency "rspec", "~> 3.4"
25
27
  spec.add_development_dependency "bundler", "~> 1.3"
26
- spec.add_development_dependency "rake"
28
+ # rake 11.x requires Ruby >= 1.9.3
29
+ spec.add_development_dependency "rake", ">= 10.5.0", "< 13"
27
30
  end
@@ -1,21 +1,4 @@
1
1
 
2
- if ENV['COVERAGE'] || ENV['TRAVIS']
3
- begin
4
- require 'simplecov'
5
-
6
- SimpleCov.start do
7
- add_filter "/spec/"
8
- end
9
-
10
- if ENV['TRAVIS']
11
- require 'coveralls'
12
- Coveralls.wear!
13
- end
14
- rescue LoadError
15
- warn "Could not load simplecov: #{$!}"
16
- end
17
- end
18
-
19
2
  require "bundler/setup"
20
3
  require "rb-inotify"
21
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb-inotify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9
4
+ version: 0.9.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Natalie Weizenbaum
@@ -9,36 +9,42 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-16 00:00:00.000000000 Z
12
+ date: 2017-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: 0.5.0
21
+ - - "<"
19
22
  - !ruby/object:Gem::Version
20
- version: '1.0'
23
+ version: '2'
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - "~>"
28
+ - - ">="
26
29
  - !ruby/object:Gem::Version
27
- version: '1.0'
30
+ version: 0.5.0
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '2'
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: rspec
30
36
  requirement: !ruby/object:Gem::Requirement
31
37
  requirements:
32
38
  - - "~>"
33
39
  - !ruby/object:Gem::Version
34
- version: 3.4.0
40
+ version: '3.4'
35
41
  type: :development
36
42
  prerelease: false
37
43
  version_requirements: !ruby/object:Gem::Requirement
38
44
  requirements:
39
45
  - - "~>"
40
46
  - !ruby/object:Gem::Version
41
- version: 3.4.0
47
+ version: '3.4'
42
48
  - !ruby/object:Gem::Dependency
43
49
  name: bundler
44
50
  requirement: !ruby/object:Gem::Requirement
@@ -59,14 +65,20 @@ dependencies:
59
65
  requirements:
60
66
  - - ">="
61
67
  - !ruby/object:Gem::Version
62
- version: '0'
68
+ version: 10.5.0
69
+ - - "<"
70
+ - !ruby/object:Gem::Version
71
+ version: '13'
63
72
  type: :development
64
73
  prerelease: false
65
74
  version_requirements: !ruby/object:Gem::Requirement
66
75
  requirements:
67
76
  - - ">="
68
77
  - !ruby/object:Gem::Version
69
- version: '0'
78
+ version: 10.5.0
79
+ - - "<"
80
+ - !ruby/object:Gem::Version
81
+ version: '13'
70
82
  description:
71
83
  email:
72
84
  - nex342@gmail.com
@@ -105,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
105
117
  requirements:
106
118
  - - ">="
107
119
  - !ruby/object:Gem::Version
108
- version: 2.0.0
120
+ version: '0'
109
121
  required_rubygems_version: !ruby/object:Gem::Requirement
110
122
  requirements:
111
123
  - - ">="