alfonsox 0.1.0 → 0.1.1

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: 9941962ec4ea23088181bf39ce5d2c0b36a7379643dd722ad1953eab041992cc
4
- data.tar.gz: e049a77bf6dac3b440a99c74bda8f4b7a5500ed8f9d9338c3b1eb5caab75b34a
3
+ metadata.gz: 2cee871a10b135714609282f329b904e12cccc9cc1b4d0d9291ea6cc77ee87ed
4
+ data.tar.gz: 7aadff2c99d553a4fa964bf2bb519e190648a9471674a2464e3c669721f6af9c
5
5
  SHA512:
6
- metadata.gz: fe29714a4254e86167e8027a1bf5b533c8c567765d5245a8540b177e144fe9702b253eed985755e007ed57b69bd4cf512e00de548f7fcbbf30d3e0bfbea2d471
7
- data.tar.gz: 2ebc4a9b2fc30f204cf7fb01ac89f1e27d8e311bddbbdb8c911c0ee1c556cfa6ecd809d73bbb07740394465a8d5bd18b78d55d44683c84f028aa525c1397d9be
6
+ metadata.gz: 8878a20418c1fc122944db6f5ece7f4a3221ec3e294f37e3e059316c5cf3149eb309037088ea39a860f791ff03c19d1e71380da89768b65d0a825810c8627a81
7
+ data.tar.gz: 17ac27c4c7615f3b74549f2b7b3d2bda8ab86820b6acad7e69beaac6232d4dfb07d8037a7f6e115c61e61ec633ec474da64d7de9a0ea1565099574231333b2e6
data/.gitignore CHANGED
@@ -8,3 +8,4 @@
8
8
  /tmp/
9
9
  .idea
10
10
  .DS_Store
11
+ *.gem
data/.travis.yml CHANGED
@@ -9,6 +9,6 @@ before_script:
9
9
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
10
10
  - chmod +x ./cc-test-reporter
11
11
  - ./cc-test-reporter before-build
12
- script: "bundle exec rake test"
12
+ script: "bundle exec rake alfonsox:test"
13
13
  after_script:
14
14
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- alfonsox (0.1.0)
4
+ alfonsox (0.1.1)
5
5
  hunspell
6
6
  nokogiri (>= 1.8.5)
7
7
 
data/README.md CHANGED
@@ -108,6 +108,18 @@ Dictionaries:
108
108
 
109
109
  #### Rake task
110
110
 
111
+ To use the rake task, you have to include the two following lines
112
+ in your project's Rakefile:
113
+
114
+ ```ruby
115
+ alfonsox_gem = Gem::Specification.find_by_name('alfonsox')
116
+ load("#{alfonsox_gem.gem_dir}/Rakefile")
117
+ ```
118
+
119
+ That two lines load all Alfonso X tasks' in your Rakefile.
120
+
121
+ Our aim is to use **alfonsox:spellcheck** task.
122
+
111
123
  ##### Default configuration
112
124
 
113
125
  There is a [default configuration](/resources/configurations/default.yml)
@@ -276,6 +288,15 @@ RubyMine is a trademark of JetBrains. This project is no way endorsed, supported
276
288
 
277
289
  Everyone interacting in the Alfonso X project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/diegojromerolopez/alfonsox/blob/master/CODE_OF_CONDUCT.md).
278
290
 
291
+ ## Contributions
292
+
293
+ I accept contribution and feature requests via PR (GitHub pull requests).
294
+
295
+ Create an issue or send me an email before making a PR
296
+ if you are unsure about if your PR is going to be accepted.
297
+
298
+ Any constructive criticism is welcomed.
299
+
279
300
  ## Why the name?
280
301
 
281
302
  [Alfonso X](https://en.wikipedia.org/wiki/Alfonso_X_of_Castile), called *The Wise*,
data/Rakefile CHANGED
@@ -4,21 +4,25 @@
4
4
  require 'rake/testtask'
5
5
  require 'alfonsox'
6
6
 
7
- desc 'Run tests'
8
- Rake::TestTask.new(:test) do |t|
9
- t.libs.push 'test'
10
- t.test_files = FileList['test/enable_coverage.rb', 'test/**/*_test.rb']
11
- t.warning = ENV['warning']
12
- t.verbose = ENV['verbose']
13
- end
14
-
15
- desc 'Generates a coverage report'
16
- task :coverage do
17
- ENV['COVERAGE'] = 'true'
18
- Rake::Task['test'].execute
19
- end
7
+ # Include this Rakefile in your project's Rakefile by typing:
8
+ # alfonsox_gem = Gem::Specification.find_by_name('alfonsox')
9
+ # load("#{alfonsox_gem.gem_dir}/Rakefile")
20
10
 
21
11
  namespace :alfonsox do
12
+ desc 'Run tests'
13
+ Rake::TestTask.new(:test) do |t|
14
+ t.libs.push 'test'
15
+ t.test_files = FileList['test/enable_coverage.rb', 'test/**/*_test.rb']
16
+ t.warning = ENV['warning']
17
+ t.verbose = ENV['verbose']
18
+ end
19
+
20
+ desc 'Generates a coverage report'
21
+ task :coverage do
22
+ ENV['COVERAGE'] = 'true'
23
+ Rake::Task['test'].execute
24
+ end
25
+
22
26
  desc 'Spell checks a project'
23
27
  task :spellcheck, [:config_path] => [] do |_t, args|
24
28
  if args.config_path
@@ -37,4 +41,3 @@ namespace :alfonsox do
37
41
  end
38
42
  end
39
43
 
40
- task default: :test
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AlfonsoX
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alfonsox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego J. Romero López
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-10 00:00:00.000000000 Z
11
+ date: 2019-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hunspell