mybatis-cli 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
  SHA1:
3
- metadata.gz: 008c1d69a44e6135e0de6c5aeb969a0d86988f14
4
- data.tar.gz: 509dcbef81adca361b454556aac1e40e4fc1e98b
3
+ metadata.gz: b294eb0874573ce62d3412a8ccf7e0b67a52c81c
4
+ data.tar.gz: 8eeba7e0e82d9ed2e5c4d192ff913f9508581cce
5
5
  SHA512:
6
- metadata.gz: a66228a7e64b1872422704a5e1931cae8b49cbb4cc3fd4097460b896d77c003cc6233cc50387d891c14f2f93028fc9180b31a676628ddc2732738a0fafab0242
7
- data.tar.gz: f156efe1cd68bb5fc4fb20f8c8c903a2aae6d5ad6631282d5c70b97eebc25316dad014541edca4c5a3d2a5c088f85680804e9ac7a43c69d087b72ec156ca34b6
6
+ metadata.gz: b8d503428ba2275d40f25e8a4689042efd51b0d9f928be91e5d5bf3be4c79729fd75633d0e4ba35d6b76956e728027a5decc29b91f15f4dac1dd0bc3a44e2454
7
+ data.tar.gz: 0139d0174cf49ff9ada12b85b5701379aea071a1c28ecd473a6f74f2858b68aa0fbd77cd7c965f0b4def1dc438328adda54869519d42928f87103a74c3d6f14c
data/.gitignore CHANGED
@@ -13,3 +13,4 @@
13
13
  *.a
14
14
  mkmf.log
15
15
  .idea
16
+ *.gem
@@ -18,7 +18,7 @@ module Mybatis
18
18
  file.puts
19
19
  file.puts "<mapper namespace=\"#{self.get_class_path context}Mapper\">"
20
20
  file.puts " <resultMap id=\"BaseResultMap\" type=\"#{self.get_class_path context}\" >"
21
- context.attributes.each_with_index do |attr,index|
21
+ context.attributes.each_with_index do |attr|
22
22
  file.puts " <result column=\"#{attr.column_name}\" property=\"#{attr.field_name}\" />"
23
23
  end
24
24
  file.puts " </resultMap>"
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Mybatis
4
- VERSION = "0.0.3"
4
+ VERSION = "0.0.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mybatis-cli
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
  - tong