enop 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/enop.gemspec +7 -4
- data/exe/enop +5 -0
- data/lib/enop/dbutil/enopmgr.rb +5 -1
- data/lib/enop/enop.rb +3 -1
- data/lib/enop/version.rb +1 -1
- metadata +15 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a84a2dfe77dafeaa8def53f2356281d32b535cb2
|
4
|
+
data.tar.gz: ec9f9b701a73f4c2e892e9275b25c1fdc54af33c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5f124252ad73bfd20d9a868c87b9cfdaf889ab8c2bfaa158be56ce203a0d75d0964524de4ab2e58815737a15033fe6efd245884d995d458d32e10b3abd00be3
|
7
|
+
data.tar.gz: a5f3c3996358815adef8d71619e79755ce32d273e0e8868d9b68a2cd0ce06527573e0175e7735d6f40027f12f37b21cc1349b4b71fea859d8d05a07b2df539c7
|
data/Gemfile
CHANGED
data/enop.gemspec
CHANGED
@@ -9,9 +9,10 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["yasuo kominami"]
|
10
10
|
spec.email = ["ykominami@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary = %q{
|
13
|
-
spec.description = %q{
|
12
|
+
spec.summary = %q{abc.}
|
13
|
+
spec.description = %q{def.}
|
14
14
|
spec.homepage = ""
|
15
|
+
spec.license = "MIT"
|
15
16
|
|
16
17
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
17
18
|
# delete this section to allow pushing this gem to any host.
|
@@ -38,7 +39,9 @@ Gem::Specification.new do |spec|
|
|
38
39
|
|
39
40
|
spec.add_runtime_dependency "arxutils"
|
40
41
|
|
41
|
-
spec.add_development_dependency "bundler", "~> 1.10"
|
42
|
-
spec.add_development_dependency "
|
42
|
+
# spec.add_development_dependency "bundler", "~> 1.10"
|
43
|
+
spec.add_development_dependency "bundler"
|
44
|
+
# spec.add_development_dependency "rake", "~> 10.0"
|
45
|
+
spec.add_development_dependency "rake"
|
43
46
|
spec.add_development_dependency "rspec"
|
44
47
|
end
|
data/exe/enop
CHANGED
@@ -8,11 +8,16 @@ dbconfig = Arxutils::Dbutil::DBCONFIG_SQLITE3
|
|
8
8
|
|
9
9
|
token = ARGV[0]
|
10
10
|
url = ARGV[1] if ARGV.size > 10
|
11
|
+
env = ENV['ENV']
|
12
|
+
#env ||= "development"
|
13
|
+
env ||= "production"
|
14
|
+
|
11
15
|
hs = {
|
12
16
|
"db_dir" => Arxutils::Dbutil::DB_DIR,
|
13
17
|
"migrate_dir" => Arxutils::Dbutil::MIGRATE_DIR,
|
14
18
|
"config_dir" => Arxutils::Dbutil::CONFIG_DIR,
|
15
19
|
"dbconfig" => dbconfig,
|
20
|
+
"env" => env,
|
16
21
|
"log_fname" => Arxutils::Dbutil::DATABASELOG,
|
17
22
|
}
|
18
23
|
|
data/lib/enop/dbutil/enopmgr.rb
CHANGED
data/lib/enop/enop.rb
CHANGED
@@ -124,7 +124,9 @@ module Enop
|
|
124
124
|
# CSVファイルへ追加(自動的に出力)
|
125
125
|
register_notebook( nbinfo.stack , nbinfo )
|
126
126
|
# dbへの登録
|
127
|
-
|
127
|
+
count = nbinfo.count
|
128
|
+
count ||= 0
|
129
|
+
db_add( nbinfo.stack , nbinfo.name , count , nbinfo.tags.size )
|
128
130
|
|
129
131
|
# p notebook
|
130
132
|
memo[:defaultNotebook] = nbinfo if nbinfo.defaultNotebook
|
data/lib/enop/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yasuo kominami
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evernote_oauth
|
@@ -70,30 +70,30 @@ dependencies:
|
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
-
description:
|
111
|
+
description: def.
|
112
112
|
email:
|
113
113
|
- ykominami@gmail.com
|
114
114
|
executables:
|
@@ -136,7 +136,8 @@ files:
|
|
136
136
|
- lib/enop/version.rb
|
137
137
|
- lib/evernote_config.rb
|
138
138
|
homepage: ''
|
139
|
-
licenses:
|
139
|
+
licenses:
|
140
|
+
- MIT
|
140
141
|
metadata: {}
|
141
142
|
post_install_message:
|
142
143
|
rdoc_options: []
|
@@ -154,8 +155,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
155
|
version: '0'
|
155
156
|
requirements: []
|
156
157
|
rubyforge_project:
|
157
|
-
rubygems_version: 2.
|
158
|
+
rubygems_version: 2.5.2
|
158
159
|
signing_key:
|
159
160
|
specification_version: 4
|
160
|
-
summary:
|
161
|
+
summary: abc.
|
161
162
|
test_files: []
|