nse1 1.0.2 → 1.1.2

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.
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Nse1
2
2
 
3
- TODO: Write a gem description
3
+ A Ruby gem for equity stock data from www.nseindia.com. Originally developed for www.tradeoo.in
4
+ visit --> https://github.com/ankitagarwal248/NSE1
4
5
 
5
6
  ## Installation
6
7
 
@@ -18,7 +19,25 @@ Or install it yourself as:
18
19
 
19
20
  ## Usage
20
21
 
21
- TODO: Write usage instructions here
22
+ Nse1::Stock.nifty
23
+ Nse1::Stock.list
24
+
25
+ a = Nse1::Stock.new("COX&KINGS")
26
+
27
+ a.symbol
28
+ a.last
29
+ a.sector
30
+ a.fullname
31
+ a.lastUpdateTime
32
+ a.change
33
+ a.volume
34
+ a.openPrice
35
+ a.low52
36
+ a.previousClose
37
+ a.high52
38
+ a.dayHigh
39
+ a.dayLow
40
+ a.fulljson
22
41
 
23
42
  ## Contributing
24
43
 
@@ -29,6 +48,3 @@ TODO: Write usage instructions here
29
48
  5. Create new Pull Request
30
49
 
31
50
 
32
- remote is "nsegem"
33
- git remote add nsegem https://github.com/ankitagarwal248/NSE1.git
34
- git push -u nsegem master
@@ -1,3 +1,3 @@
1
1
  module Nse1
2
- VERSION = "1.0.2"
2
+ VERSION = "1.1.2"
3
3
  end
@@ -2,7 +2,7 @@ remote is "nsegem"
2
2
  git remote add nsegem https://github.com/ankitagarwal248/NSE1.git
3
3
  git push -u nsegem master
4
4
 
5
-
5
+ ------------------------------------------------
6
6
 
7
7
  # bundle gem lorem ------> to create new gem
8
8
  # When it’s time to update our gem to a new version we can change the version number(/lib/lorem/version.rb) and republish the gem.
@@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Nse1::VERSION
9
9
  spec.authors = ["Ankit Agarwal"]
10
10
  spec.email = ["ankitagarwal24.8@gmail.com"]
11
- spec.description = %q{NSE (National Stock Exchange of India) equity stock data from www.nseindia.com}
12
- spec.summary = %q{NSE (National Stock Exchange of India) equity stock data from www.nseindia.com}
13
- spec.homepage = "http://tradeoo.in"
11
+ spec.description = %q{NSE (National Stock Exchange of India) equity stock data from www.nseindia.com. Originally developed for www.tradeoo.in}
12
+ spec.summary = %q{NSE (National Stock Exchange of India) equity stock data from www.nseindia.com. Originally developed for www.tradeoo.in}
13
+ spec.homepage = "https://github.com/ankitagarwal248/NSE1"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nse1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -75,7 +75,8 @@ dependencies:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
- description: NSE (National Stock Exchange of India) equity stock data from www.nseindia.com
78
+ description: NSE (National Stock Exchange of India) equity stock data from www.nseindia.com.
79
+ Originally developed for www.tradeoo.in
79
80
  email:
80
81
  - ankitagarwal24.8@gmail.com
81
82
  executables: []
@@ -98,7 +99,7 @@ files:
98
99
  - lib/randomcode/sector.rb
99
100
  - lib/randomcode/stocks.csv
100
101
  - nse1.gemspec
101
- homepage: http://tradeoo.in
102
+ homepage: https://github.com/ankitagarwal248/NSE1
102
103
  licenses:
103
104
  - MIT
104
105
  post_install_message:
@@ -122,5 +123,6 @@ rubyforge_project:
122
123
  rubygems_version: 1.8.24
123
124
  signing_key:
124
125
  specification_version: 3
125
- summary: NSE (National Stock Exchange of India) equity stock data from www.nseindia.com
126
+ summary: NSE (National Stock Exchange of India) equity stock data from www.nseindia.com.
127
+ Originally developed for www.tradeoo.in
126
128
  test_files: []