web_git 0.0.3 → 0.0.4

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
  SHA256:
3
- metadata.gz: 2c5bfa1659ff7288b47ee5a359442da83f7d287d870b6835e0ab866e6da29398
4
- data.tar.gz: dc3894d6d033944e3c87164e703805d2be7a097a738a231a2265e96b1b59f9ad
3
+ metadata.gz: '09cf35d48d6e94108eeb74ad251d935c3fe1f5e3eafac0456d91785f01c1f1f3'
4
+ data.tar.gz: 90c36850cdece9f97ea4d05ae4c6f1941b4a0152e2a25f24141e3ba994625412
5
5
  SHA512:
6
- metadata.gz: c745137eee762be97fe2f5494ec0423bfbf7b61fbafe6c31affef0fd9b788376e9d7f98553c17efadce79b8588c541ad4108d2c747af6480db5b9ed39689f30a
7
- data.tar.gz: b284391effc03a970b70d93ec007119c54b6508833eecf0fbbfd1100fd4f9ca852e97a744dec559e2ef49092e689fc1380c86d0dc8a41f51dfe23861bf9b5077
6
+ metadata.gz: ca0177255ea588700af60733decd1046ae34a17423c0cab82a65388613f4676f3dd639390b1f0536a918f0bf71ab64c0f5dfd306ff2dbe07b962b8f73017ecf6
7
+ data.tar.gz: 37114fdf1558caa2659bc9d8dfa8159be5cfbbfac34461a13a1b22ab2a2420cfd29ed3766dc10a0dd9aec2e9062a84482936d98ec19c12702d2a4eed95499bb9
data/Gemfile CHANGED
@@ -8,7 +8,7 @@ source "https://rubygems.org"
8
8
  group :development do
9
9
  gem "rspec", "~> 3.5.0"
10
10
  gem "rdoc", "~> 3.12"
11
- gem "bundler", "~> 1.0"
11
+ # gem "bundler", "~> 1.0"
12
12
  gem "juwelier", "~> 2.1.0"
13
13
  gem "simplecov", ">= 0"
14
14
  gem "pry", "~> 0"
@@ -32,3 +32,5 @@ gem "turbolinks", "~> 5"
32
32
  gem "jquery-rails"
33
33
 
34
34
  gem "git_clone_url"
35
+
36
+ gem "yard", ">= 0.9.20"
@@ -1,43 +1,43 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- actioncable (5.2.2.1)
5
- actionpack (= 5.2.2.1)
4
+ actioncable (5.2.3)
5
+ actionpack (= 5.2.3)
6
6
  nio4r (~> 2.0)
7
7
  websocket-driver (>= 0.6.1)
8
- actionmailer (5.2.2.1)
9
- actionpack (= 5.2.2.1)
10
- actionview (= 5.2.2.1)
11
- activejob (= 5.2.2.1)
8
+ actionmailer (5.2.3)
9
+ actionpack (= 5.2.3)
10
+ actionview (= 5.2.3)
11
+ activejob (= 5.2.3)
12
12
  mail (~> 2.5, >= 2.5.4)
13
13
  rails-dom-testing (~> 2.0)
14
- actionpack (5.2.2.1)
15
- actionview (= 5.2.2.1)
16
- activesupport (= 5.2.2.1)
14
+ actionpack (5.2.3)
15
+ actionview (= 5.2.3)
16
+ activesupport (= 5.2.3)
17
17
  rack (~> 2.0)
18
18
  rack-test (>= 0.6.3)
19
19
  rails-dom-testing (~> 2.0)
20
20
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
21
- actionview (5.2.2.1)
22
- activesupport (= 5.2.2.1)
21
+ actionview (5.2.3)
22
+ activesupport (= 5.2.3)
23
23
  builder (~> 3.1)
24
24
  erubi (~> 1.4)
25
25
  rails-dom-testing (~> 2.0)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
27
- activejob (5.2.2.1)
28
- activesupport (= 5.2.2.1)
27
+ activejob (5.2.3)
28
+ activesupport (= 5.2.3)
29
29
  globalid (>= 0.3.6)
30
- activemodel (5.2.2.1)
31
- activesupport (= 5.2.2.1)
32
- activerecord (5.2.2.1)
33
- activemodel (= 5.2.2.1)
34
- activesupport (= 5.2.2.1)
30
+ activemodel (5.2.3)
31
+ activesupport (= 5.2.3)
32
+ activerecord (5.2.3)
33
+ activemodel (= 5.2.3)
34
+ activesupport (= 5.2.3)
35
35
  arel (>= 9.0)
36
- activestorage (5.2.2.1)
37
- actionpack (= 5.2.2.1)
38
- activerecord (= 5.2.2.1)
36
+ activestorage (5.2.3)
37
+ actionpack (= 5.2.3)
38
+ activerecord (= 5.2.3)
39
39
  marcel (~> 0.3.1)
40
- activesupport (5.2.2.1)
40
+ activesupport (5.2.3)
41
41
  concurrent-ruby (~> 1.0, >= 1.0.2)
42
42
  i18n (>= 0.7, < 2)
43
43
  minitest (~> 5.1)
@@ -57,7 +57,7 @@ GEM
57
57
  thread_safe (~> 0.3, >= 0.3.1)
58
58
  diff-lcs (1.3)
59
59
  diffy (3.3.0)
60
- docile (1.3.1)
60
+ docile (1.3.2)
61
61
  erubi (1.8.0)
62
62
  faraday (0.15.4)
63
63
  multipart-post (>= 1.2, < 3)
@@ -73,11 +73,11 @@ GEM
73
73
  globalid (0.4.2)
74
74
  activesupport (>= 4.2.0)
75
75
  hashie (3.6.0)
76
- highline (2.0.1)
76
+ highline (2.0.2)
77
77
  i18n (1.6.0)
78
78
  concurrent-ruby (~> 1.0)
79
79
  interception (0.5)
80
- jquery-rails (4.3.3)
80
+ jquery-rails (4.3.5)
81
81
  rails-dom-testing (>= 1, < 3)
82
82
  railties (>= 4.2.0)
83
83
  thor (>= 0.14, < 2.0)
@@ -92,7 +92,7 @@ GEM
92
92
  rake
93
93
  rdoc
94
94
  semver
95
- jwt (2.1.0)
95
+ jwt (2.2.1)
96
96
  loofah (2.2.3)
97
97
  crass (~> 1.0.2)
98
98
  nokogiri (>= 1.5.9)
@@ -102,14 +102,14 @@ GEM
102
102
  mimemagic (~> 0.3.2)
103
103
  method_source (0.9.2)
104
104
  mimemagic (0.3.3)
105
- mini_mime (1.0.1)
105
+ mini_mime (1.0.2)
106
106
  mini_portile2 (2.4.0)
107
107
  minitest (5.11.3)
108
108
  multi_json (1.13.1)
109
109
  multi_xml (0.6.0)
110
- multipart-post (2.0.0)
111
- nio4r (2.3.1)
112
- nokogiri (1.10.2)
110
+ multipart-post (2.1.1)
111
+ nio4r (2.4.0)
112
+ nokogiri (1.10.3)
113
113
  mini_portile2 (~> 2.4.0)
114
114
  oauth2 (1.4.1)
115
115
  faraday (>= 0.8, < 0.16.0)
@@ -117,10 +117,10 @@ GEM
117
117
  multi_json (~> 1.3)
118
118
  multi_xml (~> 0.5)
119
119
  rack (>= 1.2, < 3)
120
- octicons (8.5.0)
120
+ octicons (9.1.1)
121
121
  nokogiri (>= 1.6.3.1)
122
- octicons_helper (8.5.0)
123
- octicons (= 8.5.0)
122
+ octicons_helper (9.1.1)
123
+ octicons (= 9.1.1)
124
124
  rails
125
125
  pry (0.12.2)
126
126
  coderay (~> 1.1.0)
@@ -140,31 +140,31 @@ GEM
140
140
  pry-stack_explorer (0.4.9.3)
141
141
  binding_of_caller (>= 0.7)
142
142
  pry (>= 0.9.11)
143
- public_suffix (3.0.3)
144
- rack (2.0.6)
143
+ public_suffix (3.1.1)
144
+ rack (2.0.7)
145
145
  rack-test (1.1.0)
146
146
  rack (>= 1.0, < 3)
147
- rails (5.2.2.1)
148
- actioncable (= 5.2.2.1)
149
- actionmailer (= 5.2.2.1)
150
- actionpack (= 5.2.2.1)
151
- actionview (= 5.2.2.1)
152
- activejob (= 5.2.2.1)
153
- activemodel (= 5.2.2.1)
154
- activerecord (= 5.2.2.1)
155
- activestorage (= 5.2.2.1)
156
- activesupport (= 5.2.2.1)
147
+ rails (5.2.3)
148
+ actioncable (= 5.2.3)
149
+ actionmailer (= 5.2.3)
150
+ actionpack (= 5.2.3)
151
+ actionview (= 5.2.3)
152
+ activejob (= 5.2.3)
153
+ activemodel (= 5.2.3)
154
+ activerecord (= 5.2.3)
155
+ activestorage (= 5.2.3)
156
+ activesupport (= 5.2.3)
157
157
  bundler (>= 1.3.0)
158
- railties (= 5.2.2.1)
158
+ railties (= 5.2.3)
159
159
  sprockets-rails (>= 2.0.0)
160
160
  rails-dom-testing (2.0.3)
161
161
  activesupport (>= 4.2.0)
162
162
  nokogiri (>= 1.6)
163
163
  rails-html-sanitizer (1.0.4)
164
164
  loofah (~> 2.2, >= 2.2.2)
165
- railties (5.2.2.1)
166
- actionpack (= 5.2.2.1)
167
- activesupport (= 5.2.2.1)
165
+ railties (5.2.3)
166
+ actionpack (= 5.2.3)
167
+ activesupport (= 5.2.3)
168
168
  method_source
169
169
  rake (>= 0.8.7)
170
170
  thor (>= 0.19.0, < 2.0)
@@ -185,7 +185,7 @@ GEM
185
185
  rspec-support (~> 3.5.0)
186
186
  rspec-support (3.5.0)
187
187
  semver (1.0.1)
188
- simplecov (0.16.1)
188
+ simplecov (0.17.0)
189
189
  docile (~> 1.1)
190
190
  json (>= 1.8, < 3)
191
191
  simplecov-html (~> 0.10.0)
@@ -208,16 +208,15 @@ GEM
208
208
  tzinfo (1.2.5)
209
209
  thread_safe (~> 0.1)
210
210
  uri-ssh_git (2.0.0)
211
- websocket-driver (0.7.0)
211
+ websocket-driver (0.7.1)
212
212
  websocket-extensions (>= 0.1.0)
213
- websocket-extensions (0.1.3)
214
- yard (0.9.18)
213
+ websocket-extensions (0.1.4)
214
+ yard (0.9.20)
215
215
 
216
216
  PLATFORMS
217
217
  ruby
218
218
 
219
219
  DEPENDENCIES
220
- bundler (~> 1.0)
221
220
  diffy
222
221
  git_clone_url
223
222
  jquery-rails
@@ -235,6 +234,7 @@ DEPENDENCIES
235
234
  tether-rails
236
235
  turbolinks (~> 5)
237
236
  tzinfo-data
237
+ yard (>= 0.9.20)
238
238
 
239
239
  BUNDLED WITH
240
- 1.17.2
240
+ 2.0.2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -4,8 +4,12 @@ module WebGit
4
4
 
5
5
  def status
6
6
  Dir.chdir(Rails.root) do
7
+
8
+ unless Dir.exist?(".git")
9
+ puts "Initialize a git repository"
10
+ `git init`
11
+ end
7
12
  @status = `git status`
8
-
9
13
  @current_branch = `git symbolic-ref --short HEAD`.chomp
10
14
 
11
15
  @origin_url = nil
@@ -44,9 +44,8 @@
44
44
  <%= form_tag commits_url do %>
45
45
  <div class="form-group">
46
46
  <%= label_tag :title %>
47
- <%= text_field_tag :title, nil, placeholder: "Enter a title for your commit (required)...", class: "form-control", required: true, autofocus: true %>
47
+ <%= text_field_tag :title, nil, placeholder: "Enter a title for your commit (required)...", class: "form-control", required: true, autofocus: true, input_html: {autocomplete: 'off'} %>
48
48
  </div>
49
-
50
49
  <div class="form-group">
51
50
  <%= label_tag :description %>
52
51
  <%= text_area_tag :description, nil, placeholder: "Enter a longer description of your changes (optional)...", class: "form-control" %>
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: web_git 0.0.2.3 ruby lib
5
+ # stub: web_git 0.0.4 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "web_git".freeze
9
- s.version = "0.0.2.3"
9
+ s.version = "0.0.4"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Raghu Betina".freeze, "Jelani Woods".freeze]
14
- s.date = "2019-07-11"
14
+ s.date = "2019-08-27"
15
15
  s.description = "WebGit is a Rails Engine that provides an in-browser visual interface to a simple but effective Git workflow. For educational purposes.".freeze
16
16
  s.email = "raghu@firstdraft.com".freeze
17
17
  s.extra_rdoc_files = [
@@ -51,7 +51,7 @@ Gem::Specification.new do |s|
51
51
  ]
52
52
  s.homepage = "http://github.com/firstdraft/web_git".freeze
53
53
  s.licenses = ["MIT".freeze]
54
- s.rubygems_version = "2.7.8".freeze
54
+ s.rubygems_version = "3.0.3".freeze
55
55
  s.summary = "An in-browser Git GUI for your Rails project".freeze
56
56
 
57
57
  if s.respond_to? :specification_version then
@@ -65,9 +65,9 @@ Gem::Specification.new do |s|
65
65
  s.add_runtime_dependency(%q<turbolinks>.freeze, ["~> 5"])
66
66
  s.add_runtime_dependency(%q<jquery-rails>.freeze, [">= 0"])
67
67
  s.add_runtime_dependency(%q<git_clone_url>.freeze, [">= 0"])
68
+ s.add_runtime_dependency(%q<yard>.freeze, [">= 0.9.20"])
68
69
  s.add_development_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
69
70
  s.add_development_dependency(%q<rdoc>.freeze, ["~> 3.12"])
70
- s.add_development_dependency(%q<bundler>.freeze, ["~> 1.0"])
71
71
  s.add_development_dependency(%q<juwelier>.freeze, ["~> 2.1.0"])
72
72
  s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
73
73
  s.add_development_dependency(%q<pry>.freeze, ["~> 0"])
@@ -84,9 +84,9 @@ Gem::Specification.new do |s|
84
84
  s.add_dependency(%q<turbolinks>.freeze, ["~> 5"])
85
85
  s.add_dependency(%q<jquery-rails>.freeze, [">= 0"])
86
86
  s.add_dependency(%q<git_clone_url>.freeze, [">= 0"])
87
+ s.add_dependency(%q<yard>.freeze, [">= 0.9.20"])
87
88
  s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
88
89
  s.add_dependency(%q<rdoc>.freeze, ["~> 3.12"])
89
- s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
90
90
  s.add_dependency(%q<juwelier>.freeze, ["~> 2.1.0"])
91
91
  s.add_dependency(%q<simplecov>.freeze, [">= 0"])
92
92
  s.add_dependency(%q<pry>.freeze, ["~> 0"])
@@ -104,9 +104,9 @@ Gem::Specification.new do |s|
104
104
  s.add_dependency(%q<turbolinks>.freeze, ["~> 5"])
105
105
  s.add_dependency(%q<jquery-rails>.freeze, [">= 0"])
106
106
  s.add_dependency(%q<git_clone_url>.freeze, [">= 0"])
107
+ s.add_dependency(%q<yard>.freeze, [">= 0.9.20"])
107
108
  s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
108
109
  s.add_dependency(%q<rdoc>.freeze, ["~> 3.12"])
109
- s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
110
110
  s.add_dependency(%q<juwelier>.freeze, ["~> 2.1.0"])
111
111
  s.add_dependency(%q<simplecov>.freeze, [">= 0"])
112
112
  s.add_dependency(%q<pry>.freeze, ["~> 0"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web_git
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
  - Raghu Betina
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-07-11 00:00:00.000000000 Z
12
+ date: 2019-08-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: diffy
@@ -110,47 +110,47 @@ dependencies:
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  - !ruby/object:Gem::Dependency
113
- name: rspec
113
+ name: yard
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - "~>"
116
+ - - ">="
117
117
  - !ruby/object:Gem::Version
118
- version: 3.5.0
119
- type: :development
118
+ version: 0.9.20
119
+ type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - "~>"
123
+ - - ">="
124
124
  - !ruby/object:Gem::Version
125
- version: 3.5.0
125
+ version: 0.9.20
126
126
  - !ruby/object:Gem::Dependency
127
- name: rdoc
127
+ name: rspec
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - "~>"
131
131
  - !ruby/object:Gem::Version
132
- version: '3.12'
132
+ version: 3.5.0
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '3.12'
139
+ version: 3.5.0
140
140
  - !ruby/object:Gem::Dependency
141
- name: bundler
141
+ name: rdoc
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: '1.0'
146
+ version: '3.12'
147
147
  type: :development
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - "~>"
152
152
  - !ruby/object:Gem::Version
153
- version: '1.0'
153
+ version: '3.12'
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: juwelier
156
156
  requirement: !ruby/object:Gem::Requirement