shayancalculatortest 1.0.0 → 1.0.3

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -12
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 339f99e252ec493f9fbd4cd7d430413557751414565c560d55055d4c38b01db7
4
- data.tar.gz: e8c431be519a7d423436919ae9723e1dff2888f2d4e36c6f375e2a782687c035
3
+ metadata.gz: c5fca7ec19807316ea593c8e71d8ed549929bd772ef014504c1ab0ea40663a19
4
+ data.tar.gz: 8b1eb75f15ced02d08eadd9cf396a032a2d7d9f780907026232e95801222c4b7
5
5
  SHA512:
6
- metadata.gz: a3aed55235d5f8880d5d716ed3c7932711a09524c90c9379165ae51cae2ae14f66b495f57c36e540f640b2abe555ac16d7974be7575fa1d91be7929e10775f59
7
- data.tar.gz: 2168e0bad319aa29fd3ebe5c8baa333f580e995305601f4c509b1b0bee9e238ed3f1aefd60386c64d907ac7649a035ce1b046d0f835e31c4f2d3853752c19244
6
+ metadata.gz: c64d15039af5ed8866cbf6190ce5e290be7f06f232bd725996a81e6977666adeb32539fa28b29d3064f28b4a1a4f69d056811633ffb9f07c97f4d81e7e4294e8
7
+ data.tar.gz: e7043ee13a905e57099677f09d19d4333a7ec605d569860b71c8914a0794a66f7568696ed3b228855d40b007410a83b06acc6fc01aeb76bc4f6bb0b72af4f925
data/README.md CHANGED
@@ -8,9 +8,9 @@ This client library is a Ruby gem which can be compiled and used in your Ruby an
8
8
 
9
9
  1. Open the command line interface or the terminal and navigate to the folder containing the source code.
10
10
  2. Run ``` gem build shayancalculatortest.gemspec ``` to build the gem.
11
- 3. Once built, the gem can be installed on the current work environment using ``` gem install shayancalculatortest-1.0.0.gem ```
11
+ 3. Once built, the gem can be installed on the current work environment using ``` gem install shayancalculatortest-1.0.3.gem ```
12
12
 
13
- ![Building Gem](https://apidocs.io/illustration/ruby?step=buildSDK&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=APIMATIC%20Calculator-Ruby&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.0)
13
+ ![Building Gem](https://apidocs.io/illustration/ruby?step=buildSDK&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=APIMATIC%20Calculator-Ruby&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.3)
14
14
 
15
15
  ## How to Use
16
16
 
@@ -20,41 +20,41 @@ The following section explains how to use the Shayancalculatortest Ruby Gem in a
20
20
 
21
21
  Close any existing projects in RubyMine™ by selecting ``` File -> Close Project ```. Next, click on ``` Create New Project ``` to create a new project from scratch.
22
22
 
23
- ![Create a new project in RubyMine](https://apidocs.io/illustration/ruby?step=createNewProject0&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.0)
23
+ ![Create a new project in RubyMine](https://apidocs.io/illustration/ruby?step=createNewProject0&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.3)
24
24
 
25
25
  Next, provide ``` TestApp ``` as the project name, choose ``` Rails Application ``` as the project type, and click ``` OK ```.
26
26
 
27
- ![Create a new Rails Application in RubyMine - step 1](https://apidocs.io/illustration/ruby?step=createNewProject1&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.0)
27
+ ![Create a new Rails Application in RubyMine - step 1](https://apidocs.io/illustration/ruby?step=createNewProject1&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.3)
28
28
 
29
29
  In the next dialog make sure that correct *Ruby SDK* is being used (minimum 2.0.0) and click ``` OK ```.
30
30
 
31
- ![Create a new Rails Application in RubyMine - step 2](https://apidocs.io/illustration/ruby?step=createNewProject2&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.0)
31
+ ![Create a new Rails Application in RubyMine - step 2](https://apidocs.io/illustration/ruby?step=createNewProject2&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.3)
32
32
 
33
33
  This will create a new Rails Application project with an existing set of files and folder.
34
34
 
35
35
  ### 2. Add reference of the gem
36
36
 
37
- In order to use the Shayancalculatortest gem in the new project we must add a gem reference. Locate the ```Gemfile``` in the *Project Explorer* window under the ``` TestApp ``` project node. The file contains references to all gems being used in the project. Here, add the reference to the library gem by adding the following line: ``` gem 'shayancalculatortest', '~> 1.0.0' ```
37
+ In order to use the Shayancalculatortest gem in the new project we must add a gem reference. Locate the ```Gemfile``` in the *Project Explorer* window under the ``` TestApp ``` project node. The file contains references to all gems being used in the project. Here, add the reference to the library gem by adding the following line: ``` gem 'shayancalculatortest', '~> 1.0.3' ```
38
38
 
39
- ![Add references of the Gemfile](https://apidocs.io/illustration/ruby?step=addReference&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.0)
39
+ ![Add references of the Gemfile](https://apidocs.io/illustration/ruby?step=addReference&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.3)
40
40
 
41
41
  ### 3. Adding a new Rails Controller
42
42
 
43
43
  Once the ``` TestApp ``` project is created, a folder named ``` controllers ``` will be visible in the *Project Explorer* under the following path: ``` TestApp > app > controllers ```. Right click on this folder and select ``` New -> Run Rails Generator... ```.
44
44
 
45
- ![Run Rails Generator on Controllers Folder](https://apidocs.io/illustration/ruby?step=addCode0&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.0)
45
+ ![Run Rails Generator on Controllers Folder](https://apidocs.io/illustration/ruby?step=addCode0&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.3)
46
46
 
47
47
  Selecting the said option will popup a small window where the generator names are displayed. Here, select the ``` controller ``` template.
48
48
 
49
- ![Create a new Controller](https://apidocs.io/illustration/ruby?step=addCode1&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.0)
49
+ ![Create a new Controller](https://apidocs.io/illustration/ruby?step=addCode1&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.3)
50
50
 
51
51
  Next, a popup window will ask you for a Controller name and included Actions. For controller name provide ``` Hello ``` and include an action named ``` Index ``` and click ``` OK ```.
52
52
 
53
- ![Add a new Controller](https://apidocs.io/illustration/ruby?step=addCode2&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.0)
53
+ ![Add a new Controller](https://apidocs.io/illustration/ruby?step=addCode2&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.3)
54
54
 
55
55
  A new controller class anmed ``` HelloController ``` will be created in a file named ``` hello_controller.rb ``` containing a method named ``` Index ```. In this method, add code for initialization and a sample for its usage.
56
56
 
57
- ![Initialize the library](https://apidocs.io/illustration/ruby?step=addCode3&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.0)
57
+ ![Initialize the library](https://apidocs.io/illustration/ruby?step=addCode3&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.3)
58
58
 
59
59
  ## How to Test
60
60
 
@@ -77,7 +77,7 @@ client = Shayancalculatortest::ShayancalculatortestClient.new
77
77
 
78
78
  The added initlization code can be debugged by putting a breakpoint in the ``` Index ``` method and running the project in debug mode by selecting ``` Run -> Debug 'Development: TestApp' ```.
79
79
 
80
- ![Debug the TestApp](https://apidocs.io/illustration/ruby?step=addCode4&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.0&initLine=client%2520%253D%2520ShayancalculatortestClient.new)
80
+ ![Debug the TestApp](https://apidocs.io/illustration/ruby?step=addCode4&workspaceFolder=APIMATIC%20Calculator-Ruby&workspaceName=Shayancalculatortest&projectName=shayancalculatortest&gemName=shayancalculatortest&gemVer=1.0.3&initLine=client%2520%253D%2520ShayancalculatortestClient.new)
81
81
 
82
82
 
83
83
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shayancalculatortest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - APIMatic SDK Generator