camping 3.1.0 → 3.1.3

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
  SHA256:
3
- metadata.gz: afe5fa876178ba1acb276392788f76f4df3451c8b212234892565b6cd93043b0
4
- data.tar.gz: c521c1b9e5c149474a4590efbc17fe61bd681bc79e510441bf1bd572e6505351
3
+ metadata.gz: bf72576fffe27b262b298dbd9355a0e801ea962c532a63010e60e72564092c77
4
+ data.tar.gz: caa65f8d4585a2b99a6ddbf3699065512b7ffee4f84a6f7a03c31d2871542bd6
5
5
  SHA512:
6
- metadata.gz: 7c77c29289f3e917c182178a3c0593f4d5b0ae3352a08fde92a4787ec6d4b98330108fe37860cf73f45896b37d32235918fafe123f674ba93088aeb1760958a3
7
- data.tar.gz: 8b95dff758b4fb8adac1704bce9de1980c50ee25a8c1bf8492e3cbc9d847cde87b131e24329fea495ab4e4ec62925ba578f3c30a9c17b9aae7514038d57f79b7
6
+ metadata.gz: 9094ac07b30d28d2a2e8f955793959142c00db8f1880e60adb2ff02152f0f401b336a7ccb2e5228e396a5fc2f0ead7f78597dadaeca304d3e489f0c74746f28e
7
+ data.tar.gz: 1f789d875289e0632734ffb04b4765c454f050fd0efd96f8603a52cde615e452bd5dcc27f6a338a2efe86fa0fef03183f819567785a45208bdf1700aabd2722d
data/README.md CHANGED
@@ -118,6 +118,10 @@ like chatting with us, you should join [#camping @ irc.freenode.net](http://java
118
118
 
119
119
  Tests should be run using bundler and rake: `bundle exec rake`.
120
120
 
121
+ ## Minting Releases
122
+
123
+ We use Ruby Gems to distribute versions of Camping.
124
+
121
125
  ## Authors
122
126
 
123
127
  Camping was originally crafted by [why the lucky stiff](http://en.wikipedia.org/wiki/Why_the_lucky_stiff),
@@ -52,8 +52,12 @@ module Camping
52
52
  # setup Zeit for this reloader
53
53
  setup_zeit(@zeit)
54
54
 
55
+ dirs = [@root]
56
+ dirs << "#{@root}/apps" if Dir.exist? "#{@root}/apps"
57
+ dirs << "#{@root}/lib" if Dir.exist? "#{@root}/lib"
58
+
55
59
  # setup recursive listener on the apps and lib directories from the source script.
56
- @listener = Listen.to("#{@root}/apps", "#{@root}/lib", "#{@root}") do |modified, added, removed|
60
+ @listener = Listen.to(*dirs) do |modified, added, removed|
57
61
  @mtime = Time.now
58
62
  reload!
59
63
  end
@@ -231,4 +235,7 @@ module Camping
231
235
  end
232
236
  end
233
237
  end
238
+
239
+ Reloader = Loader
240
+
234
241
  end
@@ -1,5 +1,5 @@
1
1
  module Camping
2
- VERSION = "3.1.0"
2
+ VERSION = "3.1.3"
3
3
  def self.version
4
4
  VERSION
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: camping
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - why the lucky stiff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-22 00:00:00.000000000 Z
11
+ date: 2023-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mab
@@ -104,6 +104,46 @@ dependencies:
104
104
  - - ">="
105
105
  - !ruby/object:Gem::Version
106
106
  version: 1.0.3
107
+ - !ruby/object:Gem::Dependency
108
+ name: zeitwerk
109
+ requirement: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: 2.6.8
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: 2.6.8
117
+ type: :runtime
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: 2.6.8
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: 2.6.8
127
+ - !ruby/object:Gem::Dependency
128
+ name: listen
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - "~>"
132
+ - !ruby/object:Gem::Version
133
+ version: 3.8.0
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: 3.8.0
137
+ type: :runtime
138
+ prerelease: false
139
+ version_requirements: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - "~>"
142
+ - !ruby/object:Gem::Version
143
+ version: 3.8.0
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: 3.8.0
107
147
  description:
108
148
  email: why@ruby-lang.org
109
149
  executables: