simple_hot_folder 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -60
- data/Rakefile +6 -6
- data/lib/simple_hot_folder/version.rb +1 -1
- data/simple_hot_folder.gemspec +4 -4
- metadata +6 -6
- data/notes.md +0 -61
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcfa0a67470d30f249c6eedf515d3582077c5b3e
|
4
|
+
data.tar.gz: 855eb7b864d54eb42e6a4ced1caff1186b4cc384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4eca846f6d50b17d6eddac04d03d7e5e2d260dbbf132078fac2b6889d2dfa9eb7fd279583635a1332e704b0e7b845422fd2226027f98e652ab9542da337f828
|
7
|
+
data.tar.gz: fd97b930f3647eacc456924db7e3a3cc1dc8642f1c7409deb689cc1da7332b73cc34444c7824750d4fd0e65280ff6c41b4b140311e7fcb360bd37a5a48e14596
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,61 +1,2 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/gtemplate`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'gtemplate'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install gtemplate
|
22
|
-
|
23
|
-
## Usage
|
24
|
-
|
25
|
-
TODO: Write usage instructions here
|
26
|
-
|
27
|
-
## Development
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/gtemplate.
|
36
|
-
|
37
|
-
## Ficheros cambiados
|
38
|
-
|
39
|
-
Cambios
|
40
|
-
|
41
|
-
1. test_helper y resto de tests.
|
42
|
-
1. Rakefile entero
|
43
|
-
1. CHANGELOG y README
|
44
|
-
|
45
|
-
Nombre fichero/carpeta:
|
46
|
-
|
47
|
-
1. lib/simple_hot_folder
|
48
|
-
1. lib/simple_hot_folder.rb
|
49
|
-
1. test/test_helper.rb
|
50
|
-
|
51
|
-
Contenido del fichero (nombres de la gema)
|
52
|
-
|
53
|
-
1. lib/simple_hot_folder.rb
|
54
|
-
1. lib/simple_hot_folder/*
|
55
|
-
1. test/*
|
56
|
-
1. simple_hot_folder.gemspec
|
57
|
-
|
58
|
-
Contenido del fichero (otros casos)
|
59
|
-
|
60
|
-
1. lib/simple_hot_folder/version.rb (poner 0.0.1)
|
1
|
+
# Simple Hot Folder
|
61
2
|
|
data/Rakefile
CHANGED
@@ -70,7 +70,7 @@ end
|
|
70
70
|
|
71
71
|
task :default => :test
|
72
72
|
|
73
|
-
desc "Release #{gem_file}"
|
73
|
+
desc "Release #{gem_file} (only repository, not RubyGems)"
|
74
74
|
task :release => :build do
|
75
75
|
show_text ">> Releasing #{gem_file}"
|
76
76
|
if current_branch != 'master'
|
@@ -93,7 +93,7 @@ task :release => :build do
|
|
93
93
|
show_release
|
94
94
|
end
|
95
95
|
|
96
|
-
desc "Build #{
|
96
|
+
desc "Build #{gem_file} into pkg folder"
|
97
97
|
task :build do
|
98
98
|
show_text ">> Creating #{gem_file}"
|
99
99
|
mkdir_p "pkg"
|
@@ -102,10 +102,10 @@ task :build do
|
|
102
102
|
puts ""
|
103
103
|
end
|
104
104
|
|
105
|
-
desc "
|
106
|
-
task :
|
107
|
-
show_text ">>
|
108
|
-
sh "gem push pkg/#{
|
105
|
+
desc "Publish #{gem_file} in RubyGems"
|
106
|
+
task :publish do
|
107
|
+
show_text ">> Publishing #{gem_file}"
|
108
|
+
sh "gem push pkg/#{gem_file}"
|
109
109
|
puts ""
|
110
110
|
end
|
111
111
|
|
data/simple_hot_folder.gemspec
CHANGED
@@ -10,10 +10,10 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.authors = ["Manu"]
|
11
11
|
s.email = ["galfus@gmail.com"]
|
12
12
|
s.date = Time.now.strftime('%Y-%m-%d')
|
13
|
-
s.summary = %q{
|
14
|
-
s.description = %q{
|
15
|
-
s.
|
16
|
-
s.homepage = "
|
13
|
+
s.summary = %q{A simple hot folder.}
|
14
|
+
s.description = %q{This library is at an early stage of development. Please do not use it already.}
|
15
|
+
s.licenses = ['MIT']
|
16
|
+
s.homepage = "https://gitlab.com/galfuslab/simple-hot-folder"
|
17
17
|
|
18
18
|
# s.required_ruby_version = '>= 2.1.0'
|
19
19
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_hot_folder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manu
|
@@ -52,7 +52,8 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '5.0'
|
55
|
-
description:
|
55
|
+
description: This library is at an early stage of development. Please do not use it
|
56
|
+
already.
|
56
57
|
email:
|
57
58
|
- galfus@gmail.com
|
58
59
|
executables: []
|
@@ -70,7 +71,6 @@ files:
|
|
70
71
|
- lib/simple_hot_folder.rb
|
71
72
|
- lib/simple_hot_folder/hot_folder.rb
|
72
73
|
- lib/simple_hot_folder/version.rb
|
73
|
-
- notes.md
|
74
74
|
- simple_hot_folder.gemspec
|
75
75
|
- test-data/.keep
|
76
76
|
- test-data/hot-folder/error/.keep
|
@@ -79,9 +79,9 @@ files:
|
|
79
79
|
- test-data/hot-folder/initial-data/file2.jpg
|
80
80
|
- test-data/hot-folder/input/.keep
|
81
81
|
- test-data/hot-folder/output/.keep
|
82
|
-
homepage:
|
82
|
+
homepage: https://gitlab.com/galfuslab/simple-hot-folder
|
83
83
|
licenses:
|
84
|
-
-
|
84
|
+
- MIT
|
85
85
|
metadata: {}
|
86
86
|
post_install_message:
|
87
87
|
rdoc_options: []
|
@@ -102,5 +102,5 @@ rubyforge_project:
|
|
102
102
|
rubygems_version: 2.6.11
|
103
103
|
signing_key:
|
104
104
|
specification_version: 4
|
105
|
-
summary:
|
105
|
+
summary: A simple hot folder.
|
106
106
|
test_files: []
|
data/notes.md
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
# Notes
|
2
|
-
|
3
|
-
## Executed commands
|
4
|
-
|
5
|
-
Build a new version of the gem:
|
6
|
-
|
7
|
-
1. git add -A
|
8
|
-
1. gem build gtemplate.gemspec
|
9
|
-
1. gem install gtemplate-0.0.0.gem
|
10
|
-
|
11
|
-
Run IRB loading gtemplate gem:
|
12
|
-
|
13
|
-
* irb -rgtemplate
|
14
|
-
|
15
|
-
List installed gems:
|
16
|
-
|
17
|
-
* gem list
|
18
|
-
* gem list gtemplate
|
19
|
-
* gem list | grep gtemplate
|
20
|
-
|
21
|
-
Uninstall gem:
|
22
|
-
|
23
|
-
* gem uninstall -aIx
|
24
|
-
|
25
|
-
## Dudes
|
26
|
-
|
27
|
-
* ¿Minitest?
|
28
|
-
|
29
|
-
## Testing
|
30
|
-
|
31
|
-
rake test
|
32
|
-
|
33
|
-
## Gemspec
|
34
|
-
|
35
|
-
Gemspec file add .rb files dinamically using `git ls-files` command.
|
36
|
-
|
37
|
-
```
|
38
|
-
all_files = `git ls-files -z`.split("\x0")
|
39
|
-
```
|
40
|
-
|
41
|
-
That's why you need to add every file to git before building the gem.
|
42
|
-
|
43
|
-
## Info
|
44
|
-
|
45
|
-
* http://www.alexedwards.net/blog/how-to-make-a-rubygem
|
46
|
-
* http://www.alexedwards.net/blog/how-to-make-a-rubygem-part-two
|
47
|
-
* http://jamespmcgrath.com/how-to-uninstall-all-ruby-gems-in-one-line/
|
48
|
-
|
49
|
-
## TODO
|
50
|
-
|
51
|
-
Issues:
|
52
|
-
|
53
|
-
* documentation
|
54
|
-
* script renombrar gem del estilo de cmd-app-template
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|