cts-mpx 1.0.2 → 1.0.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: '093703b1860e83e394cabc1a41265df8f68aaae1'
4
- data.tar.gz: 7015a35fe53ed1ee309e3091ab25dcdd4da757c3
3
+ metadata.gz: 73f7461b875dc5f0aca3c72e969e27ad55aa0ba4
4
+ data.tar.gz: 7b246e09cb06aa3b55d03e38ae252c65186b8e86
5
5
  SHA512:
6
- metadata.gz: 25e01f7ffa9ec6df19006c2a387dc80186f53556595939ef04fe609feddd6d5d193508e242cb8e96537bf8d4c7d438a817dc861f8bc3fd03620517d21a7b7534
7
- data.tar.gz: 5738666bc5198383797fcc9db6bc6a116a2e7a5c8bf8310e749bbe0f7cef2b2b6e15ceea96546711009d6f59a9f56f28d388f679f19f96b1dd659c75ec032b80
6
+ metadata.gz: ed2b7cb38cde63fefdc304529a621950db81e3f1bd57cb345f603bb840585b7d2c34b203f7062e8104ca2887838ff7009f1b7a4d019e05a5f541decf47461d55
7
+ data.tar.gz: 7a06927b1918e397f76df770c47ceeebf701d77a578f4096590ea625d86cb6672f39179642753a7ad479c324b6fc8825172ea9a672ed3cce46536413a96ba5f7
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+
5
+ ---
6
+
7
+ **Describe the bug**
8
+ A clear and concise description of what the bug is.
9
+
10
+ **To Reproduce**
11
+ Steps to reproduce the behavior:
12
+ 1. Go to '...'
13
+ 2. Click on '....'
14
+ 3. Scroll down to '....'
15
+ 4. See error
16
+
17
+ **Expected behavior**
18
+ A clear and concise description of what you expected to happen.
19
+
20
+ **Screenshots**
21
+ If applicable, add screenshots to help explain your problem.
22
+
23
+ **Desktop (please complete the following information):**
24
+ - OS: [e.g. iOS]
25
+ - Browser [e.g. chrome, safari]
26
+ - Version [e.g. 22]
27
+
28
+ **Smartphone (please complete the following information):**
29
+ - Device: [e.g. iPhone6]
30
+ - OS: [e.g. iOS8.1]
31
+ - Browser [e.g. stock browser, safari]
32
+ - Version [e.g. 22]
33
+
34
+ **Additional context**
35
+ Add any other context about the problem here.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+
5
+ ---
6
+
7
+ **Is your feature request related to a problem? Please describe.**
8
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9
+
10
+ **Describe the solution you'd like**
11
+ A clear and concise description of what you want to happen.
12
+
13
+ **Describe alternatives you've considered**
14
+ A clear and concise description of any alternative solutions or features you've considered.
15
+
16
+ **Additional context**
17
+ Add any other context or screenshots about the feature request here.
@@ -20,8 +20,9 @@ module Cts
20
20
 
21
21
  def to_mpx_entries
22
22
  c = @entries.map do |e|
23
- r = Entry.new
24
- r.fields = Fields.create_from_data(data: e, xmlns: xmlns)
23
+ new_entry = Entry.create(fields: Fields.create_from_data(data: e, xmlns: xmlns))
24
+ new_entry.id = new_entry.fields['id']
25
+ new_entry
25
26
  end
26
27
 
27
28
  e = Entries.create collection: c
@@ -1,6 +1,6 @@
1
1
  module Cts
2
2
  module Mpx
3
3
  # @return [String] frozen string of the version of Cts::Mpx
4
- VERSION = "1.0.2".freeze
4
+ VERSION = "1.0.3".freeze
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cts-mpx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernie Brodeur
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-01 00:00:00.000000000 Z
11
+ date: 2018-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: creatable
@@ -339,6 +339,8 @@ executables: []
339
339
  extensions: []
340
340
  extra_rdoc_files: []
341
341
  files:
342
+ - ".github/ISSUE_TEMPLATE/bug_report.md"
343
+ - ".github/ISSUE_TEMPLATE/feature_request.md"
342
344
  - ".gitignore"
343
345
  - ".rspec"
344
346
  - ".rubocop.yml"