rb-fsevent 0.10.3 → 0.11.0

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
- SHA1:
3
- metadata.gz: 75179745011638e7c72f22fd0176a2d7d1e05dac
4
- data.tar.gz: d41968eb7b74fc36e874c3d19e8b8b684d5cfc66
2
+ SHA256:
3
+ metadata.gz: 8fa142a3dd92401ead21804759f41c08f1098b51e825e1568a16c831d116ab65
4
+ data.tar.gz: 6fdee72304339d8bab6b2407a1e5c2c281ad185435f7c11d34279225c9fb3406
5
5
  SHA512:
6
- metadata.gz: cc6d47ae4861f428d889a2ee76b9d2baa8e80ecc5a5fcb032804d8552899f091352b15ba722ea7cf88174471bfc93f765a1f1a92b90c16dab92f102b2867fe8b
7
- data.tar.gz: 99feafaa005aebf50d9907d5ddddd2518062d9db6d8a61e9890023be661ce8c9a68ffbaa1a2a4babe23604b004dfc11495d856d6f3dcf28a0291a2a9b14f92ca
6
+ metadata.gz: c3e43118e4d444d59d0ad47ff692c7f90477bee895a56f0b26ba98cb5da1bf8ac7d21a4e382bf8605ec1ef166b3f549cf11b3d08bebbfa436400b2da909a1168
7
+ data.tar.gz: ea47ee332c8640d39ada051f9d06867e2c09ee1daff6915160615dd177be82f8d068954f236da62d2899d04ce355a045f162fdd3e07fb1fb26523cff1ad062af
data/README.md CHANGED
@@ -138,11 +138,11 @@ fsevent.run
138
138
  require 'rb-fsevent'
139
139
  fsevent = FSEvent.new
140
140
  fsevent.watch Dir.pwd do |paths, event_meta|
141
- event_meta.events.each do |event|
142
- puts "event ID: #{event.id}"
143
- puts "path: #{event.path}"
144
- puts "c flags: #{event.cflags}"
145
- puts "named flags: #{event.flags.join(', ')}"
141
+ event_meta['events'].each do |event|
142
+ puts "event ID: #{event['id']}"
143
+ puts "path: #{event['path']}"
144
+ puts "c flags: #{event['cflags']}"
145
+ puts "named flags: #{event['flags'].join(', ')}"
146
146
  # named flags will include strings such as `ItemInodeMetaMod` or `OwnEvent`
147
147
  end
148
148
  end
data/bin/fsevent_watch CHANGED
Binary file
@@ -22,6 +22,8 @@
22
22
  #define TARGET_CPU "i386"
23
23
  #elif defined(__x86_64__)
24
24
  #define TARGET_CPU "x86_64"
25
+ #elif defined(__arm64__)
26
+ #define TARGET_CPU "arm64"
25
27
  #else
26
28
  #define TARGET_CPU "unknown"
27
29
  #endif
data/ext/rakefile.rb CHANGED
@@ -99,6 +99,11 @@ task :x86 do
99
99
  $ARCHFLAGS = '-arch i386'
100
100
  end
101
101
 
102
+ desc 'set build arch to arm64'
103
+ task :arm64 do
104
+ $ARCHFLAGS = '-arch arm64'
105
+ end
106
+
102
107
  task :setup_env => [:set_build_type, :sw_vers, :get_sdk_info]
103
108
 
104
109
  directory $obj_dir.to_s
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  class FSEvent
4
- VERSION = '0.10.3'
4
+ VERSION = '0.11.0'
5
5
  end
data/rb-fsevent.gemspec CHANGED
@@ -20,7 +20,6 @@ Gem::Specification.new do |s|
20
20
  s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^spec/}) }
21
21
  s.require_path = 'lib'
22
22
 
23
- s.add_development_dependency 'bundler', '~> 1.0'
24
23
  s.add_development_dependency 'rspec', '~> 3.6'
25
24
  s.add_development_dependency 'guard-rspec', '~> 4.2'
26
25
  s.add_development_dependency 'rake', '~> 12.0'
metadata CHANGED
@@ -1,30 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb-fsevent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.3
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thibaud Guillaume-Gentil
8
8
  - Travis Tilley
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-03-03 00:00:00.000000000 Z
12
+ date: 2021-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: bundler
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: '1.0'
21
- type: :development
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "~>"
26
- - !ruby/object:Gem::Version
27
- version: '1.0'
28
14
  - !ruby/object:Gem::Dependency
29
15
  name: rspec
30
16
  requirement: !ruby/object:Gem::Requirement
@@ -107,7 +93,7 @@ licenses:
107
93
  - MIT
108
94
  metadata:
109
95
  source_code_uri: https://github.com/thibaudgg/rb-fsevent
110
- post_install_message:
96
+ post_install_message:
111
97
  rdoc_options: []
112
98
  require_paths:
113
99
  - lib
@@ -122,9 +108,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
108
  - !ruby/object:Gem::Version
123
109
  version: '0'
124
110
  requirements: []
125
- rubyforge_project:
126
- rubygems_version: 2.6.13
127
- signing_key:
111
+ rubygems_version: 3.2.11
112
+ signing_key:
128
113
  specification_version: 4
129
114
  summary: Very simple & usable FSEvents API
130
115
  test_files: []