rails_services 1.1.2 → 1.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
  SHA1:
3
- metadata.gz: 21616fa9843e7541e21b88152262972415f4d12d
4
- data.tar.gz: 1abdedc6900bd6d4c36aee6a9bc98afa2a7c7338
3
+ metadata.gz: e3fe343adaad795fb7f453ab2c090689efb39f80
4
+ data.tar.gz: b22a7f31227a1ed96b763ce420e315d7d1f6e5ca
5
5
  SHA512:
6
- metadata.gz: e0770ba5f07634e6193ed1baaed6c334a2bd15c079f2dce31cb9ecf17c8891e45cd888b5d39a3dd4b372aa330688321595d220040f9252bf4f2651365e46f6e0
7
- data.tar.gz: d390a8d7ef9afbd7828f9427bdc6501eb0d334694b48d23f2967fd5850ac0a403a984b9b739b4fa8fb004a052801cedca305d8a4af20130448b94e7ef40b23fe
6
+ metadata.gz: 10364abcef2b2def89dd724f7bbf6b687b2e6f14556ed28ec97fa489293b3a0962cc9d3366d5eeccfff75046ed14713bc3a7cfbed424b1cc3fae4ff8c526e169
7
+ data.tar.gz: 51d82ba5ab02a6257ed228a0bdd016e7f686fc9203960fec2dc52957993eb406c4990971f9012ee918e928e96d605db6c45a8480f7d2a6e6d604aa4004ef695e
data/CHANGELOG.md CHANGED
@@ -1 +1,22 @@
1
- 1.1.2 - should be fix for a bad build command.
1
+ # Change Log
2
+ All notable changes to this project will be documented in this file.
3
+ This project adheres to [Semantic Versioning](http://semver.org/).
4
+
5
+ ## [1.1.3] - 2016-05-03
6
+ ### Fixed
7
+ - Fixed the name of the class in the Minitest test class
8
+
9
+ ## [1.1.2] - 2016-05-02
10
+ ### Added
11
+ - TestUnit (Minitest) test files added
12
+
13
+ ### Fixed
14
+ - Correctly determine testing framework of enclosing Rails app
15
+
16
+ ## [1.0.0] - 2014-07-26
17
+ ### Added
18
+ - Generate a service class and an attendant spec file
19
+
20
+ [1.1.3]: https://github.com/imageaid/rails_service_generator/compare/v1.1.2...v1.1.3
21
+ [1.1.2]: https://github.com/imageaid/rails_service_generator/compare/v1.0.0...v1.1.2
22
+ [1.0.0]: https://github.com/imageaid/rails_service_generator/tree/v1.0.0
data/README.md CHANGED
@@ -36,10 +36,11 @@ Sub-folders are optional but, at this time, you may only use one sub-folder. I g
36
36
 
37
37
  ## Result
38
38
 
39
- Two files are created:
39
+ Two files are created (spec or test based on your `test_framework`):
40
40
 
41
41
  + app/services/model|controller/[sub-folder]/thing.rb
42
42
  + spec/services/model|controller/[sub-folder]/thing_spec.rb
43
+ + test/services/model|controller/[sub-folder]/thing_test.rb
43
44
 
44
45
  ## Contributing
45
46
 
@@ -1,6 +1,6 @@
1
1
  <%= "require 'test_helper'" %>
2
2
 
3
- <%= "class #{module_name}Test < ActiveSupport::TestCase" %>
3
+ <%= "class #{class_name}Test < ActiveSupport::TestCase" %>
4
4
  <%= 'def test_some_stuff' %>
5
5
  <%= "assert (1 == 2), 'You best test yourself before you wreck yourself!'" %>
6
6
  <%= 'end' %>
@@ -1,3 +1,3 @@
1
1
  module RailsServices
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_services
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig Kaminsky