ojad 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7abf329bce77cfd770d51969e9e5e8797c326eae33d2d5f147622595aec9fa5d
4
- data.tar.gz: 780a35adaf3405ea67d1c8adb563b869bc100fcd59be4318d539ba4d166cc3ea
3
+ metadata.gz: f3341c806a45efea93b8a95156b76250bb8ae8418717950dce3545b6f2b12007
4
+ data.tar.gz: 322626a1e6ba42e34d6cecac0f8e306ca859d3fb2ba3e56ec41aaf7457c1cde8
5
5
  SHA512:
6
- metadata.gz: 1d0377500929c58dad11a2755fe1db4b23c2647731d468cbdb909b5f0144fac530a2cbab92704ac5bb3dac49f124118bbe1af05251b602e031220ea9bffe9a7f
7
- data.tar.gz: 4634b1465fc67f46367471ae1aea37bda2111191360aa051c35aa86652af99861ab6ed4076df872479381e2f00d80b45854fc1ca402450cb79f3c885f5cab94b
6
+ metadata.gz: ac1f567c5907ab125899f1c3a331bf4b5eeb487a96ec929182a5e97b73ccdc75e987492e2e6ef8c6d284c075a922c3201ff77b5cc9eb472c9efd88ba5c3ca240
7
+ data.tar.gz: 6dc9883450fd9d43ba981f6ad23800efcb4758ad9170f9fb6b1ef437ef6a42ece7852a819039a63ea8fbde071e7f323de4a742ded8c17c07308e44b86832227d
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.0.4
4
+
5
+ - Improve `result.rb`, remove a detail that result should not know
6
+
3
7
  ## 0.0.2
4
8
 
5
9
  - `---` new line separator in its own line
data/README.md CHANGED
@@ -22,6 +22,9 @@ Or install it yourself as:
22
22
 
23
23
  ```
24
24
  $ ojad くる
25
+ ```
26
+
27
+ ```
25
28
  Group: 来る・来ます
26
29
  Dictionary: くる
27
30
  Polite: きます
@@ -37,6 +40,54 @@ Potential: こられる
37
40
  Volitional: こよう
38
41
  ```
39
42
 
43
+ ```
44
+ $ ojad する
45
+ ```
46
+
47
+ ```
48
+ Group: 擦る・擦ります
49
+ Dictionary: する
50
+ Polite: すります
51
+ Te: すって
52
+ Ta: すった
53
+ Negative: すらない
54
+ Past negative: すらなかった
55
+ Ba: すれば
56
+ Causative: すらせる
57
+ Passive: すられる
58
+ Imperative: すれ
59
+ Potential: すれる
60
+ Volitional: すろう
61
+ --------------------------------------------------------------------------------
62
+ Group: 刷る・刷ります
63
+ Dictionary: する
64
+ Polite: すります
65
+ Te: すって
66
+ Ta: すった
67
+ Negative: すらない
68
+ Past negative: すらなかった
69
+ Ba: すれば
70
+ Causative: すらせる
71
+ Passive: すられる
72
+ Imperative: すれ
73
+ Potential: すれる
74
+ Volitional: すろう
75
+ --------------------------------------------------------------------------------
76
+ Group: する・します
77
+ Dictionary: する
78
+ Polite: します
79
+ Te: して
80
+ Ta: した
81
+ Negative: しない
82
+ Past negative: しなかった
83
+ Ba: すれば
84
+ Causative: させる
85
+ Passive: される
86
+ Imperative: しろ, せよ
87
+ Potential: できる
88
+ Volitional: しよう
89
+ ```
90
+
40
91
  ## Development
41
92
 
42
93
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/hack` for an interactive prompt that will allow you to experiment.
@@ -1,6 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "ojad/version"
2
4
 
3
5
  module OJAD
4
6
  class Error < StandardError; end
5
- # Your code goes here...
6
7
  end
@@ -6,8 +6,8 @@ module OJAD
6
6
  @http_response = http_response
7
7
  end
8
8
 
9
- def body
10
- @body ||= http_response.body
9
+ def html
10
+ http_response.body.to_s
11
11
  end
12
12
 
13
13
  def success?
@@ -23,7 +23,7 @@ module OJAD
23
23
  LINE = "-"*80 + "\n"
24
24
 
25
25
  def html
26
- @_response_string ||= response.body.to_s
26
+ response.html
27
27
  end
28
28
 
29
29
  def verbs_for_human
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OJAD
4
- VERSION = "0.0.3"
4
+ VERSION = "0.0.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ojad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juanito Fatas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-18 00:00:00.000000000 Z
11
+ date: 2019-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http